Longbridge OpenAPI C++ SDK
Public Attributes | List of all members
longbridge::sharelist::SharelistInfo Struct Reference

Sharelist metadata and constituent stocks. More...

#include <types.hpp>

Public Attributes

int64_t id
 Sharelist ID. More...
 
std::string name
 Name. More...
 
std::string description
 Description. More...
 
std::string cover
 Cover image URL. More...
 
int64_t subscribers_count
 Number of subscribers. More...
 
int64_t created_at
 Creation time (Unix timestamp) More...
 
int64_t edited_at
 Last stock edit time (Unix timestamp) More...
 
std::string this_year_chg
 YTD change percentage. More...
 
std::string creator
 Creator info (serialised JSON) More...
 
std::vector< SharelistStockstocks
 Constituent stocks. More...
 
bool subscribed
 Whether the current user is subscribed. More...
 
std::string chg
 Day change percentage. More...
 
int32_t sharelist_type
 Sharelist type: 0=regular, 3=official, 4=industry. More...
 
std::string industry_code
 Industry code (for industry sharelists) More...
 

Detailed Description

Sharelist metadata and constituent stocks.

Member Data Documentation

◆ chg

std::string longbridge::sharelist::SharelistInfo::chg

Day change percentage.

◆ cover

std::string longbridge::sharelist::SharelistInfo::cover

Cover image URL.

◆ created_at

int64_t longbridge::sharelist::SharelistInfo::created_at

Creation time (Unix timestamp)

◆ creator

std::string longbridge::sharelist::SharelistInfo::creator

Creator info (serialised JSON)

◆ description

std::string longbridge::sharelist::SharelistInfo::description

Description.

◆ edited_at

int64_t longbridge::sharelist::SharelistInfo::edited_at

Last stock edit time (Unix timestamp)

◆ id

int64_t longbridge::sharelist::SharelistInfo::id

Sharelist ID.

◆ industry_code

std::string longbridge::sharelist::SharelistInfo::industry_code

Industry code (for industry sharelists)

◆ name

std::string longbridge::sharelist::SharelistInfo::name

Name.

◆ sharelist_type

int32_t longbridge::sharelist::SharelistInfo::sharelist_type

Sharelist type: 0=regular, 3=official, 4=industry.

◆ stocks

std::vector<SharelistStock> longbridge::sharelist::SharelistInfo::stocks

Constituent stocks.

◆ subscribed

bool longbridge::sharelist::SharelistInfo::subscribed

Whether the current user is subscribed.

◆ subscribers_count

int64_t longbridge::sharelist::SharelistInfo::subscribers_count

Number of subscribers.

◆ this_year_chg

std::string longbridge::sharelist::SharelistInfo::this_year_chg

YTD change percentage.


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