LongPort OpenAPI C++ SDK
Public Attributes | List of all members
longport::trade::AccountBalance Struct Reference

Account balance. More...

#include <types.hpp>

Public Attributes

Decimal total_cash
 Total cash. More...
 
Decimal max_finance_amount
 Maximum financing amount. More...
 
Decimal remaining_finance_amount
 Remaining financing amount. More...
 
int32_t risk_level
 Risk control level. More...
 
Decimal margin_call
 Margin call. More...
 
std::string currency
 Currency. More...
 
std::vector< CashInfocash_infos
 Cash details. More...
 
Decimal net_assets
 Net assets. More...
 
Decimal init_margin
 Initial margin. More...
 
Decimal maintenance_margin
 Maintenance margin. More...
 
Decimal buy_power
 Buy power. More...
 

Detailed Description

Account balance.

Member Data Documentation

◆ buy_power

Decimal longport::trade::AccountBalance::buy_power

Buy power.

◆ cash_infos

std::vector<CashInfo> longport::trade::AccountBalance::cash_infos

Cash details.

◆ currency

std::string longport::trade::AccountBalance::currency

Currency.

◆ init_margin

Decimal longport::trade::AccountBalance::init_margin

Initial margin.

◆ maintenance_margin

Decimal longport::trade::AccountBalance::maintenance_margin

Maintenance margin.

◆ margin_call

Decimal longport::trade::AccountBalance::margin_call

Margin call.

◆ max_finance_amount

Decimal longport::trade::AccountBalance::max_finance_amount

Maximum financing amount.

◆ net_assets

Decimal longport::trade::AccountBalance::net_assets

Net assets.

◆ remaining_finance_amount

Decimal longport::trade::AccountBalance::remaining_finance_amount

Remaining financing amount.

◆ risk_level

int32_t longport::trade::AccountBalance::risk_level

Risk control level.

◆ total_cash

Decimal longport::trade::AccountBalance::total_cash

Total cash.


The documentation for this struct was generated from the following file: