Ticker 24h
=LF.all.getTicker24h
Retrieve the 24-hour price ticker for a symbol
Parameter
symbols: Symbols to include in the query
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
datetime: Date and time
timestamp: Timestamp
average: Average price
open: Opening price
high: Highest price
low: Lowest price
bid: Current highest price that a buyer is willing to pay for an asset
bidVolume: Total volume available at the highest bid price
ask: Current lowest price at which a seller is willing to sell an asset
askVolume: Total volume available at the lowest ask price
vwap: Volume Weighted Average Price of an asset over a specified period
close: Closing price
last: The last traded price of an asset
previousClose: The closing price of the previous trading day
change: The difference between the current price and the previous close price
percentage: The percentage change between the current price and the previous close price
quoteVolume: Quote asset volume
baseVolume: Total trading volume of the base asset
bank_id: Bank sync ID
Order Book
=LF.all.getOrderBook
Get buy/sell orders for a symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
limit: Limit
Result
bank_id: Bank sync ID
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
price: Price per unit
amount: Ordered amount
OHLCV Data
=LF.all.getOHLCV
Retrieve open, high, low, close, and volume data
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
timeframe: The time interval for the data (e.g., 1m, 1h, 1d)
since: Start time for filtering
limit: Limit
Result
bank_id: Bank sync ID
openTime: Opening time
open: Opening price
high: Highest price
low: Lowest price
close: Closing price
volume: Trading volume
Trades
=LF.all.getTrades
Get recent trades for a symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
side: Buy or sell
price: Price per unit
amount: Ordered amount
cost: Total cost
order: Details of a specific trade order
takerOrMaker: Indicates whether the trade was a taker (market order) or maker (limit order)
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Balances
=LF.all.myBalances
Retrieve my account balances
Parameter
onlyPositive: Return only positive balances
Result
free: Available balance
used: Used balance
total: Total balance
debt: Debt amount
bank_id: Bank sync ID
asset: Asset type
My Orders
=LF.all.myOrders
Get my account orders by symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
clientOrderId: Client order ID
datetime: Date and time
timestamp: Timestamp
lastTradeTimestamp: Last trade timestamp
lastUpdateTimestamp: Last update timestamp
timeInForce: Time in force
side: Buy or sell
price: Price per unit
average: Average price
amount: Ordered amount
filled: Filled amount
remaining: Remaining amount
stopPrice: Stop price
triggerPrice: Trigger price for stop-limit
takeProfitPrice: Take profit price
stopLossPrice: Stop loss price
cost: Total cost
trades: List of trades
reduceOnly: Reduce-only order
postOnly: Post-only order
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Trades
=LF.all.myTrades
Get my account trades by symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
side: Buy or sell
price: Price per unit
amount: Ordered amount
cost: Total cost
order: Details of a specific trade order
takerOrMaker: Indicates whether the trade was a taker (market order) or maker (limit order)
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Deposit History
=LF.all.myDeposits
Retrieve my account deposit history
Parameter
asset: Asset type
since: Start time for filtering
limit: Limit
Result
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
amount: Ordered amount
txid: Transaction ID
address: Wallet address
addressFrom: Sender address
addressTo: Recipient address
tag: Address tag
tagFrom: Sender tag
tagTo: Recipient tag
currency: Currency type
updated: Last update time
comment: Additional comments
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
fee_rate: Fee rate
My Withdrawal History
=LF.all.myWithdrawals
Get my account withdrawal history
Parameter
asset: Asset type
since: Start time for filtering
limit: Limit
Result
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
amount: Ordered amount
txid: Transaction ID
address: Wallet address
addressFrom: Sender address
addressTo: Recipient address
tag: Address tag
tagFrom: Sender tag
tagTo: Recipient tag
currency: Currency type
updated: Last update time
comment: Additional comments
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
fee_rate: Fee rate
Ticker 24h
=LF.binance.getTicker24h
Retrieve the 24-hour price ticker for a symbol
Parameter
symbols: Symbols to include in the query
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
datetime: Date and time
timestamp: Timestamp
average: Average price
open: Opening price
high: Highest price
low: Lowest price
bid: Current highest price that a buyer is willing to pay for an asset
bidVolume: Total volume available at the highest bid price
ask: Current lowest price at which a seller is willing to sell an asset
askVolume: Total volume available at the lowest ask price
vwap: Volume Weighted Average Price of an asset over a specified period
close: Closing price
last: The last traded price of an asset
previousClose: The closing price of the previous trading day
change: The difference between the current price and the previous close price
percentage: The percentage change between the current price and the previous close price
quoteVolume: Quote asset volume
baseVolume: Total trading volume of the base asset
bank_id: Bank sync ID
Order Book
=LF.binance.getOrderBook
Get buy/sell orders for a symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
limit: Limit
Result
bank_id: Bank sync ID
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
price: Price per unit
amount: Ordered amount
OHLCV Data
=LF.binance.getOHLCV
Retrieve open, high, low, close, and volume data
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
timeframe: The time interval for the data (e.g., 1m, 1h, 1d)
since: Start time for filtering
limit: Limit
Result
bank_id: Bank sync ID
openTime: Opening time
open: Opening price
high: Highest price
low: Lowest price
close: Closing price
volume: Trading volume
Trades
=LF.binance.getTrades
Get recent trades for a symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
side: Buy or sell
price: Price per unit
amount: Ordered amount
cost: Total cost
order: Details of a specific trade order
takerOrMaker: Indicates whether the trade was a taker (market order) or maker (limit order)
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Balances
=LF.binance.myBalances
Retrieve my account balances
Parameter
onlyPositive: Return only positive balances
Result
free: Available balance
used: Used balance
total: Total balance
debt: Debt amount
bank_id: Bank sync ID
asset: Asset type
My Orders
=LF.binance.myOrders
Get my account orders by symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
clientOrderId: Client order ID
datetime: Date and time
timestamp: Timestamp
lastTradeTimestamp: Last trade timestamp
lastUpdateTimestamp: Last update timestamp
timeInForce: Time in force
side: Buy or sell
price: Price per unit
average: Average price
amount: Ordered amount
filled: Filled amount
remaining: Remaining amount
stopPrice: Stop price
triggerPrice: Trigger price for stop-limit
takeProfitPrice: Take profit price
stopLossPrice: Stop loss price
cost: Total cost
trades: List of trades
reduceOnly: Reduce-only order
postOnly: Post-only order
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Trades
=LF.binance.myTrades
Get my account trades by symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
side: Buy or sell
price: Price per unit
amount: Ordered amount
cost: Total cost
order: Details of a specific trade order
takerOrMaker: Indicates whether the trade was a taker (market order) or maker (limit order)
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Deposit History
=LF.binance.myDeposits
Retrieve my account deposit history
Parameter
asset: Asset type
since: Start time for filtering
limit: Limit
Result
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
amount: Ordered amount
txid: Transaction ID
address: Wallet address
addressFrom: Sender address
addressTo: Recipient address
tag: Address tag
tagFrom: Sender tag
tagTo: Recipient tag
currency: Currency type
updated: Last update time
comment: Additional comments
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
fee_rate: Fee rate
My Withdrawal History
=LF.binance.myWithdrawals
Get my account withdrawal history
Parameter
asset: Asset type
since: Start time for filtering
limit: Limit
Result
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
amount: Ordered amount
txid: Transaction ID
address: Wallet address
addressFrom: Sender address
addressTo: Recipient address
tag: Address tag
tagFrom: Sender tag
tagTo: Recipient tag
currency: Currency type
updated: Last update time
comment: Additional comments
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
fee_rate: Fee rate
My Spot Account Snapshot
=LF.binance.myAccountSnapshotSpot
Retrieve a snapshot of my spot account
Parameter
Result
bank_id: Bank sync ID
updateTime: Update time
asset: Asset type
free: Available balance
locked: Locked balance
My Margin Account Snapshot
=LF.binance.myAccountSnapshotMargin
Retrieve a snapshot of my margin account
Parameter
Result
bank_id: Bank sync ID
updateTime: Update time
asset: Asset type
borrowed: Borrowed amount
free: Available balance
interest: Interest amount
locked: Locked balance
netAsset: Net asset amount
My Futures Account Snapshot
=LF.binance.myAccountSnapshotFutures
Retrieve a snapshot of my futures account
Parameter
Result
bank_id: Bank sync ID
type: Order or trade type (e.g., limit, market)
asset: Asset type
marginBalance: Margin balance
walletBalance: Wallet balance
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
updateTime: Update time
entryPrice: Entry price
markPrice: Mark price
positionAmt: Position amount
unRealizedProfit: Unrealized profit
My Asset Dividend Record
=LF.binance.myAssetDividendRecord
Retrieve my account asset dividend record
Parameter
Result
bank_id: Bank sync ID
id: Unique identifier
amount: Ordered amount
asset: Asset type
divTime: Dividend time
enInfo: English info
tranId: Transaction ID
My Fiat Payments
=LF.binance.myFiatPayments
Get my account fiat payments
Parameter
transactionType: Transaction type
beginTime: Begin time
endTime: End time of the query
page: Page number for pagination
rows: Number of rows to return
Result
bank_id: Bank sync ID
orderNo: Order number
sourceAmount: Source amount
fiatCurrency: Fiat currency
obtainAmount: Obtain amount
cryptoCurrency: Cryptocurrency
totalFee: Total fee
price: Price per unit
status: Current status
paymentMethod: Payment method
createTime: Creation time
updateTime: Update time
My Flexible Positions
=LF.binance.myFlexiblePositions
Retrieve my account flexible positions
Parameter
transactionType: Transaction type
beginTime: Begin time
endTime: End time of the query
page: Page number for pagination
rows: Number of rows to return
Result
bank_id: Bank sync ID
totalAmount: Total amount
tierAnnualPercentageRate: The annual percentage rate for a specific tier
latestAnnualPercentageRate: The most recent annual percentage rate
yesterdayAirdropPercentageRate: The percentage rate for airdrop rewards distributed yesterday
asset: Asset type
airDropAsset: The type of asset received in an airdrop
canRedeem: Indicates whether the asset can be redeemed
collateralAmount: Collateral amount
productId: Product ID
yesterdayRealTimeRewards: Real-time rewards accumulated yesterday
cumulativeBonusRewards: Cumulative bonus rewards
cumulativeRealTimeRewards: Cumulative real-time rewards
cumulativeTotalRewards: Cumulative total rewards
autoSubscribe: Auto-renew subscription
My Locked Positions
=LF.binance.myLockedPositions
Get my account locked positions
Parameter
transactionType: Transaction type
beginTime: Begin time
endTime: End time of the query
page: Page number for pagination
rows: Number of rows to return
Result
bank_id: Bank sync ID
positionId: Position ID
productId: Product ID
asset: Asset type
amount: Ordered amount
purchaseTime: Purchase time
duration: Duration
accrualDays: Accrual days
rewardAsset: The type of asset given as a reward
rewardAmt: Reward amount
nextPay: Next payment
nextPayDate: Next payment date
payPeriod: Payment period
redeemAmountEarly: Early redeem amount
rewardsEndDate: Rewards end date
deliverDate: Delivery date
redeemPeriod: Redeem period
canRedeemEarly: Can redeem early
autoSubscribe: Auto-renew subscription
type: Order or trade type (e.g., limit, market)
status: Current status
canReStake: Can restake
apy: Annual percentage yield (APY)
Ticker 24h
=LF.upbit.getTicker24h
Retrieve the 24-hour price ticker for a symbol
Parameter
symbols: Symbols to include in the query
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
datetime: Date and time
timestamp: Timestamp
average: Average price
open: Opening price
high: Highest price
low: Lowest price
bid: Current highest price that a buyer is willing to pay for an asset
bidVolume: Total volume available at the highest bid price
ask: Current lowest price at which a seller is willing to sell an asset
askVolume: Total volume available at the lowest ask price
vwap: Volume Weighted Average Price of an asset over a specified period
close: Closing price
last: The last traded price of an asset
previousClose: The closing price of the previous trading day
change: The difference between the current price and the previous close price
percentage: The percentage change between the current price and the previous close price
quoteVolume: Quote asset volume
baseVolume: Total trading volume of the base asset
bank_id: Bank sync ID
Order Book
=LF.upbit.getOrderBook
Get buy/sell orders for a symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
limit: Limit
Result
bank_id: Bank sync ID
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
price: Price per unit
amount: Ordered amount
OHLCV Data
=LF.upbit.getOHLCV
Retrieve open, high, low, close, and volume data
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
timeframe: The time interval for the data (e.g., 1m, 1h, 1d)
since: Start time for filtering
limit: Limit
Result
bank_id: Bank sync ID
openTime: Opening time
open: Opening price
high: Highest price
low: Lowest price
close: Closing price
volume: Trading volume
Trades
=LF.upbit.getTrades
Get recent trades for a symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
side: Buy or sell
price: Price per unit
amount: Ordered amount
cost: Total cost
order: Details of a specific trade order
takerOrMaker: Indicates whether the trade was a taker (market order) or maker (limit order)
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Balances
=LF.upbit.myBalances
Retrieve my account balances
Parameter
onlyPositive: Return only positive balances
Result
free: Available balance
used: Used balance
total: Total balance
debt: Debt amount
bank_id: Bank sync ID
asset: Asset type
My Orders
=LF.upbit.myOrders
Get my account orders by symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
clientOrderId: Client order ID
datetime: Date and time
timestamp: Timestamp
lastTradeTimestamp: Last trade timestamp
lastUpdateTimestamp: Last update timestamp
timeInForce: Time in force
side: Buy or sell
price: Price per unit
average: Average price
amount: Ordered amount
filled: Filled amount
remaining: Remaining amount
stopPrice: Stop price
triggerPrice: Trigger price for stop-limit
takeProfitPrice: Take profit price
stopLossPrice: Stop loss price
cost: Total cost
trades: List of trades
reduceOnly: Reduce-only order
postOnly: Post-only order
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Trades
=LF.upbit.myTrades
Get my account trades by symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
side: Buy or sell
price: Price per unit
amount: Ordered amount
cost: Total cost
order: Details of a specific trade order
takerOrMaker: Indicates whether the trade was a taker (market order) or maker (limit order)
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Deposit History
=LF.upbit.myDeposits
Retrieve my account deposit history
Parameter
asset: Asset type
since: Start time for filtering
limit: Limit
Result
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
amount: Ordered amount
txid: Transaction ID
address: Wallet address
addressFrom: Sender address
addressTo: Recipient address
tag: Address tag
tagFrom: Sender tag
tagTo: Recipient tag
currency: Currency type
updated: Last update time
comment: Additional comments
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
fee_rate: Fee rate
My Withdrawal History
=LF.upbit.myWithdrawals
Get my account withdrawal history
Parameter
asset: Asset type
since: Start time for filtering
limit: Limit
Result
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
amount: Ordered amount
txid: Transaction ID
address: Wallet address
addressFrom: Sender address
addressTo: Recipient address
tag: Address tag
tagFrom: Sender tag
tagTo: Recipient tag
currency: Currency type
updated: Last update time
comment: Additional comments
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
fee_rate: Fee rate
Ticker 24h
=LF.bybit.getTicker24h
Retrieve the 24-hour price ticker for a symbol
Parameter
symbols: Symbols to include in the query
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
datetime: Date and time
timestamp: Timestamp
average: Average price
open: Opening price
high: Highest price
low: Lowest price
bid: Current highest price that a buyer is willing to pay for an asset
bidVolume: Total volume available at the highest bid price
ask: Current lowest price at which a seller is willing to sell an asset
askVolume: Total volume available at the lowest ask price
vwap: Volume Weighted Average Price of an asset over a specified period
close: Closing price
last: The last traded price of an asset
previousClose: The closing price of the previous trading day
change: The difference between the current price and the previous close price
percentage: The percentage change between the current price and the previous close price
quoteVolume: Quote asset volume
baseVolume: Total trading volume of the base asset
bank_id: Bank sync ID
Order Book
=LF.bybit.getOrderBook
Get buy/sell orders for a symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
limit: Limit
Result
bank_id: Bank sync ID
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
price: Price per unit
amount: Ordered amount
OHLCV Data
=LF.bybit.getOHLCV
Retrieve open, high, low, close, and volume data
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
timeframe: The time interval for the data (e.g., 1m, 1h, 1d)
since: Start time for filtering
limit: Limit
Result
bank_id: Bank sync ID
openTime: Opening time
open: Opening price
high: Highest price
low: Lowest price
close: Closing price
volume: Trading volume
Trades
=LF.bybit.getTrades
Get recent trades for a symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
side: Buy or sell
price: Price per unit
amount: Ordered amount
cost: Total cost
order: Details of a specific trade order
takerOrMaker: Indicates whether the trade was a taker (market order) or maker (limit order)
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Balances
=LF.bybit.myBalances
Retrieve my account balances
Parameter
onlyPositive: Return only positive balances
Result
free: Available balance
used: Used balance
total: Total balance
debt: Debt amount
bank_id: Bank sync ID
asset: Asset type
My Orders
=LF.bybit.myOrders
Get my account orders by symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
clientOrderId: Client order ID
datetime: Date and time
timestamp: Timestamp
lastTradeTimestamp: Last trade timestamp
lastUpdateTimestamp: Last update timestamp
timeInForce: Time in force
side: Buy or sell
price: Price per unit
average: Average price
amount: Ordered amount
filled: Filled amount
remaining: Remaining amount
stopPrice: Stop price
triggerPrice: Trigger price for stop-limit
takeProfitPrice: Take profit price
stopLossPrice: Stop loss price
cost: Total cost
trades: List of trades
reduceOnly: Reduce-only order
postOnly: Post-only order
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Trades
=LF.bybit.myTrades
Get my account trades by symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
side: Buy or sell
price: Price per unit
amount: Ordered amount
cost: Total cost
order: Details of a specific trade order
takerOrMaker: Indicates whether the trade was a taker (market order) or maker (limit order)
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Deposit History
=LF.bybit.myDeposits
Retrieve my account deposit history
Parameter
asset: Asset type
since: Start time for filtering
limit: Limit
Result
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
amount: Ordered amount
txid: Transaction ID
address: Wallet address
addressFrom: Sender address
addressTo: Recipient address
tag: Address tag
tagFrom: Sender tag
tagTo: Recipient tag
currency: Currency type
updated: Last update time
comment: Additional comments
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
fee_rate: Fee rate
My Withdrawal History
=LF.bybit.myWithdrawals
Get my account withdrawal history
Parameter
asset: Asset type
since: Start time for filtering
limit: Limit
Result
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
amount: Ordered amount
txid: Transaction ID
address: Wallet address
addressFrom: Sender address
addressTo: Recipient address
tag: Address tag
tagFrom: Sender tag
tagTo: Recipient tag
currency: Currency type
updated: Last update time
comment: Additional comments
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
fee_rate: Fee rate
Ticker 24h
=LF.okx.getTicker24h
Retrieve the 24-hour price ticker for a symbol
Parameter
symbols: Symbols to include in the query
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
datetime: Date and time
timestamp: Timestamp
average: Average price
open: Opening price
high: Highest price
low: Lowest price
bid: Current highest price that a buyer is willing to pay for an asset
bidVolume: Total volume available at the highest bid price
ask: Current lowest price at which a seller is willing to sell an asset
askVolume: Total volume available at the lowest ask price
vwap: Volume Weighted Average Price of an asset over a specified period
close: Closing price
last: The last traded price of an asset
previousClose: The closing price of the previous trading day
change: The difference between the current price and the previous close price
percentage: The percentage change between the current price and the previous close price
quoteVolume: Quote asset volume
baseVolume: Total trading volume of the base asset
bank_id: Bank sync ID
Order Book
=LF.okx.getOrderBook
Get buy/sell orders for a symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
limit: Limit
Result
bank_id: Bank sync ID
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
price: Price per unit
amount: Ordered amount
OHLCV Data
=LF.okx.getOHLCV
Retrieve open, high, low, close, and volume data
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
timeframe: The time interval for the data (e.g., 1m, 1h, 1d)
since: Start time for filtering
limit: Limit
Result
bank_id: Bank sync ID
openTime: Opening time
open: Opening price
high: Highest price
low: Lowest price
close: Closing price
volume: Trading volume
Trades
=LF.okx.getTrades
Get recent trades for a symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
side: Buy or sell
price: Price per unit
amount: Ordered amount
cost: Total cost
order: Details of a specific trade order
takerOrMaker: Indicates whether the trade was a taker (market order) or maker (limit order)
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Balances
=LF.okx.myBalances
Retrieve my account balances
Parameter
onlyPositive: Return only positive balances
Result
free: Available balance
used: Used balance
total: Total balance
debt: Debt amount
bank_id: Bank sync ID
asset: Asset type
My Orders
=LF.okx.myOrders
Get my account orders by symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
clientOrderId: Client order ID
datetime: Date and time
timestamp: Timestamp
lastTradeTimestamp: Last trade timestamp
lastUpdateTimestamp: Last update timestamp
timeInForce: Time in force
side: Buy or sell
price: Price per unit
average: Average price
amount: Ordered amount
filled: Filled amount
remaining: Remaining amount
stopPrice: Stop price
triggerPrice: Trigger price for stop-limit
takeProfitPrice: Take profit price
stopLossPrice: Stop loss price
cost: Total cost
trades: List of trades
reduceOnly: Reduce-only order
postOnly: Post-only order
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Trades
=LF.okx.myTrades
Get my account trades by symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
side: Buy or sell
price: Price per unit
amount: Ordered amount
cost: Total cost
order: Details of a specific trade order
takerOrMaker: Indicates whether the trade was a taker (market order) or maker (limit order)
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Deposit History
=LF.okx.myDeposits
Retrieve my account deposit history
Parameter
asset: Asset type
since: Start time for filtering
limit: Limit
Result
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
amount: Ordered amount
txid: Transaction ID
address: Wallet address
addressFrom: Sender address
addressTo: Recipient address
tag: Address tag
tagFrom: Sender tag
tagTo: Recipient tag
currency: Currency type
updated: Last update time
comment: Additional comments
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
fee_rate: Fee rate
My Withdrawal History
=LF.okx.myWithdrawals
Get my account withdrawal history
Parameter
asset: Asset type
since: Start time for filtering
limit: Limit
Result
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
amount: Ordered amount
txid: Transaction ID
address: Wallet address
addressFrom: Sender address
addressTo: Recipient address
tag: Address tag
tagFrom: Sender tag
tagTo: Recipient tag
currency: Currency type
updated: Last update time
comment: Additional comments
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
fee_rate: Fee rate
Ticker 24h
=LF.coinbase.getTicker24h
Retrieve the 24-hour price ticker for a symbol
Parameter
symbols: Symbols to include in the query
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
datetime: Date and time
timestamp: Timestamp
average: Average price
open: Opening price
high: Highest price
low: Lowest price
bid: Current highest price that a buyer is willing to pay for an asset
bidVolume: Total volume available at the highest bid price
ask: Current lowest price at which a seller is willing to sell an asset
askVolume: Total volume available at the lowest ask price
vwap: Volume Weighted Average Price of an asset over a specified period
close: Closing price
last: The last traded price of an asset
previousClose: The closing price of the previous trading day
change: The difference between the current price and the previous close price
percentage: The percentage change between the current price and the previous close price
quoteVolume: Quote asset volume
baseVolume: Total trading volume of the base asset
bank_id: Bank sync ID
Order Book
=LF.coinbase.getOrderBook
Get buy/sell orders for a symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
limit: Limit
Result
bank_id: Bank sync ID
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
price: Price per unit
amount: Ordered amount
OHLCV Data
=LF.coinbase.getOHLCV
Retrieve open, high, low, close, and volume data
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
timeframe: The time interval for the data (e.g., 1m, 1h, 1d)
since: Start time for filtering
limit: Limit
Result
bank_id: Bank sync ID
openTime: Opening time
open: Opening price
high: Highest price
low: Lowest price
close: Closing price
volume: Trading volume
Trades
=LF.coinbase.getTrades
Get recent trades for a symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
side: Buy or sell
price: Price per unit
amount: Ordered amount
cost: Total cost
order: Details of a specific trade order
takerOrMaker: Indicates whether the trade was a taker (market order) or maker (limit order)
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Balances
=LF.coinbase.myBalances
Retrieve my account balances
Parameter
onlyPositive: Return only positive balances
Result
free: Available balance
used: Used balance
total: Total balance
debt: Debt amount
bank_id: Bank sync ID
asset: Asset type
My Orders
=LF.coinbase.myOrders
Get my account orders by symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
clientOrderId: Client order ID
datetime: Date and time
timestamp: Timestamp
lastTradeTimestamp: Last trade timestamp
lastUpdateTimestamp: Last update timestamp
timeInForce: Time in force
side: Buy or sell
price: Price per unit
average: Average price
amount: Ordered amount
filled: Filled amount
remaining: Remaining amount
stopPrice: Stop price
triggerPrice: Trigger price for stop-limit
takeProfitPrice: Take profit price
stopLossPrice: Stop loss price
cost: Total cost
trades: List of trades
reduceOnly: Reduce-only order
postOnly: Post-only order
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Trades
=LF.coinbase.myTrades
Get my account trades by symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
side: Buy or sell
price: Price per unit
amount: Ordered amount
cost: Total cost
order: Details of a specific trade order
takerOrMaker: Indicates whether the trade was a taker (market order) or maker (limit order)
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Deposit History
=LF.coinbase.myDeposits
Retrieve my account deposit history
Parameter
asset: Asset type
since: Start time for filtering
limit: Limit
Result
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
amount: Ordered amount
txid: Transaction ID
address: Wallet address
addressFrom: Sender address
addressTo: Recipient address
tag: Address tag
tagFrom: Sender tag
tagTo: Recipient tag
currency: Currency type
updated: Last update time
comment: Additional comments
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
fee_rate: Fee rate
My Withdrawal History
=LF.coinbase.myWithdrawals
Get my account withdrawal history
Parameter
asset: Asset type
since: Start time for filtering
limit: Limit
Result
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
amount: Ordered amount
txid: Transaction ID
address: Wallet address
addressFrom: Sender address
addressTo: Recipient address
tag: Address tag
tagFrom: Sender tag
tagTo: Recipient tag
currency: Currency type
updated: Last update time
comment: Additional comments
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
fee_rate: Fee rate
Ticker 24h
=LF.kucoin.getTicker24h
Retrieve the 24-hour price ticker for a symbol
Parameter
symbols: Symbols to include in the query
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
datetime: Date and time
timestamp: Timestamp
average: Average price
open: Opening price
high: Highest price
low: Lowest price
bid: Current highest price that a buyer is willing to pay for an asset
bidVolume: Total volume available at the highest bid price
ask: Current lowest price at which a seller is willing to sell an asset
askVolume: Total volume available at the lowest ask price
vwap: Volume Weighted Average Price of an asset over a specified period
close: Closing price
last: The last traded price of an asset
previousClose: The closing price of the previous trading day
change: The difference between the current price and the previous close price
percentage: The percentage change between the current price and the previous close price
quoteVolume: Quote asset volume
baseVolume: Total trading volume of the base asset
bank_id: Bank sync ID
Order Book
=LF.kucoin.getOrderBook
Get buy/sell orders for a symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
limit: Limit
Result
bank_id: Bank sync ID
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
price: Price per unit
amount: Ordered amount
OHLCV Data
=LF.kucoin.getOHLCV
Retrieve open, high, low, close, and volume data
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
timeframe: The time interval for the data (e.g., 1m, 1h, 1d)
since: Start time for filtering
limit: Limit
Result
bank_id: Bank sync ID
openTime: Opening time
open: Opening price
high: Highest price
low: Lowest price
close: Closing price
volume: Trading volume
Trades
=LF.kucoin.getTrades
Get recent trades for a symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
side: Buy or sell
price: Price per unit
amount: Ordered amount
cost: Total cost
order: Details of a specific trade order
takerOrMaker: Indicates whether the trade was a taker (market order) or maker (limit order)
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Balances
=LF.kucoin.myBalances
Retrieve my account balances
Parameter
onlyPositive: Return only positive balances
Result
free: Available balance
used: Used balance
total: Total balance
debt: Debt amount
bank_id: Bank sync ID
asset: Asset type
My Orders
=LF.kucoin.myOrders
Get my account orders by symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
clientOrderId: Client order ID
datetime: Date and time
timestamp: Timestamp
lastTradeTimestamp: Last trade timestamp
lastUpdateTimestamp: Last update timestamp
timeInForce: Time in force
side: Buy or sell
price: Price per unit
average: Average price
amount: Ordered amount
filled: Filled amount
remaining: Remaining amount
stopPrice: Stop price
triggerPrice: Trigger price for stop-limit
takeProfitPrice: Take profit price
stopLossPrice: Stop loss price
cost: Total cost
trades: List of trades
reduceOnly: Reduce-only order
postOnly: Post-only order
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Trades
=LF.kucoin.myTrades
Get my account trades by symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
side: Buy or sell
price: Price per unit
amount: Ordered amount
cost: Total cost
order: Details of a specific trade order
takerOrMaker: Indicates whether the trade was a taker (market order) or maker (limit order)
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Deposit History
=LF.kucoin.myDeposits
Retrieve my account deposit history
Parameter
asset: Asset type
since: Start time for filtering
limit: Limit
Result
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
amount: Ordered amount
txid: Transaction ID
address: Wallet address
addressFrom: Sender address
addressTo: Recipient address
tag: Address tag
tagFrom: Sender tag
tagTo: Recipient tag
currency: Currency type
updated: Last update time
comment: Additional comments
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
fee_rate: Fee rate
My Withdrawal History
=LF.kucoin.myWithdrawals
Get my account withdrawal history
Parameter
asset: Asset type
since: Start time for filtering
limit: Limit
Result
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
amount: Ordered amount
txid: Transaction ID
address: Wallet address
addressFrom: Sender address
addressTo: Recipient address
tag: Address tag
tagFrom: Sender tag
tagTo: Recipient tag
currency: Currency type
updated: Last update time
comment: Additional comments
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
fee_rate: Fee rate
Ticker 24h
=LF.bitget.getTicker24h
Retrieve the 24-hour price ticker for a symbol
Parameter
symbols: Symbols to include in the query
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
datetime: Date and time
timestamp: Timestamp
average: Average price
open: Opening price
high: Highest price
low: Lowest price
bid: Current highest price that a buyer is willing to pay for an asset
bidVolume: Total volume available at the highest bid price
ask: Current lowest price at which a seller is willing to sell an asset
askVolume: Total volume available at the lowest ask price
vwap: Volume Weighted Average Price of an asset over a specified period
close: Closing price
last: The last traded price of an asset
previousClose: The closing price of the previous trading day
change: The difference between the current price and the previous close price
percentage: The percentage change between the current price and the previous close price
quoteVolume: Quote asset volume
baseVolume: Total trading volume of the base asset
bank_id: Bank sync ID
Order Book
=LF.bitget.getOrderBook
Get buy/sell orders for a symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
limit: Limit
Result
bank_id: Bank sync ID
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
price: Price per unit
amount: Ordered amount
OHLCV Data
=LF.bitget.getOHLCV
Retrieve open, high, low, close, and volume data
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
timeframe: The time interval for the data (e.g., 1m, 1h, 1d)
since: Start time for filtering
limit: Limit
Result
bank_id: Bank sync ID
openTime: Opening time
open: Opening price
high: Highest price
low: Lowest price
close: Closing price
volume: Trading volume
Trades
=LF.bitget.getTrades
Get recent trades for a symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
side: Buy or sell
price: Price per unit
amount: Ordered amount
cost: Total cost
order: Details of a specific trade order
takerOrMaker: Indicates whether the trade was a taker (market order) or maker (limit order)
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Balances
=LF.bitget.myBalances
Retrieve my account balances
Parameter
onlyPositive: Return only positive balances
Result
free: Available balance
used: Used balance
total: Total balance
debt: Debt amount
bank_id: Bank sync ID
asset: Asset type
My Orders
=LF.bitget.myOrders
Get my account orders by symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
clientOrderId: Client order ID
datetime: Date and time
timestamp: Timestamp
lastTradeTimestamp: Last trade timestamp
lastUpdateTimestamp: Last update timestamp
timeInForce: Time in force
side: Buy or sell
price: Price per unit
average: Average price
amount: Ordered amount
filled: Filled amount
remaining: Remaining amount
stopPrice: Stop price
triggerPrice: Trigger price for stop-limit
takeProfitPrice: Take profit price
stopLossPrice: Stop loss price
cost: Total cost
trades: List of trades
reduceOnly: Reduce-only order
postOnly: Post-only order
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Trades
=LF.bitget.myTrades
Get my account trades by symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
side: Buy or sell
price: Price per unit
amount: Ordered amount
cost: Total cost
order: Details of a specific trade order
takerOrMaker: Indicates whether the trade was a taker (market order) or maker (limit order)
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Deposit History
=LF.bitget.myDeposits
Retrieve my account deposit history
Parameter
asset: Asset type
since: Start time for filtering
limit: Limit
Result
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
amount: Ordered amount
txid: Transaction ID
address: Wallet address
addressFrom: Sender address
addressTo: Recipient address
tag: Address tag
tagFrom: Sender tag
tagTo: Recipient tag
currency: Currency type
updated: Last update time
comment: Additional comments
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
fee_rate: Fee rate
My Withdrawal History
=LF.bitget.myWithdrawals
Get my account withdrawal history
Parameter
asset: Asset type
since: Start time for filtering
limit: Limit
Result
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
amount: Ordered amount
txid: Transaction ID
address: Wallet address
addressFrom: Sender address
addressTo: Recipient address
tag: Address tag
tagFrom: Sender tag
tagTo: Recipient tag
currency: Currency type
updated: Last update time
comment: Additional comments
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
fee_rate: Fee rate
Ticker 24h
=LF.gateio.getTicker24h
Retrieve the 24-hour price ticker for a symbol
Parameter
symbols: Symbols to include in the query
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
datetime: Date and time
timestamp: Timestamp
average: Average price
open: Opening price
high: Highest price
low: Lowest price
bid: Current highest price that a buyer is willing to pay for an asset
bidVolume: Total volume available at the highest bid price
ask: Current lowest price at which a seller is willing to sell an asset
askVolume: Total volume available at the lowest ask price
vwap: Volume Weighted Average Price of an asset over a specified period
close: Closing price
last: The last traded price of an asset
previousClose: The closing price of the previous trading day
change: The difference between the current price and the previous close price
percentage: The percentage change between the current price and the previous close price
quoteVolume: Quote asset volume
baseVolume: Total trading volume of the base asset
bank_id: Bank sync ID
Order Book
=LF.gateio.getOrderBook
Get buy/sell orders for a symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
limit: Limit
Result
bank_id: Bank sync ID
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
price: Price per unit
amount: Ordered amount
OHLCV Data
=LF.gateio.getOHLCV
Retrieve open, high, low, close, and volume data
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
timeframe: The time interval for the data (e.g., 1m, 1h, 1d)
since: Start time for filtering
limit: Limit
Result
bank_id: Bank sync ID
openTime: Opening time
open: Opening price
high: Highest price
low: Lowest price
close: Closing price
volume: Trading volume
Trades
=LF.gateio.getTrades
Get recent trades for a symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
side: Buy or sell
price: Price per unit
amount: Ordered amount
cost: Total cost
order: Details of a specific trade order
takerOrMaker: Indicates whether the trade was a taker (market order) or maker (limit order)
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Balances
=LF.gateio.myBalances
Retrieve my account balances
Parameter
onlyPositive: Return only positive balances
Result
free: Available balance
used: Used balance
total: Total balance
debt: Debt amount
bank_id: Bank sync ID
asset: Asset type
My Orders
=LF.gateio.myOrders
Get my account orders by symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
clientOrderId: Client order ID
datetime: Date and time
timestamp: Timestamp
lastTradeTimestamp: Last trade timestamp
lastUpdateTimestamp: Last update timestamp
timeInForce: Time in force
side: Buy or sell
price: Price per unit
average: Average price
amount: Ordered amount
filled: Filled amount
remaining: Remaining amount
stopPrice: Stop price
triggerPrice: Trigger price for stop-limit
takeProfitPrice: Take profit price
stopLossPrice: Stop loss price
cost: Total cost
trades: List of trades
reduceOnly: Reduce-only order
postOnly: Post-only order
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Trades
=LF.gateio.myTrades
Get my account trades by symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
side: Buy or sell
price: Price per unit
amount: Ordered amount
cost: Total cost
order: Details of a specific trade order
takerOrMaker: Indicates whether the trade was a taker (market order) or maker (limit order)
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Deposit History
=LF.gateio.myDeposits
Retrieve my account deposit history
Parameter
asset: Asset type
since: Start time for filtering
limit: Limit
Result
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
amount: Ordered amount
txid: Transaction ID
address: Wallet address
addressFrom: Sender address
addressTo: Recipient address
tag: Address tag
tagFrom: Sender tag
tagTo: Recipient tag
currency: Currency type
updated: Last update time
comment: Additional comments
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
fee_rate: Fee rate
My Withdrawal History
=LF.gateio.myWithdrawals
Get my account withdrawal history
Parameter
asset: Asset type
since: Start time for filtering
limit: Limit
Result
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
amount: Ordered amount
txid: Transaction ID
address: Wallet address
addressFrom: Sender address
addressTo: Recipient address
tag: Address tag
tagFrom: Sender tag
tagTo: Recipient tag
currency: Currency type
updated: Last update time
comment: Additional comments
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
fee_rate: Fee rate
Ticker 24h
=LF.htx.getTicker24h
Retrieve the 24-hour price ticker for a symbol
Parameter
symbols: Symbols to include in the query
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
datetime: Date and time
timestamp: Timestamp
average: Average price
open: Opening price
high: Highest price
low: Lowest price
bid: Current highest price that a buyer is willing to pay for an asset
bidVolume: Total volume available at the highest bid price
ask: Current lowest price at which a seller is willing to sell an asset
askVolume: Total volume available at the lowest ask price
vwap: Volume Weighted Average Price of an asset over a specified period
close: Closing price
last: The last traded price of an asset
previousClose: The closing price of the previous trading day
change: The difference between the current price and the previous close price
percentage: The percentage change between the current price and the previous close price
quoteVolume: Quote asset volume
baseVolume: Total trading volume of the base asset
bank_id: Bank sync ID
Order Book
=LF.htx.getOrderBook
Get buy/sell orders for a symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
limit: Limit
Result
bank_id: Bank sync ID
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
price: Price per unit
amount: Ordered amount
OHLCV Data
=LF.htx.getOHLCV
Retrieve open, high, low, close, and volume data
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
timeframe: The time interval for the data (e.g., 1m, 1h, 1d)
since: Start time for filtering
limit: Limit
Result
bank_id: Bank sync ID
openTime: Opening time
open: Opening price
high: Highest price
low: Lowest price
close: Closing price
volume: Trading volume
Trades
=LF.htx.getTrades
Get recent trades for a symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
side: Buy or sell
price: Price per unit
amount: Ordered amount
cost: Total cost
order: Details of a specific trade order
takerOrMaker: Indicates whether the trade was a taker (market order) or maker (limit order)
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Balances
=LF.htx.myBalances
Retrieve my account balances
Parameter
onlyPositive: Return only positive balances
Result
free: Available balance
used: Used balance
total: Total balance
debt: Debt amount
bank_id: Bank sync ID
asset: Asset type
My Orders
=LF.htx.myOrders
Get my account orders by symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
clientOrderId: Client order ID
datetime: Date and time
timestamp: Timestamp
lastTradeTimestamp: Last trade timestamp
lastUpdateTimestamp: Last update timestamp
timeInForce: Time in force
side: Buy or sell
price: Price per unit
average: Average price
amount: Ordered amount
filled: Filled amount
remaining: Remaining amount
stopPrice: Stop price
triggerPrice: Trigger price for stop-limit
takeProfitPrice: Take profit price
stopLossPrice: Stop loss price
cost: Total cost
trades: List of trades
reduceOnly: Reduce-only order
postOnly: Post-only order
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Trades
=LF.htx.myTrades
Get my account trades by symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
side: Buy or sell
price: Price per unit
amount: Ordered amount
cost: Total cost
order: Details of a specific trade order
takerOrMaker: Indicates whether the trade was a taker (market order) or maker (limit order)
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Deposit History
=LF.htx.myDeposits
Retrieve my account deposit history
Parameter
asset: Asset type
since: Start time for filtering
limit: Limit
Result
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
amount: Ordered amount
txid: Transaction ID
address: Wallet address
addressFrom: Sender address
addressTo: Recipient address
tag: Address tag
tagFrom: Sender tag
tagTo: Recipient tag
currency: Currency type
updated: Last update time
comment: Additional comments
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
fee_rate: Fee rate
My Withdrawal History
=LF.htx.myWithdrawals
Get my account withdrawal history
Parameter
asset: Asset type
since: Start time for filtering
limit: Limit
Result
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
amount: Ordered amount
txid: Transaction ID
address: Wallet address
addressFrom: Sender address
addressTo: Recipient address
tag: Address tag
tagFrom: Sender tag
tagTo: Recipient tag
currency: Currency type
updated: Last update time
comment: Additional comments
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
fee_rate: Fee rate
Ticker 24h
=LF.mexc.getTicker24h
Retrieve the 24-hour price ticker for a symbol
Parameter
symbols: Symbols to include in the query
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
datetime: Date and time
timestamp: Timestamp
average: Average price
open: Opening price
high: Highest price
low: Lowest price
bid: Current highest price that a buyer is willing to pay for an asset
bidVolume: Total volume available at the highest bid price
ask: Current lowest price at which a seller is willing to sell an asset
askVolume: Total volume available at the lowest ask price
vwap: Volume Weighted Average Price of an asset over a specified period
close: Closing price
last: The last traded price of an asset
previousClose: The closing price of the previous trading day
change: The difference between the current price and the previous close price
percentage: The percentage change between the current price and the previous close price
quoteVolume: Quote asset volume
baseVolume: Total trading volume of the base asset
bank_id: Bank sync ID
Order Book
=LF.mexc.getOrderBook
Get buy/sell orders for a symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
limit: Limit
Result
bank_id: Bank sync ID
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
price: Price per unit
amount: Ordered amount
OHLCV Data
=LF.mexc.getOHLCV
Retrieve open, high, low, close, and volume data
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
timeframe: The time interval for the data (e.g., 1m, 1h, 1d)
since: Start time for filtering
limit: Limit
Result
bank_id: Bank sync ID
openTime: Opening time
open: Opening price
high: Highest price
low: Lowest price
close: Closing price
volume: Trading volume
Trades
=LF.mexc.getTrades
Get recent trades for a symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
side: Buy or sell
price: Price per unit
amount: Ordered amount
cost: Total cost
order: Details of a specific trade order
takerOrMaker: Indicates whether the trade was a taker (market order) or maker (limit order)
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Balances
=LF.mexc.myBalances
Retrieve my account balances
Parameter
onlyPositive: Return only positive balances
Result
free: Available balance
used: Used balance
total: Total balance
debt: Debt amount
bank_id: Bank sync ID
asset: Asset type
My Orders
=LF.mexc.myOrders
Get my account orders by symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
clientOrderId: Client order ID
datetime: Date and time
timestamp: Timestamp
lastTradeTimestamp: Last trade timestamp
lastUpdateTimestamp: Last update timestamp
timeInForce: Time in force
side: Buy or sell
price: Price per unit
average: Average price
amount: Ordered amount
filled: Filled amount
remaining: Remaining amount
stopPrice: Stop price
triggerPrice: Trigger price for stop-limit
takeProfitPrice: Take profit price
stopLossPrice: Stop loss price
cost: Total cost
trades: List of trades
reduceOnly: Reduce-only order
postOnly: Post-only order
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Trades
=LF.mexc.myTrades
Get my account trades by symbol
Parameter
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
since: Start time for filtering
limit: Limit
Result
symbol: Trading symbol (e.g., BTCUSD, ETHBTC)
type: Order or trade type (e.g., limit, market)
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
side: Buy or sell
price: Price per unit
amount: Ordered amount
cost: Total cost
order: Details of a specific trade order
takerOrMaker: Indicates whether the trade was a taker (market order) or maker (limit order)
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
My Deposit History
=LF.mexc.myDeposits
Retrieve my account deposit history
Parameter
asset: Asset type
since: Start time for filtering
limit: Limit
Result
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
amount: Ordered amount
txid: Transaction ID
address: Wallet address
addressFrom: Sender address
addressTo: Recipient address
tag: Address tag
tagFrom: Sender tag
tagTo: Recipient tag
currency: Currency type
updated: Last update time
comment: Additional comments
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
fee_rate: Fee rate
My Withdrawal History
=LF.mexc.myWithdrawals
Get my account withdrawal history
Parameter
asset: Asset type
since: Start time for filtering
limit: Limit
Result
type: Order or trade type (e.g., limit, market)
status: Current status
id: Unique identifier
datetime: Date and time
timestamp: Timestamp
amount: Ordered amount
txid: Transaction ID
address: Wallet address
addressFrom: Sender address
addressTo: Recipient address
tag: Address tag
tagFrom: Sender tag
tagTo: Recipient tag
currency: Currency type
updated: Last update time
comment: Additional comments
bank_id: Bank sync ID
fee_cost: Fee cost
fee_currency: Fee currency
fee_rate: Fee rate