All Collections
ZEDCEX (API DOC)
SPOT API REFERENCE / 
open-api (Api Demo)
Place orders in batches and withdraw designated orders in batches(No recommendation, recommend v2)
Place orders in batches and withdraw designated orders in batches(No recommendation, recommend v2)

Open-api (Api Demo)

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

Batch order,Simultaneous bulk withdrawal of designated orders

  1. 1.Interface address:/open/api/mass_replace

  2. 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 100 at a time

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

Parameter

Fill in type

Explain

api_key

must fill

api_key

time

must fill

time stamp

sign

must fill

autograph

symbol

must fill

currency ,example btcusdt

mass_cancel

selective filling

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

mass_place

Selective filling

[{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

Explain

code

0

msg

''suc''

code>0fail

data

"mass_place": [{"order_id":"1234","code":"0", "msg":"suc"},...] "mass_cancel": [{"order_id":"1234","code":"0", "msg":"suc"},.......]

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

Did this answer your question?