{
"tradeAutomationRuleId": "string",
"conditions": [
{
"operator": "EQ",
"type": "DATETIME_TOLERANCE",
"value": [
0
]
}
],
"entryActions": [
{
"amount": "string",
"amountFC": "string",
"balanceType": {},
"chartOfAccountCalculator": "string",
"chartOfAccount": {
"chartOfAccountId": "string",
"entityId": "string",
"parentChartOfAccountId": "string",
"type": "string",
"code": "string",
"name": "string",
"currencyTypes": [
"string"
],
"defaultBalanceType": "string"
},
"chartOfAccountId": "string",
"currency": "string",
"directCurrency": "string",
"directUnderlyingCurrency": {
"formatDetailPlatforms": [
{
"contract_address": "string",
"decimal_place": 0,
"platform": {
"platformId": "string",
"name": "string",
"logo": "string",
"bigLogo": "string",
"entityId": "string",
"type": "CHAIN",
"note": "string",
"pro": 0,
"slug": "string",
"supportAggregation": true,
"isBeta": true,
"enableMasterSubAccount": true,
"csvDriverTemplateList": [
{
"name": "string",
"slug": "string",
"description": "string",
"downloadTemplateUrl": "string",
"isGeneral": true
}
],
"collectorDriver": "string",
"csvDriver": "string",
"platformProviderMapList": [
{
"platformProviderMapId": "string",
"platformId": "string",
"providerId": "string",
"isDefault": true,
"order": 0,
"withTransaction": true,
"withBalance": true,
"realtimeBalance": true,
"historyBalance": true,
"provider": {
"providerId": 0,
"name": "string",
"logo": "string",
"slug": "string"
},
"config": [
{
"key": "string",
"title": "string",
"type": "string",
"config": {
"validator": {
"type": "string",
"required": true,
"length": {
"min": 0,
"max": 0
}
},
"placeholder": "string"
},
"options": [
{
"label": "string",
"value": "string",
"checked": true
}
]
}
],
"authType": "string"
}
]
}
}
],
"underlyingCurrencyId": "string",
"name": "string",
"symbol": "string",
"logo": "string",
"type": "CRYPTO",
"detailPlatforms": {},
"uniqueId": "string",
"createdAt": "string",
"updatedAt": "string",
"deletedAt": "string",
"showSymbol": "''",
"sign": "string",
"entityId": "string",
"syncStatus": "DOING",
"syncLog": "string"
},
"formulaFieldMap": [
{
"var": "string",
"type": "string",
"value": "string",
"attribute": "string"
}
],
"auxiliaryMapping": [
{
"auxiliaryTypeId": "string",
"auxiliaryType": {
"auxiliaryTypeId": "string",
"name": "string",
"type": "string",
"entityId": "string",
"counterpartyId": "string",
"auxiliaryItems": [
{
"auxiliaryItemId": "string",
"entityId": "string",
"auxiliaryTypeId": "string",
"value": "string"
}
]
},
"type": "string",
"value": {},
"auxiliaryItemId": "string",
"auxiliaryItem": {
"auxiliaryItemId": "string",
"entityId": "string",
"auxiliaryTypeId": "string",
"value": "string"
},
"entityAccountId": "string",
"entityAccount": {
"entityAccountId": "string",
"name": "string",
"entityId": "string",
"identity": "string",
"status": "string",
"accountLevel": "MASTER",
"memo": "string",
"platformId": "string",
"platformType": "string",
"platform": {
"platformId": "string",
"name": "string",
"logo": "string",
"bigLogo": "string",
"entityId": "string",
"type": "CHAIN",
"note": "string",
"pro": 0,
"slug": "string",
"supportAggregation": true,
"isBeta": true,
"enableMasterSubAccount": true,
"csvDriverTemplateList": [
{
"name": "string",
"slug": "string",
"description": "string",
"downloadTemplateUrl": "string",
"isGeneral": true
}
],
"collectorDriver": "string",
"csvDriver": "string",
"platformProviderMapList": [
{
"platformProviderMapId": "string",
"platformId": "string",
"providerId": "string",
"isDefault": true,
"order": 0,
"withTransaction": true,
"withBalance": true,
"realtimeBalance": true,
"historyBalance": true,
"provider": {
"providerId": 0,
"name": "string",
"logo": "string",
"slug": "string"
},
"config": [
{
"key": "string",
"title": "string",
"type": "string",
"config": {
"validator": {
"type": "string",
"required": true,
"length": {
"min": 0,
"max": 0
}
},
"placeholder": "string"
},
"options": [
{
"label": "string",
"value": "string",
"checked": true
}
]
}
],
"authType": "string"
}
],
"isEvm": true
},
"masterEntityAccountId": "string",
"masterEntityAccount": {},
"entityAccountTagList": [
"string"
]
},
"counterpartyId": "string",
"counterparty": {
"counterpartyId": "string",
"entityId": "string",
"type": "string",
"name": "string",
"tel": "string",
"email": "string",
"location": "string",
"memo": "string"
}
}
]
}
],
"journalTypeId": "string",
"journalType": {
"journalTypeId": "string",
"entityId": "string",
"code": "string",
"name": "string",
"journalNoPrefix": "string",
"entryType": "string",
"groupUnmatchDown": true,
"entryLines": [
{
"chartOfAccountId": "string",
"chartOfAccountCalculator": "string",
"balanceType": "string",
"fieldMap": {},
"currency": {},
"type": "string"
}
],
"mode": "string",
"group": "string",
"categorize": true,
"direction": "string",
"userId": "string",
"gstType": "string",
"nameCN": "string",
"slug": "string",
"gstRatio": "string",
"gstBalanceType": "string",
"isBrokerInventory": true
}
}