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

Warrant info. More...

#include <types.hpp>

Public Attributes

std::string symbol
 Security code. More...
 
WarrantType warrant_type
 Warrant type. More...
 
std::string name
 Security name. More...
 
Decimal last_done
 Latest price. More...
 
Decimal change_rate
 Quote change rate. More...
 
Decimal change_value
 Quote change. More...
 
int64_t volume
 Volume. More...
 
Decimal turnover
 Turnover. More...
 
Date expiry_date
 Expiry date. More...
 
std::optional< Decimalstrike_price
 Strike price. More...
 
std::optional< Decimalupper_strike_price
 Upper strike price. More...
 
std::optional< Decimallower_strike_price
 Lower strike price. More...
 
int64_t outstanding_qty
 Outstanding quantity. More...
 
Decimal outstanding_ratio
 Outstanding ratio. More...
 
Decimal premium
 Premium. More...
 
std::optional< Decimalitm_otm
 In/out of the bound. More...
 
std::optional< Decimalimplied_volatility
 Implied volatility. More...
 
std::optional< Decimaldelta
 Delta. More...
 
std::optional< Decimalcall_price
 Call price. More...
 
std::optional< Decimalto_call_price
 Price interval from the call price. More...
 
std::optional< Decimaleffective_leverage
 Effective leverage. More...
 
Decimal leverage_ratio
 Leverage ratio. More...
 
std::optional< Decimalconversion_ratio
 Conversion ratio. More...
 
std::optional< Decimalbalance_point
 Breakeven point. More...
 
WarrantStatus status
 Status. More...
 

Detailed Description

Warrant info.

Member Data Documentation

◆ balance_point

std::optional<Decimal> longport::quote::WarrantInfo::balance_point

Breakeven point.

◆ call_price

std::optional<Decimal> longport::quote::WarrantInfo::call_price

Call price.

◆ change_rate

Decimal longport::quote::WarrantInfo::change_rate

Quote change rate.

◆ change_value

Decimal longport::quote::WarrantInfo::change_value

Quote change.

◆ conversion_ratio

std::optional<Decimal> longport::quote::WarrantInfo::conversion_ratio

Conversion ratio.

◆ delta

std::optional<Decimal> longport::quote::WarrantInfo::delta

Delta.

◆ effective_leverage

std::optional<Decimal> longport::quote::WarrantInfo::effective_leverage

Effective leverage.

◆ expiry_date

Date longport::quote::WarrantInfo::expiry_date

Expiry date.

◆ implied_volatility

std::optional<Decimal> longport::quote::WarrantInfo::implied_volatility

Implied volatility.

◆ itm_otm

std::optional<Decimal> longport::quote::WarrantInfo::itm_otm

In/out of the bound.

◆ last_done

Decimal longport::quote::WarrantInfo::last_done

Latest price.

◆ leverage_ratio

Decimal longport::quote::WarrantInfo::leverage_ratio

Leverage ratio.

◆ lower_strike_price

std::optional<Decimal> longport::quote::WarrantInfo::lower_strike_price

Lower strike price.

◆ name

std::string longport::quote::WarrantInfo::name

Security name.

◆ outstanding_qty

int64_t longport::quote::WarrantInfo::outstanding_qty

Outstanding quantity.

◆ outstanding_ratio

Decimal longport::quote::WarrantInfo::outstanding_ratio

Outstanding ratio.

◆ premium

Decimal longport::quote::WarrantInfo::premium

Premium.

◆ status

WarrantStatus longport::quote::WarrantInfo::status

◆ strike_price

std::optional<Decimal> longport::quote::WarrantInfo::strike_price

Strike price.

◆ symbol

std::string longport::quote::WarrantInfo::symbol

Security code.

◆ to_call_price

std::optional<Decimal> longport::quote::WarrantInfo::to_call_price

Price interval from the call price.

◆ turnover

Decimal longport::quote::WarrantInfo::turnover

Turnover.

◆ upper_strike_price

std::optional<Decimal> longport::quote::WarrantInfo::upper_strike_price

Upper strike price.

◆ volume

int64_t longport::quote::WarrantInfo::volume

Volume.

◆ warrant_type

WarrantType longport::quote::WarrantInfo::warrant_type

Warrant type.


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