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

Options for estimate maximum purchase quantity. More...

#include <types.hpp>

Public Attributes

std::string symbol
 Security code. More...
 
OrderType order_type
 Order type. More...
 
OrderSide side
 Order side. More...
 
std::optional< Decimalprice
 Estimated order price. More...
 
std::optional< std::string > currency
 Settlement currency. More...
 
std::optional< std::string > order_id
 
bool fractional_shares
 Get the maximum fractional share buying power. More...
 

Detailed Description

Options for estimate maximum purchase quantity.

Member Data Documentation

◆ currency

std::optional<std::string> longport::trade::EstimateMaxPurchaseQuantityOptions::currency

Settlement currency.

◆ fractional_shares

bool longport::trade::EstimateMaxPurchaseQuantityOptions::fractional_shares

Get the maximum fractional share buying power.

◆ order_id

std::optional<std::string> longport::trade::EstimateMaxPurchaseQuantityOptions::order_id

Order ID, required when estimating the maximum purchase quantity for a modified order

◆ order_type

OrderType longport::trade::EstimateMaxPurchaseQuantityOptions::order_type

Order type.

◆ price

std::optional<Decimal> longport::trade::EstimateMaxPurchaseQuantityOptions::price

Estimated order price.

◆ side

OrderSide longport::trade::EstimateMaxPurchaseQuantityOptions::side

Order side.

◆ symbol

std::string longport::trade::EstimateMaxPurchaseQuantityOptions::symbol

Security code.


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