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:
bailantaotao 2024-01-18 14:39:07 +08:00 committed by GitHub
commit 1c0333bc21
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -63,5 +63,8 @@ type PlaceOrderRequest struct {
}
func (c *RestClient) NewPlaceOrderRequest() *PlaceOrderRequest {
return &PlaceOrderRequest{client: c}
return &PlaceOrderRequest{
client: c,
tradeMode: TradeModeCash,
}
}