All Collections
ZEDCEX (API DOC)
SPOT API REFERENCE / 
open-api (Api Demo)
Place orders in batches and withdraw designated orders in batches - V2
Place orders in batches and withdraw designated orders in batches - V2

Open-api (Api Demo)

Online Support avatar
Written by Online Support
Updated over a week ago

Place orders in batches and withdraw designated orders in batches - V2

1.Interface address:/open/api/mass_replaceV2

2.Interface specification:(postrequest)Place orders in batches and withdraw designated orders in batches

mass_placeIt's a batch of limited price orders that need to be sent to the system, up to 1000 at a time

mass_cancelIt's a batch of orders that need to be withdrawn, up to 1000 at a time

paramaters

fill in type

explanation

api_key

must fill

api_key

time

must fill

Zaman damgası

sign

must fill

autograph

symbol

must fill

currency example btcusdt

mass_cancel

selective fill

[1234,234....] Withdrawal parameters,Orderid

mass_place

selective fill

[{side:"BUY",type:"1",volume:"0.01",price:"6400",fee_is_user_exchange_coin:"0"}, {}, …] Meaning: symbol:currency,example btcusdt mass_place:Order parameter。side:direction(Direction of businessBUY、SELL), --------------------------------type:type(1:limit order、2:market order) --------------------------------volume:Purchase quantity(Polysemy,Multiplex field) type=1:Represents the quantity of sales and purchasestype=2:Buy means the total price,Selling represents the total number --------------------------------price:Authorized unit price:type=2:No need for this parameter --------------------------------fee_is_user_exchange_coin:(Redundant fields) When the exchange has a platform currency,This parameter indicates whether to use platform currency to pay handling fee, 0 no, 1 yes.

Return value:

field

example

explanation

code

0

msg

''suc''

code>0fail

data

"mass_place": [{"msg": "Success","code": "0","order_id": [504,505]},{"msg": "Order cancellation failed","code": "8","order_id": [504,505]}] "mass_cancel": [{"msg": "Success","code": "0","order_id": [572,573,574,626,629]}]

Order return:Orderid,Status code,Success or Failure Information。 Withdrawal of returns:Orderid,Status code,c 0Express success。

Did this answer your question?