A B C D E F G H L M N O P R S T U V W Z 
All Classes All Packages

A

Active - com.longportwhale.trade.TriggerStatus
 
AllocatedSub - com.longportwhale.trade.OrderTag
 
ALO - com.longportwhale.trade.OrderType
 
AO - com.longportwhale.trade.OrderType
 
AsyncCallback.AsyncTask - Interface in com.longportwhale
 

B

build() - Method in class com.longportwhale.ConfigBuilder
Build a Config object
Buy - com.longportwhale.trade.OrderSide
 

C

Canceled - com.longportwhale.trade.OrderStatus
 
close() - Method in class com.longportwhale.Config
 
close() - Method in class com.longportwhale.HttpClient
 
close() - Method in class com.longportwhale.trade.TradeContext
 
CN - com.longportwhale.Market
CN market
com.longportwhale - package com.longportwhale
 
com.longportwhale.trade - package com.longportwhale.trade
 
Config - Class in com.longportwhale
Configuration options for LongPort sdk
ConfigBuilder - Class in com.longportwhale
A Config object builder
ConfigBuilder(String, String, String) - Constructor for class com.longportwhale.ConfigBuilder
Create a `Config` object builder
create(Config) - Static method in class com.longportwhale.trade.TradeContext
Create a TradeContext object
Creditor - com.longportwhale.trade.OrderTag
 

D

Deactive - com.longportwhale.trade.TriggerStatus
 
Debtor - com.longportwhale.trade.OrderTag
 

E

ELO - com.longportwhale.trade.OrderType
 
EN - com.longportwhale.Language
en
Expired - com.longportwhale.trade.OrderStatus
 

F

Filled - com.longportwhale.trade.OrderStatus
 
fromEnv() - Static method in class com.longportwhale.Config
Create a new `Config` from the given environment variables
fromEnv() - Static method in class com.longportwhale.HttpClient
Create a new `HttpClient` from the given environment variables

G

getAccountNo() - Method in class com.longportwhale.trade.PushOrderChanged
 
getCode() - Method in exception com.longportwhale.OpenApiException
 
getCurrency() - Method in class com.longportwhale.trade.PushOrderChanged
 
getExecutedPrice() - Method in class com.longportwhale.trade.PushOrderChanged
 
getExecutedQuantity() - Method in class com.longportwhale.trade.PushOrderChanged
 
getLastPrice() - Method in class com.longportwhale.trade.PushOrderChanged
 
getLastShare() - Method in class com.longportwhale.trade.PushOrderChanged
 
getLimitOffset() - Method in class com.longportwhale.trade.PushOrderChanged
 
getMessage() - Method in exception com.longportwhale.OpenApiException
 
getMsg() - Method in class com.longportwhale.trade.PushOrderChanged
 
getOrderId() - Method in class com.longportwhale.trade.PushOrderChanged
 
getOrderType() - Method in class com.longportwhale.trade.PushOrderChanged
 
getRemark() - Method in class com.longportwhale.trade.PushOrderChanged
 
getSide() - Method in class com.longportwhale.trade.PushOrderChanged
 
getStatus() - Method in class com.longportwhale.trade.PushOrderChanged
 
getStockName() - Method in class com.longportwhale.trade.PushOrderChanged
 
getSubmittedAt() - Method in class com.longportwhale.trade.PushOrderChanged
 
getSubmittedPrice() - Method in class com.longportwhale.trade.PushOrderChanged
 
getSubmittedQuantity() - Method in class com.longportwhale.trade.PushOrderChanged
 
getSymbol() - Method in class com.longportwhale.trade.PushOrderChanged
 
getTag() - Method in class com.longportwhale.trade.PushOrderChanged
 
getTraceId() - Method in exception com.longportwhale.OpenApiException
 
getTrailingAmount() - Method in class com.longportwhale.trade.PushOrderChanged
 
getTrailingPercent() - Method in class com.longportwhale.trade.PushOrderChanged
 
getTriggerAt() - Method in class com.longportwhale.trade.PushOrderChanged
 
getTriggerPrice() - Method in class com.longportwhale.trade.PushOrderChanged
 
getTriggerStatus() - Method in class com.longportwhale.trade.PushOrderChanged
 
getUpdatedAt() - Method in class com.longportwhale.trade.PushOrderChanged
 
Grey - com.longportwhale.trade.OrderTag
 

H

HK - com.longportwhale.Market
HK market
HttpClient - Class in com.longportwhale
 
HttpClient(String, String, String, String) - Constructor for class com.longportwhale.HttpClient
 
httpUrl(String) - Method in class com.longportwhale.ConfigBuilder
Specifies the url of the OpenAPI server.

L

language(Language) - Method in class com.longportwhale.ConfigBuilder
Specifies the language identifer
Language - Enum in com.longportwhale
Language identifer
LIT - com.longportwhale.trade.OrderType
 
LO - com.longportwhale.trade.OrderType
 
LongTerm - com.longportwhale.trade.OrderTag
 

M

MarginCall - com.longportwhale.trade.OrderTag
 
Market - Enum in com.longportwhale
Market
MIT - com.longportwhale.trade.OrderType
 
MO - com.longportwhale.trade.OrderType
 

