Skip to main content

SmartTrade entity

Attributes

idinteger

Unique 3Commas ID for this SmartTrade entity.

pairstring

Trading pair in 3Commas format.

instantboolean

Indicates whether a Simple Buy or Simple Sale of an asset has been executed true or not false.

accountobject

Details about user account.

Hide child parametersShow child parameters
idinteger

Unique 3Commas ID for this exchange account entity.

typestring

The type of the exchange account where this SmartTrade was created.

namestring

The name of the exchange account as specified by the user or system.

marketstring

Market type of this exchange account.

linkstring

The URL of the account where this SmartTrade was created.

More attributes

{
"id": 12345678,
"account": {
"id": 32402783,
"type": "binance_us",
"name": "My Binance US",
"market": "Binance US Spot",
"link": "/accounts/32402783"
},
"pair": "USDT_DOGE",
"instant": false,
"status": {
"type": "waiting_position",
"basic_type": "waiting_position",
"title": "Pending Position Opened"
},
"leverage": {
"enabled": false
},
"position": {
"type": "buy",
"editable": false,
"units": {
"value": "15.0",
"editable": false
},
"price": {
"value": "0.10664",
"value_without_commission": "0.10664",
"editable": true
},
"total": {
"value": "1.5996"
},
"order_type": "limit",
"status": {
"type": "order_placed",
"basic_type": "order_placed",
"title": "Placed"
}
},
"take_profit": {
"enabled": true,
"price_type": "value",
"steps": [
{
"id": 1006258048,
"order_type": "limit",
"editable": true,
"units": {
"value": null
},
"price": {
"type": "last",
"value": "0.11731",
"percent": null
},
"volume": "100.0",
"total": null,
"trailing": {
"enabled": false,
"percent": null
},
"status": {
"type": "idle",
"basic_type": "idle",
"title": "Pending"
},
"data": {
"cancelable": true,
"panic_sell_available": false
},
"position": 1
}
]
},
"stop_loss": {
"enabled": true,
"price_type": "value",
"breakeven": false,
"order_type": "market",
"editable": true,
"price": {
"value": null,
"percent": null
},
"conditional": {
"price": {
"value": "0.1013",
"type": "last",
"percent": null
},
"trailing": {
"enabled": false,
"percent": null
}
},
"timeout": {
"enabled": false,
"value": null
},
"status": {
"type": "idle",
"basic_type": "idle",
"title": "Pending"
}
},
"reduce_funds": {
"steps": []
},
"market_close": {},
"note": "Place for your note.",
"note_raw": "Place for your note.",
"skip_enter_step": false,
"data": {
"editable": true,
"current_price": {
"bid": "0.10713",
"ask": "0.10726",
"last": "0.10726",
"quote_volume": "212795.59182",
"day_change_percent": "1.861"
},
"target_price_type": "price",
"orderbook_price_currency": "USDT",
"base_order_finished": true,
"missing_funds_to_close": "0.0",
"liquidation_price": null,
"average_enter_price": null,
"average_close_price": null,
"average_enter_price_without_commission": null,
"average_close_price_without_commission": null,
"panic_sell_available": false,
"add_funds_available": true,
"reduce_funds_available": false,
"force_start_available": true,
"force_process_available": true,
"cancel_available": true,
"finished": false,
"base_position_step_finished": false,
"entered_amount": "0.0",
"entered_total": "0.0",
"closed_amount": "0.0",
"closed_total": "0.0",
"commission": 0.001,
"created_at": "2024-08-12T16:24:38.360Z",
"updated_at": "2024-08-12T16:37:11.480Z",
"type": "smart_trade"
},
"profit": {
"volume": null,
"usd": null,
"percent": "0.0",
"roe": null
},
"margin": {
"amount": null,
"total": null
},
"is_position_not_filled": true
}