LongPort OpenAPI C++ SDK
|
Stock position. More...
#include <types.hpp>
Public Attributes | |
std::string | symbol |
Stock code. More... | |
std::string | symbol_name |
Stock name. More... | |
Decimal | quantity |
The number of holdings. More... | |
Decimal | available_quantity |
Available quantity. More... | |
std::string | currency |
Currency. More... | |
Decimal | cost_price |
Market | market |
Market. More... | |
std::optional< Decimal > | init_quantity |
Initial position before market opening. More... | |
Stock position.
Decimal longport::trade::StockPosition::available_quantity |
Available quantity.
Decimal longport::trade::StockPosition::cost_price |
Cost Price(According to the client's choice of average purchase or diluted cost)
std::string longport::trade::StockPosition::currency |
Currency.
std::optional<Decimal> longport::trade::StockPosition::init_quantity |
Initial position before market opening.
Market longport::trade::StockPosition::market |
Market.
Decimal longport::trade::StockPosition::quantity |
The number of holdings.
std::string longport::trade::StockPosition::symbol |
Stock code.
std::string longport::trade::StockPosition::symbol_name |
Stock name.