Skip to main content

Get Daily Statistics

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

API Reference: /Statistics/admin/daily

Description


Retrieves trading statistics given 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

[
{
"tradeDay": "2024-11-21T06:00:00+00:00",
"balance": 106970.300000000,
"products": [
{
"tradeDay": "2024-11-21T06:00:00+00:00",
"symbolId": "F.US.NKD",
"totalTradedContracts": 4
}
],
"tradeDate": "0001-01-01T00:00:00+00:00",
"totalPnL": 50.000000000,
"totalTrades": 2,
"winningTrades": 1,
"losingTrades": 1,
"neutralTrades": 0,
"winRate": 0,
"totalFees": 8.68000
}
]