12345678910111213141516171819202122232425262728293031 |
- 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
- // Legs an array of Order entities associated with this order
- Legs() []Order
- GetSymbol() string
- GetAction() OrderAction
- GetTimeInForce() TimeInForce
- GetSize() float64
- GetPrice() float64
- GetStopLossPrice() *float64
- GetPnL() float64
- GetCurrency() string
- GetStatus() string
- }
|