Preparing search index...
The search index is not available
LongPort OpenAPI SDK
LongPort OpenAPI SDK
Trade
Class Trade
Trade
Index
Constructors
constructor
Accessors
price
volume
timestamp
trade
Type
direction
trade
Session
Methods
to
String
toJSON
Constructors
constructor
new
Trade
(
)
:
Trade
Returns
Trade
Accessors
price
get
price
(
)
:
Decimal
Price
Returns
Decimal
volume
get
volume
(
)
:
number
Volume
Returns
number
timestamp
get
timestamp
(
)
:
Date
Time of trading
Returns
Date
trade
Type
get
tradeType
(
)
:
string
Trade type
Returns
string
direction
get
direction
(
)
:
TradeDirection
Trade direction
Returns
TradeDirection
trade
Session
get
tradeSession
(
)
:
TradeSession
Trade session
Returns
TradeSession
Methods
to
String
to
String
(
)
:
string
Returns
string
toJSON
toJSON
(
)
:
any
Returns
any
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Accessors
price
volume
timestamp
trade
Type
direction
trade
Session
Methods
to
String
toJSON
LongPort OpenAPI SDK
Loading...
Trade