mirror of
https://github.com/d0zingcat/gocryptotrader.git
synced 2026-06-02 23:16:51 +00:00
* Fix bitmex order params * Fix insecure endpoint check * comment on Title funcs * tests for Title func * fix order_test Co-authored-by: Allie c( ⁰ 〰 ⁰ )੭ <88z@pm.me>
This commit is contained in:
@@ -437,10 +437,10 @@ func (b *Bitmex) SubmitOrder(s *order.Submit) (order.SubmitResponse, error) {
|
||||
}
|
||||
|
||||
var orderNewParams = OrderNewParams{
|
||||
OrderType: s.Side.String(),
|
||||
OrderType: s.Type.Title(),
|
||||
Symbol: s.Pair.String(),
|
||||
OrderQuantity: s.Amount,
|
||||
Side: s.Side.String(),
|
||||
Side: s.Side.Title(),
|
||||
}
|
||||
|
||||
if s.Type == order.Limit {
|
||||
|
||||
Reference in New Issue
Block a user