@@ -12,10 +12,10 @@ def __init__(self, api_key='-1', api_secret_key='-1', passphrase='-1', use_serve
1212
1313 # Place Order
1414 def place_order (self , instId , tdMode , side , ordType , sz , ccy = '' , clOrdId = '' , tag = '' , posSide = '' , px = '' ,
15- reduceOnly = '' , tgtCcy = '' , stpMode = '' , attachAlgoOrds = None , pxUsd = '' , pxVol = '' , banAmend = '' ):
15+ reduceOnly = '' , tgtCcy = '' , stpMode = '' , attachAlgoOrds = None , pxUsd = '' , pxVol = '' , banAmend = '' , tradeQuoteCcy = '' ):
1616 params = {'instId' : instId , 'tdMode' : tdMode , 'side' : side , 'ordType' : ordType , 'sz' : sz , 'ccy' : ccy ,
1717 'clOrdId' : clOrdId , 'tag' : tag , 'posSide' : posSide , 'px' : px , 'reduceOnly' : reduceOnly ,
18- 'tgtCcy' : tgtCcy , 'stpMode' : stpMode , 'pxUsd' : pxUsd , 'pxVol' : pxVol , 'banAmend' : banAmend }
18+ 'tgtCcy' : tgtCcy , 'stpMode' : stpMode , 'pxUsd' : pxUsd , 'pxVol' : pxVol , 'banAmend' : banAmend , 'tradeQuoteCcy' : tradeQuoteCcy }
1919 params ['attachAlgoOrds' ] = attachAlgoOrds
2020 return self ._request_with_params (POST , PLACR_ORDER , params )
2121
0 commit comments