{
"swapConfig": {
"type": "1",
"longPositions": 0,
"shortPositions": 0,
"daysInYear": 0,
"multipliers": [
0
],
"preferentialEnable": true
},
"symbolConfig": {
"name": "string",
"contractSize": 0,
"digits": 0,
"basisCurrency": "string",
"profitCurrency": "string",
"contractMode": "0"
},
"exchangeRate": 0,
"quoteCurrency": "string",
"priceInfo": {
"symbol": "string",
"group": "string",
"askPrice": 0,
"bidPrice": 0
},
"exchangeCalcMode": "1"
}curl --location --request POST '/internal/tool/checkswap' \
--header 'Content-Type: application/json' \
--data-raw '{
"swapConfig": {
"type": "1",
"longPositions": 0,
"shortPositions": 0,
"daysInYear": 0,
"multipliers": [
0
],
"preferentialEnable": true
},
"symbolConfig": {
"name": "string",
"contractSize": 0,
"digits": 0,
"basisCurrency": "string",
"profitCurrency": "string",
"contractMode": "0"
},
"exchangeRate": 0,
"quoteCurrency": "string",
"priceInfo": {
"symbol": "string",
"group": "string",
"askPrice": 0,
"bidPrice": 0
},
"exchangeCalcMode": "1"
}'0