12345678910111213141516171819202122232425262728293031323334 |
- package sentio
- import "time"
- type Order interface {
- Market() string
- AccountId() string
- GetId() string
- GetCreatedAt() time.Time
- GetUpdatedAt() time.Time
- // HasReplacedBy The order ID that this order was replaced by
- HasReplacedBy() *string
- // HasReplaced The order ID that this order replaces
- HasReplaced() *string
- // GetLegs an array of Order entities associated with this order
- GetLegs() []Order
- GetSymbol() string
- GetAction() OrderAction
- GetTimeInForce() TimeInForce
- GetSize() float64
- GetEntryPrice() float64
- GetExitPrice() float64
- GetStopLossPrice() *float64
- GetPnL() float64
- GetCurrency() string
- GetStatus() string
- }
|