curl --request GET \
--url https://api.example.com/accounts/{account_id}/valuation \
--header 'Authorization: Bearer <token>'{
"account": "<string>",
"total_value": "<string>",
"total_position_value": "<string>",
"total_cash_value": "<string>",
"currency": "EUR",
"cash_valuations": [
{
"cash_balance": {
"currency": "EUR",
"total": "<string>",
"available_for_trading": "<string>",
"available_for_withdrawal": "<string>",
"reserved": "<string>"
},
"value": "<string>",
"currency": "EUR",
"asof": "2023-11-07T05:31:56Z"
}
],
"position_valuations": [
{
"position": {
"id": "<string>",
"account": "<string>",
"status": "open",
"instrument": {
"id": "<string>",
"name": "<string>",
"symbol": "<string>",
"instrument_type": "<unknown>",
"trading_status": "buy_sell",
"trading_increment": "<string>",
"isin": "<string>",
"issuer_country": "<string>",
"issuer_credit_rating": "<string>",
"minimum_trading_quantity": "<string>",
"trading_currency": "EUR",
"pro_traders_only": true,
"maturity_date": "2023-12-25",
"supports_automatic_rollover": true,
"initial_auction_date": "2023-12-25",
"initial_issue_date": "2023-12-25",
"latest_auction_date": "2023-12-25",
"latest_issue_date": "2023-12-25",
"days_to_maturity": 123,
"issuer": "<string>"
},
"total": "<string>",
"available_for_trading": "<string>",
"settled": "<string>",
"unsettled": "<string>",
"reserved": "<string>",
"automatic_rollover": true,
"can_update_automatic_rollover": true,
"average_price": "<string>",
"most_recent_maturity_period": "<string>",
"ytm": "<string>",
"total_buy_trades": 123,
"opened_at": "2023-11-07T05:31:56Z",
"closed_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"modified_at": "2023-11-07T05:31:56Z",
"automatic_rollover_cutoff": "2023-12-25"
},
"value": "<string>",
"currency": "EUR",
"price": "<string>",
"asof": "2023-11-07T05:31:56Z"
}
],
"asof": "2023-11-07T05:31:56Z"
}Retrieve an account’s current valuation.
curl --request GET \
--url https://api.example.com/accounts/{account_id}/valuation \
--header 'Authorization: Bearer <token>'{
"account": "<string>",
"total_value": "<string>",
"total_position_value": "<string>",
"total_cash_value": "<string>",
"currency": "EUR",
"cash_valuations": [
{
"cash_balance": {
"currency": "EUR",
"total": "<string>",
"available_for_trading": "<string>",
"available_for_withdrawal": "<string>",
"reserved": "<string>"
},
"value": "<string>",
"currency": "EUR",
"asof": "2023-11-07T05:31:56Z"
}
],
"position_valuations": [
{
"position": {
"id": "<string>",
"account": "<string>",
"status": "open",
"instrument": {
"id": "<string>",
"name": "<string>",
"symbol": "<string>",
"instrument_type": "<unknown>",
"trading_status": "buy_sell",
"trading_increment": "<string>",
"isin": "<string>",
"issuer_country": "<string>",
"issuer_credit_rating": "<string>",
"minimum_trading_quantity": "<string>",
"trading_currency": "EUR",
"pro_traders_only": true,
"maturity_date": "2023-12-25",
"supports_automatic_rollover": true,
"initial_auction_date": "2023-12-25",
"initial_issue_date": "2023-12-25",
"latest_auction_date": "2023-12-25",
"latest_issue_date": "2023-12-25",
"days_to_maturity": 123,
"issuer": "<string>"
},
"total": "<string>",
"available_for_trading": "<string>",
"settled": "<string>",
"unsettled": "<string>",
"reserved": "<string>",
"automatic_rollover": true,
"can_update_automatic_rollover": true,
"average_price": "<string>",
"most_recent_maturity_period": "<string>",
"ytm": "<string>",
"total_buy_trades": 123,
"opened_at": "2023-11-07T05:31:56Z",
"closed_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z",
"modified_at": "2023-11-07T05:31:56Z",
"automatic_rollover_cutoff": "2023-12-25"
},
"value": "<string>",
"currency": "EUR",
"price": "<string>",
"asof": "2023-11-07T05:31:56Z"
}
],
"asof": "2023-11-07T05:31:56Z"
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
The ID of the account to retrieve the valuation for.
OK
EUR, USD, GBP Show child attributes
Show child attributes