Get Today's Statistics
API URL: POST https://userapi-demo.s2f.projectx.com/Statistics/admin/todaystats
API Reference: /Statistics/admin/todaystats
Description
Retrieves today's stats from trading account id.
Parameters
Name | Type | Description | Required | Nullable |
---|---|---|---|---|
accountId | integer | The id associated with the Trading Account. | true | false |
Example Usage
Example Request
- cURL
curl -X 'POST' \
'https://userapi-demo.s2f.projectx.com/Statistics/admin/todaystats?accountId=107' \
-H 'accept: text/plain' \
-d ''
'
Example Response
- Success
[
{
"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
}
]