Skip to content

Commit

Permalink
Update trade.go
Browse files Browse the repository at this point in the history
  • Loading branch information
dirname committed May 8, 2021
1 parent a5527e1 commit a38d90f
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spot/client/trade.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ import (
"github.com/dirname/binance/spot/client/orderRespType"
"github.com/shopspring/decimal"
"net/http"
"runtime/debug"
"strings"
"time"
)
Expand Down Expand Up @@ -51,6 +52,7 @@ func (t *TradeClient) TestNewOrder(symbol, side, orderType, timeInForce, newClie
// NewOrder Send in a new order.
func (t *TradeClient) NewOrder(symbol, side, orderType, timeInForce, newClientOderID, newOrderRespType string, quantity, quoteOrderQTY, price, stopPrice, icebergQTY decimal.Decimal, recv time.Duration) (interface{}, error) {
var err error
debug.PrintStack()
params, err := buildOrder(symbol, side, orderType, timeInForce, newClientOderID, newOrderRespType, quantity, quoteOrderQTY, price, stopPrice, icebergQTY)
if err != nil {
return nil, err
Expand Down

0 comments on commit a38d90f

Please sign in to comment.