LongPort OpenAPI SDK
Candlestick
Class Candlestick
Candlestick
Index
Constructors
constructor
Accessors
close
open
low
high
volume
turnover
timestamp
trade
Session
Methods
to
String
to
JSON
Constructors
constructor
new
Candlestick
()
:
Candlestick
Returns
Candlestick
Accessors
close
get
close
()
:
Decimal
Close price
Returns
Decimal
open
get
open
()
:
Decimal
Open price
Returns
Decimal
low
get
low
()
:
Decimal
Low price
Returns
Decimal
high
get
high
()
:
Decimal
High price
Returns
Decimal
volume
get
volume
()
:
number
Volume
Returns
number
turnover
get
turnover
()
:
Decimal
Turnover
Returns
Decimal
timestamp
get
timestamp
()
:
Date
Timestamp
Returns
Date
trade
Session
get
tradeSession
()
:
TradeSession
Trade session
Returns
TradeSession
Methods
to
String
toString
()
:
string
Returns
string
to
JSON
toJSON
()
:
any
Returns
any
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Accessors
close
open
low
high
volume
turnover
timestamp
trade
Session
Methods
to
String
to
JSON
LongPort OpenAPI SDK
Account
Balance
Brokers
Candlestick
Capital
Distribution
Capital
Distribution
Response
Capital
Flow
Line
Cash
Flow
Cash
Info
Config
Decimal
Depth
Estimate
Max
Purchase
Quantity
Response
Execution
Frozen
Transaction
Fee
Fund
Position
Fund
Position
Channel
Fund
Positions
Response
History
Market
Temperature
Response
Http
Client
Intraday
Line
Issuer
Info
Margin
Ratio
Market
Temperature
Market
Trading
Days
Market
Trading
Session
Naive
Date
Naive
Datetime
Option
Quote
Order
Order
Charge
Detail
Order
Charge
Fee
Order
Charge
Item
Order
Detail
Order
History
Detail
Participant
Info
Pre
Post
Quote
Push
Brokers
Push
Brokers
Event
Push
Candlestick
Push
Candlestick
Event
Push
Depth
Push
Depth
Event
Push
Order
Changed
Push
Quote
Push
Quote
Event
Push
Trades
Push
Trades
Event
Quote
Context
Quote
Package
Detail
Realtime
Quote
Security
Security
Brokers
Security
Calc
Index
Security
Depth
Security
Quote
Security
Static
Info
Stock
Position
Stock
Position
Channel
Stock
Positions
Response
Strike
Price
Info
Submit
Order
Response
Subscription
Time
Trade
Trade
Context
Trading
Session
Info
Warrant
Info
Warrant
Quote
Watchlist
Group
Watchlist
Security
Adjust
Type
Balance
Type
Calc
Index
Cash
Flow
Direction
Charge
Category
Code
Commission
Free
Status
Config
Params
Create
Watchlist
Group
Deduction
Status
Delete
Watchlist
Group
Derivative
Type
Estimate
Max
Purchase
Quantity
Options
Filter
Warrant
Expiry
Date
Filter
Warrant
In
Out
Bounds
Type
Get
Cash
Flow
Options
Get
History
Executions
Options
Get
History
Orders
Options
Get
Today
Executions
Options
Get
Today
Orders
Options
Granularity
Language
Market
Option
Direction
Option
Type
Order
Side
Order
Status
Order
Tag
Order
Type
Outside
RTH
Period
Push
Candlestick
Mode
Replace
Order
Options
Securities
Update
Mode
Security
Board
Security
List
Category
Sort
Order
Type
Submit
Order
Options
Sub
Type
Time
In
Force
Type
Topic
Type
Trade
Direction
Trade
Session
Trade
Sessions
Trade
Status
Trigger
Status
Update
Watchlist
Group
Warrant
Sort
By
Warrant
Status
Warrant
Type
M
M
N
E
P
V
F
C
I
C
P
M
F
P
C
P
T
T
A
A
A
T
R
Candlestick