public interface ITradeClient
| 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.
|
TradeOrderResponse |
cancelOption(String accountId,
OptionOrder optionOrder)
This interface is exclusively available for Webull Hong Kong brokerage clients.
|
OrderResponse |
cancelOrder(String accountId,
String clientOrderId) |
<T extends BalanceBase> |
getAccountBalance(String accountId,
String totalAssetCurrency) |
AccountDetail |
getAccountDetail(String accountId) |
List<Account> |
getAccountList(String subscriptionId) |
AccountPositions |
getAccountPositions(String accountId,
Integer pageSize,
String lastId) |
<T extends Order> |
getDayOrders(String accountId,
Integer pageSize,
String lastClientOrderId) |
<T extends Order> |
getOpenedOrders(String accountId,
Integer pageSize,
String lastClientOrderId) |
<T extends Order> |
getOrderDetails(String accountId,
String clientOrderId) |
InstrumentInfo |
getSecurityInfo(String symbol,
String market,
String instrumentSuperType,
String instrumentType,
String strikePrice,
String initExpDate) |
TradableInstruments |
getTradeableInstruments(String lastSecurityId,
Integer pageSize)
Only for Webull JP
|
List<TradeCalendar> |
getTradeCalendar(String market,
String start,
String end) |
InstrumentInfo |
getTradeInstrument(String instrumentId) |
TradeOrderResponse |
placeOption(String accountId,
OptionOrder optionOrder)
This interface is exclusively available for Webull Hong Kong brokerage clients.
|
OrderResponse |
placeOrder(String accountId,
StockOrder stockOrder) |
PreviewOrderResponse |
previewOption(String accountId,
OptionOrder optionOrder)
This interface is exclusively available for Webull Hong Kong brokerage clients.
|
void |
removeCustomHeaders()
Clearing headers after the request is completed.
|
TradeOrderResponse |
replaceOption(String accountId,
OptionOrder optionOrder)
This interface is exclusively available for Webull Hong Kong brokerage clients.
|
OrderResponse |
replaceOrder(String accountId,
StockOrder stockOrder) |
AccountDetail getAccountDetail(String accountId)
<T extends BalanceBase> T getAccountBalance(String accountId, String totalAssetCurrency)
AccountPositions getAccountPositions(String accountId, Integer pageSize, String lastId)
OrderResponse placeOrder(String accountId, StockOrder stockOrder)
OrderResponse replaceOrder(String accountId, StockOrder stockOrder)
OrderResponse cancelOrder(String accountId, String clientOrderId)
<T extends Order> Orders<T> getDayOrders(String accountId, Integer pageSize, String lastClientOrderId)
<T extends Order> Orders<T> getOpenedOrders(String accountId, Integer pageSize, String lastClientOrderId)
InstrumentInfo getTradeInstrument(String instrumentId)
TradableInstruments getTradeableInstruments(String lastSecurityId, Integer pageSize)
List<TradeCalendar> getTradeCalendar(String market, String start, String end)
InstrumentInfo getSecurityInfo(String symbol, String market, String instrumentSuperType, String instrumentType, String strikePrice, String initExpDate)
PreviewOrderResponse previewOption(String accountId, OptionOrder optionOrder)
TradeOrderResponse placeOption(String accountId, OptionOrder optionOrder)
TradeOrderResponse replaceOption(String accountId, OptionOrder optionOrder)
TradeOrderResponse cancelOption(String accountId, OptionOrder optionOrder)
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.