module Binance::Spot::Trade

def new_order_test(symbol:, side:, type:, **kwargs)

Other tags:
    See: https://developers.binance.com/docs/binance-spot-api-docs/rest-api/trading-endpoints#test-new-order-trade -

Options Hash: (**kwargs)
  • :recvWindow (Integer) -- The value cannot be greater than 60000
  • :newOrderRespType (String) -- Set the response JSON. ACK, RESULT, or FULL.
  • :icebergeQty (Float) --
  • :stopPrice (Float) --
  • :newClientOrderId (String) --
  • :price (Float) --
  • :quoteOrderQty (Float) --
  • :quantity (Float) --
  • :timeInForce (String) --

Parameters:
  • kwargs (Hash) --
  • type (String) --
  • side (String) --
  • symbol (String) -- the symbol
def new_order_test(symbol:, side:, type:, **kwargs)
  Binance::Utils::Validation.require_param('symbol', symbol)
  Binance::Utils::Validation.require_param('side', side)
  Binance::Utils::Validation.require_param('type', type)
  @session.sign_request(:post, '/api/v3/order/test', params: kwargs.merge(
    symbol: symbol,
    side: side,
    type: type
  ))
end