mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-10 17:13:51 +00:00
fix: add ioc trade type to order type
This commit is contained in:
parent
18e4f4863a
commit
fd5433f8fe
|
@ -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