LongPort OpenAPI C++ SDK
Namespaces | Classes | Typedefs | Enumerations | Functions
longport Namespace Reference

Namespaces

 callback
 
 quote
 
 trade
 

Classes

struct  AsyncResult
 
class  Config
 
class  Decimal
 
struct  HttpResult
 
class  HttpClient
 
struct  PushEvent
 
class  Status
 
struct  Date
 
struct  Time
 
struct  DateTime
 

Typedefs

template<typename Ctx , typename T >
using AsyncCallback = std::function< void(AsyncResult< Ctx, T >)>
 
template<typename Ctx , typename T >
using PushCallback = std::function< void(PushEvent< Ctx, T >)>
 

Enumerations

enum class  Language { ZH_CN , ZH_HK , EN }
 Language identifer. More...
 
enum class  PushCandlestickMode { Realtime , Confirmed }
 Push candlestick mode. More...
 
enum class  Market {
  Unknown , US , HK , CN ,
  SG
}
 Market. More...
 

Functions

std::ostream & operator<< (std::ostream &stream, const Decimal &value)
 

Typedef Documentation

◆ AsyncCallback

template<typename Ctx , typename T >
using longport::AsyncCallback = typedef std::function<void(AsyncResult<Ctx, T>)>

◆ PushCallback

template<typename Ctx , typename T >
using longport::PushCallback = typedef std::function<void(PushEvent<Ctx, T>)>

Enumeration Type Documentation

◆ Language

enum longport::Language
strong

Language identifer.

Enumerator
ZH_CN 

zh-CN

ZH_HK 

zh-HK

EN 

en

◆ Market

enum longport::Market
strong

Market.

Enumerator
Unknown 

Unknown.

US 

US market.

HK 

HK market.

CN 

CN market.

SG 

SG market.

◆ PushCandlestickMode

Push candlestick mode.

Enumerator
Realtime 

Real-time.

Confirmed 

Confirmed.

Function Documentation

◆ operator<<()

std::ostream& longport::operator<< ( std::ostream &  stream,
const Decimal value 
)