By following the example here, we will add fields below for supported spot pairs endpoint:
Market:
buyMax, sellMax
buyMin, sellMin
canBuy, canSell
canBuyDelay, canSellDelay
Limit:
limitBuyMax, limitSellMax
limitBuyMin, limitSellMin
limitCanBuy, limitCanSell
limitCanBuyDelay, limitCanSellDelay
Assets:
Asset0
asset_id (mixin_asset_id)
chain_id (mixin_chain_asset_uuid)
symbol (BTC)
name (Bitcoin)
icon (icon url)
decimal (decimal places)
protocol (ERC-20/TRC20/...)
transferFee (the withdrawal cost in usd, will need to design a way to get accurate value)
Asset1
asset_id (mixin_asset_id)
chain_id (mixin_chain_asset_uuid)
symbol (USDT)
name (Tether)
icon (icon url)
decimal (decimal places)
protocol (ERC-20/TRC20/...)
transferFee
The min/max amount will be set in per trading pair basis. Each trading pair will have a corresponding record in db.
canBuy/canSell is a boolean state of wether the trading pair is allowed to be traded. Same applies to limitCanBuy/limitCanSell
canBuyDelay/canSellDelay is a boolean state of wether the trading pair is allowed to be traded if the amount is larger than buyMax/sellMax. Same applies to limitCanBuyDelay/limitCanSellDelay
when order amount is lower than buyMax/sellMax, the order will go through by program. Once it's over max value, it should trigger manual intervention, send message to a maintainer group, and we should execute the transaction manually.
By following the example here, we will add fields below for supported spot pairs endpoint:
Market:
Limit:
Assets:
The min/max amount will be set in per trading pair basis. Each trading pair will have a corresponding record in db.
canBuy/canSell is a boolean state of wether the trading pair is allowed to be traded. Same applies to limitCanBuy/limitCanSell
canBuyDelay/canSellDelay is a boolean state of wether the trading pair is allowed to be traded if the amount is larger than buyMax/sellMax. Same applies to limitCanBuyDelay/limitCanSellDelay
when order amount is lower than buyMax/sellMax, the order will go through by program. Once it's over max value, it should trigger manual intervention, send message to a maintainer group, and we should execute the transaction manually.