2
0

position.go 308 B

123456789101112
  1. package sentio
  2. type Position interface {
  3. // GetSize returns the total size of the position
  4. GetSize() float64
  5. // GetAvgPrice returns the average cost of each share in the position when purchased
  6. GetAvgPrice() float64
  7. // GetSymbol returns the ticker symbol of the traded contract
  8. GetSymbol() string
  9. }