Get profit details
GET
/ver1/grid_bots/:id/profitsReturns profit details of existing Grid Bot using its ID.
Path Parameter
Query Parameters
If the from and to values are not set, the response will include all records ordered in descending order by ID parameter.
Example Request
GET
/ver1/grid_bots/2338357/profits?from=2024-09-01T04:00:00.000Z&to=2024-10-11T03:59:59.000ZResponse Parameters
More attributes
Example Response
- 201 Created
[
{
"grid_line_id": 256470631,
"profit": "0.5387463715614246",
"usd_profit": "0.5387463715614246",
"created_at": "2024-10-06T11:45:47.500Z",
"grid_line": {
"id": 256470631,
"price": "0.022954",
"side": "buy",
"order_placed": false
}
},
{
"grid_line_id": 256439950,
"profit": "0.2721254846234494",
"usd_profit": "0.2721254846234494",
"created_at": "2024-10-04T16:23:16.731Z",
"grid_line": {
"id": 256439950,
"price": "0.022503",
"side": "buy",
"order_placed": false
}
}
]