API Update: Multi Asset Margin – AutoConversion 

With the introduction of Multi Asset Margining, the exchange will need to autoconvert balances to Settlement under certain conditions.  We have introduced a new value “AutoConversion” to identify these trades.

The changes will be available in Production from 11 Dec 2024.

What is Changing?

Multi Asset Margin auto currency conversion created transaction will contain the value AutoConversion in the Transact TransactType field

Multi Asset Margin auto currency conversion created execution report will contain the value AutoConversion in the Execution Report TrdType field

Examples:

{ 
"transactID" : "00000000-0075-1000-0000-0000400c7b79",
"account" : 12345,
"currency" : "USDc",
"transactType" : "AutoConversion",
"amount": -5413,
"walletBalance" : 100000,
"transactStatus" : "Completed",
"address" : "USDC_USDT",
"tx" : "00000000-0075-1000-0000-0000400c7b79",
"orderID" : "3e6be47a-729a-4820-848b-356352662ccd"
"text" : "MAM-CONV:00000000-0075-1000-0000-0000400c7b77",
"transactTime" : "2024-12-04T23:33:38.202Z",
"timestamp" : "2024-12-04T23:33:38.202Z",
}

{
"execID" : "00000000-0075-1000-0000-0000400c7b7b",
"orderID" : "3e6be47a-729a-4820-848b-356352662ccd",
"account" : 12345,
"symbol" : "USDC_USDT",
"side" : "Sell",
"lastQty" : 5413,
"lastPx" : 0.97949,
"lastLiquidityInd" : "RemovedLiquidity",
"orderQty" : 5413,
"currency" : "USDT",
"execType" : "Trade",
"ordType" : "Market",
"timeInForce" : "FillOrKill",
"ordStatus" : "Filled",
"workingIndicator" : false,
"leavesQty" : 0,
"cumQty" : 5413,
"avgPx" : 0.97949,
"tradePublishIndicator" : "DoNotPublishTrade",
"text" : "MAM-CONV:00000000-0075-1000-0000-0000400c7b77",
"trdMatchID" : "00000000-0075-1000-0000-0000400c7b78",
"execCost" : 0,
"execComm" : 0,
"transactTime" : "2024-12-04T23:33:38.202Z",
"timestamp" : "2024-12-04T23:33:38.202Z",
"trdType" : "AutoConversion"
}

Why are we making this change?

This change will make it easier for API users to identify AutoConversion trades.

If you have any questions about these upcoming changes, please contact Support.

To be the first to know about new listings, product launches, promotions or other updates we invite you to join one of our communities and follow us on Twitter or check our blog regularly.