2
0
Alexey Kim 5 сар өмнө
parent
commit
732fa9d02c
1 өөрчлөгдсөн 5 нэмэгдсэн , 1 устгасан
  1. 5 1
      order.go

+ 5 - 1
order.go

@@ -18,6 +18,8 @@ type Order interface {
 
 	// GetLegs an array of Order entities associated with this order
 	GetLegs() []Order
+	GetStopLoss() *Order
+	GetTakeProfit() *Order
 
 	GetSymbol() string
 	GetAction() OrderAction
@@ -27,7 +29,9 @@ type Order interface {
 	GetEntryPrice() float64
 	GetExitPrice() float64
 
-	GetStopLossPrice() *float64
+	GetLimitPrice() float64
+	GetStopPrice() float64
+
 	GetPnL() float64
 	GetCurrency() string
 	GetStatus() string