Skip to main content

Get Day Statistics

API URL: POST https://userapi-demo.s2f.projectx.com/Statistics/admin/daystats

API Reference: /Statistics/admin/daystats

Description


Retrieves day's statistics from trading account id, start date and end date.

Parameters


NameTypeDescriptionRequiredNullable
tradingAccountIdintegerThe id associated with the Trading Account.truefalse
startTradeDaydatetimeThe start date.falsefalse
endTradeDaydatetimeThe end date.falsefalse

Example Usage


Example Request

{
"tradingAccountId": 107,
"startTradeDay": "2024-11-01T19:14:30.594Z",
"endTradeDay": "2024-11-28T19:14:30.594Z"
}

Example Response

[
{
"tradeDate": "2024-11-21T06:00:00+00:00",
"totalPnL": 50.000000000,
"totalTrades": 2,
"winningTrades": 1,
"losingTrades": 1,
"neutralTrades": 0,
"winRate": 0,
"totalFees": 8.68000
}
]