mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-22 14:55:16 +00:00
Merge pull request #197 from c9s/feature/add-ioc-order-type-support-to-max
This commit is contained in:
commit
ceef007c21
|
@ -150,6 +150,9 @@ func toLocalOrderType(orderType types.OrderType) (max.OrderType, error) {
|
|||
|
||||
case types.OrderTypeMarket:
|
||||
return max.OrderTypeMarket, nil
|
||||
|
||||
case types.OrderTypeIOCLimit:
|
||||
return max.OrderTypeIOCLimit, nil
|
||||
}
|
||||
|
||||
return "", fmt.Errorf("order type %s not supported", orderType)
|
||||
|
|
Loading…
Reference in New Issue
Block a user