mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-25 16:25:16 +00:00
Merge pull request #1505 from c9s/edwin/okx/fix-bugs
FIX: [okx] add cash trade mode to place order param
This commit is contained in:
commit
1c0333bc21
|
@ -63,5 +63,8 @@ type PlaceOrderRequest struct {
|
|||
}
|
||||
|
||||
func (c *RestClient) NewPlaceOrderRequest() *PlaceOrderRequest {
|
||||
return &PlaceOrderRequest{client: c}
|
||||
return &PlaceOrderRequest{
|
||||
client: c,
|
||||
tradeMode: TradeModeCash,
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user