N

New - com.longportwhale.trade.OrderStatus
 
NonExercise - com.longportwhale.trade.OrderTag
 
Normal - com.longportwhale.trade.OrderTag
 
NotReported - com.longportwhale.trade.OrderStatus
 

O

ODD - com.longportwhale.trade.OrderType
 
Offline - com.longportwhale.trade.OrderTag
 
onOrderChanged(PushOrderChanged) - Method in interface com.longportwhale.trade.OrderChangedHandler
 
OpenApiException - Exception in com.longportwhale
 
OpenApiException(Long, String, String) - Constructor for exception com.longportwhale.OpenApiException
 
OrderChangedHandler - Interface in com.longportwhale.trade
 
OrderSide - Enum in com.longportwhale.trade
 
OrderStatus - Enum in com.longportwhale.trade
 
OrderTag - Enum in com.longportwhale.trade
 
OrderType - Enum in com.longportwhale.trade
 

P

PartialFilled - com.longportwhale.trade.OrderStatus
 
PartialWithdrawal - com.longportwhale.trade.OrderStatus
 
PendingCancel - com.longportwhale.trade.OrderStatus
 
PendingReplace - com.longportwhale.trade.OrderStatus
 
Private - com.longportwhale.trade.TopicType
 
ProtectedNotReported - com.longportwhale.trade.OrderStatus
 
PushOrderChanged - Class in com.longportwhale.trade
 
PushOrderChanged() - Constructor for class com.longportwhale.trade.PushOrderChanged
 

R

Rejected - com.longportwhale.trade.OrderStatus
 
Released - com.longportwhale.trade.TriggerStatus
 
Replaced - com.longportwhale.trade.OrderStatus
 
ReplacedNotReported - com.longportwhale.trade.OrderStatus
 
request(Class<T>, String, String, Object) - Method in class com.longportwhale.HttpClient
Performs a HTTP request
run(AsyncCallback) - Method in interface com.longportwhale.AsyncCallback.AsyncTask
 

S

Sell - com.longportwhale.trade.OrderSide
 
setOnOrderChange(OrderChangedHandler) - Method in class com.longportwhale.trade.TradeContext
Set order changed event callback, after receiving the order changed event, it will call back to this handler.
SG - com.longportwhale.Market
SG market
SLO - com.longportwhale.trade.OrderType
 
subscribe(TopicType[]) - Method in class com.longportwhale.trade.TradeContext
Subscribe

T

TopicType - Enum in com.longportwhale.trade
 
toString() - Method in exception com.longportwhale.OpenApiException
 
toString() - Method in class com.longportwhale.trade.PushOrderChanged
 
TradeContext - Class in com.longportwhale.trade
Trade context
TradeContext() - Constructor for class com.longportwhale.trade.TradeContext
 
tradeWebsocketUrl(String) - Method in class com.longportwhale.ConfigBuilder
Specifies the url of the trade websocket server.
TriggerStatus - Enum in com.longportwhale.trade
 
TSLPAMT - com.longportwhale.trade.OrderType
 
TSLPPCT - com.longportwhale.trade.OrderType
 
TSMAMT - com.longportwhale.trade.OrderType
 
TSMPCT - com.longportwhale.trade.OrderType
 

U

Unknown - com.longportwhale.Market
Unknown
Unknown - com.longportwhale.trade.OrderSide
 
Unknown - com.longportwhale.trade.OrderStatus
 
Unknown - com.longportwhale.trade.OrderTag
 
Unknown - com.longportwhale.trade.OrderType
 
Unknown - com.longportwhale.trade.TriggerStatus
 
unsubscribe(TopicType[]) - Method in class com.longportwhale.trade.TradeContext
Unsubscribe
US - com.longportwhale.Market
US market

V

valueOf(String) - Static method in enum com.longportwhale.Language
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.longportwhale.Market
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.longportwhale.trade.OrderSide
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.longportwhale.trade.OrderStatus
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.longportwhale.trade.OrderTag
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.longportwhale.trade.OrderType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.longportwhale.trade.TopicType
Returns the enum constant of this type with the specified name.
valueOf(String) - Static method in enum com.longportwhale.trade.TriggerStatus
Returns the enum constant of this type with the specified name.
values() - Static method in enum com.longportwhale.Language
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.longportwhale.Market
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.longportwhale.trade.OrderSide
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.longportwhale.trade.OrderStatus
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.longportwhale.trade.OrderTag
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.longportwhale.trade.OrderType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.longportwhale.trade.TopicType
Returns an array containing the constants of this enum type, in the order they are declared.
values() - Static method in enum com.longportwhale.trade.TriggerStatus
Returns an array containing the constants of this enum type, in the order they are declared.
VarietiesNotReported - com.longportwhale.trade.OrderStatus
 

W

WaitToCancel - com.longportwhale.trade.OrderStatus
 
WaitToNew - com.longportwhale.trade.OrderStatus
 
WaitToReplace - com.longportwhale.trade.OrderStatus
 

Z

ZH_CN - com.longportwhale.Language
zh-CN
ZH_HK - com.longportwhale.Language
zh-HK
A B C D E F G H L M N O P R S T U V W Z 
All Classes All Packages