|
@@ -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
|