- fix
@@ -104,7 +104,7 @@ func CloseAllOrders(m sentio.Market, s sentio.Strategy) error {
}
for i := range orders {
- if _, err = m.CloseOrder(orders[i].GetId()); err != nil {
+ if _, err = m.CloseOrder(orders[i]); err != nil {
return err