public interface ITradeV2Client
| Modifier and Type | Method and Description |
|---|---|
void |
addCustomHeaders(Map<String,String> headersMap)
This is an optional feature; you can still make a request without setting it.
|
AccountBalanceInfo |
balanceAccount(String accountId)
This interface is currently supported only for Webull HK and Webull US.
|
TradeOrderResponse |
cancelOption(String accountId,
OptionOrder optionOrder)
This interface is currently supported only for Webull HK and Webull US.
|
TradeOrderResponse |
cancelOrder(String accountId,
TradeOrder tradeOrder)
This interface is currently supported only for Webull HK and Webull US.
|
OrderHistory |
getOrderDetails(String accountId,
String clientOrderId)
This interface is currently supported only for Webull HK and Webull US.
|
List<TradeCalendar> |
getTradeCalendar(String market,
String start,
String end)
This interface is currently supported only for Webull HK and Webull US.
|
List<Account> |
listAccount()
This interface is currently supported only for Webull HK and Webull US.
|
List<OrderHistory> |
listOrders(String accountId,
Integer pageSize,
String startDate,
String endDate,
String lastClientOrderId)
Deprecated.
|
List<OrderHistory> |
listOrders(String accountId,
Integer pageSize,
String startDate,
String endDate,
String lastClientOrderId,
String lastOrderId)
This interface is currently supported only for Webull HK and Webull US.
|
List<OrderHistory> |
openOrders(String accountId,
Integer pageSize,
String lastOrderId)
Deprecated.
|
List<OrderHistory> |
openOrders(String accountId,
Integer pageSize,
String lastClientOrderId,
String lastOrderId)
This interface is currently supported only for Webull HK.
|
TradeOrderResponse |
placeOption(String accountId,
OptionOrder optionOrder)
This interface is currently supported only for Webull HK and Webull US.
|
TradeOrderResponse |
placeOrder(String accountId,
TradeOrder tradeOrder)
This interface is currently supported only for Webull HK and Webull US.
|
List<AccountPositionsInfo> |
positionsAccount(String accountId)
This interface is currently supported only for Webull HK and Webull US.
|
PreviewOrderResponse |
previewOption(String accountId,
OptionOrder optionOrder)
This interface is currently supported only for Webull HK and Webull US.
|
PreviewOrderResponse |
previewOrder(String accountId,
TradeOrder tradeOrder)
This interface is currently supported only for Webull HK and Webull US.
|
void |
removeCustomHeaders()
Clearing headers
|
TradeOrderResponse |
replaceOption(String accountId,
OptionOrder optionOrder)
This interface is currently supported only for Webull HK and Webull US.
|
TradeOrderResponse |
replaceOrder(String accountId,
TradeOrder tradeOrder)
This interface is currently supported only for Webull HK and Webull US.
|
List<Account> listAccount()
AccountBalanceInfo balanceAccount(String accountId)
List<AccountPositionsInfo> positionsAccount(String accountId)
PreviewOrderResponse previewOrder(String accountId, TradeOrder tradeOrder)
TradeOrderResponse placeOrder(String accountId, TradeOrder tradeOrder)
TradeOrderResponse replaceOrder(String accountId, TradeOrder tradeOrder)
TradeOrderResponse cancelOrder(String accountId, TradeOrder tradeOrder)
@Deprecated List<OrderHistory> listOrders(String accountId, Integer pageSize, String startDate, String endDate, String lastClientOrderId)
@Deprecated List<OrderHistory> openOrders(String accountId, Integer pageSize, String lastOrderId)
List<OrderHistory> listOrders(String accountId, Integer pageSize, String startDate, String endDate, String lastClientOrderId, String lastOrderId)
List<OrderHistory> openOrders(String accountId, Integer pageSize, String lastClientOrderId, String lastOrderId)
OrderHistory getOrderDetails(String accountId, String clientOrderId)
PreviewOrderResponse previewOption(String accountId, OptionOrder optionOrder)
TradeOrderResponse placeOption(String accountId, OptionOrder optionOrder)
TradeOrderResponse replaceOption(String accountId, OptionOrder optionOrder)
TradeOrderResponse cancelOption(String accountId, OptionOrder optionOrder)
List<TradeCalendar> getTradeCalendar(String market, String start, String end)
void addCustomHeaders(Map<String,String> headersMap)
Category
Function: Frequency limit rules, please refer to the document for details. currently only supports Hong KongheadersMap - void removeCustomHeaders()
Copyright © 2025 Webull. All rights reserved.