2
0

order_options.go 274 B

12345678910111213141516
  1. package sentio
  2. type OrderCreateOptions struct {
  3. Symbol string
  4. Action Action
  5. Limit *float64
  6. Size uint
  7. TakeProfit *float64
  8. StopLoss *float64
  9. }
  10. type OrderUpdateOptions struct {
  11. TakeProfit float64
  12. StopLoss float64
  13. EnableStopLoss bool
  14. }