July 3, 2022 - by Themba Mahlangu - 1 min read
text
"""market string XRP-PERP e.g. "BTC/USD" for spot, "XRP-PERP" for futuresside string sell "buy" or "sell"price number 0.306525 Send null for market orders.type string limit "limit" or "market"size number 31431.0 reduceOnly boolean false optional; default is falseioc boolean false optional; default is falsepostOnly boolean false optional; default is falseclientId string null optional; client order idrejectOnPriceBand boolean false optional; if the order should be rejected if its price would instead be adjusted due to price bandsrejectAfterTs number null optional; if the order would be put into the placement queue after this timestamp, instead reject it. If it would be placed on the orderbook after the timestamp, then immediately close it instead (as if it were, for instance, a post-only order that would have taken) """
”“”market string XRP-PERP e.g. “BTC/USD” for spot, “XRP-PERP” for futuresside string sell “buy” or “sell”price number 0.306525 Send null for market orders.type string limit “limit” or “market”size number 31431.0 reduceOnly boolean false optional; default is falseioc boolean false optional; default is falsepostOnly boolean false optional; default is falseclientId string null optional; client order idrejectOnPriceBand boolean false optional; if the order should be rejected if its price would instead be adjusted due to price bandsrejectAfterTs number null optional; if the order would be put into the placement queue after this timestamp, instead reject it. If it would be placed on the orderbook after the timestamp, then immediately close it instead (as if it were, for instance, a post-only order that would have taken) “”“