Ticker 24h

=LF.binance.getTicker24h

Retrieve the 24-hour price ticker for a symbol

Parameters

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

indexPrice: The weighted average price of an asset across multiple major spot market exchanges, serving as a stable reference point for derivatives trading.

markPrice: Mark price

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

indexPrice: The weighted average price of an asset across multiple major spot market exchanges, serving as a stable reference point for derivatives trading.

markPrice: Mark price

Order Book

=LF.binance.getOrderBook

Get buy/sell orders for a symbol

Parameters

symbol: Trading symbol (e.g., BTCUSD, ETHBTC)

type: Order or trade type (e.g., limit, market)

price: Price per unit

amount: Ordered amount

Result

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

Parameters

openTime: Opening time

open: Opening price

high: Highest price

low: Lowest price

close: Closing price

volume: Trading volume

Result

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

Parameters

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)

fee_cost: Fee cost

fee_currency: Fee currency

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)

fee_cost: Fee cost

fee_currency: Fee currency

My Balances

=LF.binance.myBalances

Retrieve my account balances

Parameters

free: Available balance

used: Used balance

total: Total balance

debt: Debt amount

asset: Asset type

Result

free: Available balance

used: Used balance

total: Total balance

debt: Debt amount

asset: Asset type

My Orders

=LF.binance.myOrders

Get my account orders by symbol

Parameters

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

fee_cost: Fee cost

fee_currency: Fee currency

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

fee_cost: Fee cost

fee_currency: Fee currency

My Trades

=LF.binance.myTrades

Get my account trades by symbol

Parameters

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)

fee_cost: Fee cost

fee_currency: Fee currency

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)

fee_cost: Fee cost

fee_currency: Fee currency

My Deposit History

=LF.binance.myDeposits

Retrieve my account deposit history

Parameters

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

My Withdrawal History

=LF.binance.myWithdrawals

Get my account withdrawal history

Parameters

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

Ticker 24h

=LF.upbit.getTicker24h

Retrieve the 24-hour price ticker for a symbol

Parameters

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

indexPrice: The weighted average price of an asset across multiple major spot market exchanges, serving as a stable reference point for derivatives trading.

markPrice: Mark price

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

indexPrice: The weighted average price of an asset across multiple major spot market exchanges, serving as a stable reference point for derivatives trading.

markPrice: Mark price

Order Book

=LF.upbit.getOrderBook

Get buy/sell orders for a symbol

Parameters

symbol: Trading symbol (e.g., BTCUSD, ETHBTC)

type: Order or trade type (e.g., limit, market)

price: Price per unit

amount: Ordered amount

Result

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

Parameters

openTime: Opening time

open: Opening price

high: Highest price

low: Lowest price

close: Closing price

volume: Trading volume

Result

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

Parameters

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)

fee_cost: Fee cost

fee_currency: Fee currency

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)

fee_cost: Fee cost

fee_currency: Fee currency

My Balances

=LF.upbit.myBalances

Retrieve my account balances

Parameters

free: Available balance

used: Used balance

total: Total balance

debt: Debt amount

asset: Asset type

Result

free: Available balance

used: Used balance

total: Total balance

debt: Debt amount

asset: Asset type

My Orders

=LF.upbit.myOrders

Get my account orders by symbol

Parameters

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

fee_cost: Fee cost

fee_currency: Fee currency

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

fee_cost: Fee cost

fee_currency: Fee currency

My Trades

=LF.upbit.myTrades

Get my account trades by symbol

Parameters

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)

fee_cost: Fee cost

fee_currency: Fee currency

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)

fee_cost: Fee cost

fee_currency: Fee currency

My Deposit History

=LF.upbit.myDeposits

Retrieve my account deposit history

Parameters

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

My Withdrawal History

=LF.upbit.myWithdrawals

Get my account withdrawal history

Parameters

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

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

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

Parameters

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

indexPrice: The weighted average price of an asset across multiple major spot market exchanges, serving as a stable reference point for derivatives trading.

markPrice: Mark price

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

indexPrice: The weighted average price of an asset across multiple major spot market exchanges, serving as a stable reference point for derivatives trading.

markPrice: Mark price

Order Book

=LF.bybit.getOrderBook

Get buy/sell orders for a symbol

Parameters

symbol: Trading symbol (e.g., BTCUSD, ETHBTC)

type: Order or trade type (e.g., limit, market)

price: Price per unit

amount: Ordered amount

Result

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

Parameters

openTime: Opening time

open: Opening price

high: Highest price

low: Lowest price

close: Closing price

volume: Trading volume

Result

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

Parameters

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)

fee_cost: Fee cost

fee_currency: Fee currency

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)

fee_cost: Fee cost

fee_currency: Fee currency

My Balances

=LF.bybit.myBalances

Retrieve my account balances

Parameters

free: Available balance

used: Used balance

total: Total balance

debt: Debt amount

asset: Asset type

Result

free: Available balance

used: Used balance

total: Total balance

debt: Debt amount

asset: Asset type

My Orders

=LF.bybit.myOrders

Get my account orders by symbol

Parameters

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

fee_cost: Fee cost

fee_currency: Fee currency

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

fee_cost: Fee cost

fee_currency: Fee currency

My Trades

=LF.bybit.myTrades

Get my account trades by symbol

Parameters

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)

fee_cost: Fee cost

fee_currency: Fee currency

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)

fee_cost: Fee cost

fee_currency: Fee currency

My Deposit History

=LF.bybit.myDeposits

Retrieve my account deposit history

Parameters

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

My Withdrawal History

=LF.bybit.myWithdrawals

Get my account withdrawal history

Parameters

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

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

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

Parameters

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

indexPrice: The weighted average price of an asset across multiple major spot market exchanges, serving as a stable reference point for derivatives trading.

markPrice: Mark price

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

indexPrice: The weighted average price of an asset across multiple major spot market exchanges, serving as a stable reference point for derivatives trading.

markPrice: Mark price

Order Book

=LF.okx.getOrderBook

Get buy/sell orders for a symbol

Parameters

symbol: Trading symbol (e.g., BTCUSD, ETHBTC)

type: Order or trade type (e.g., limit, market)

price: Price per unit

amount: Ordered amount

Result

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

Parameters

openTime: Opening time

open: Opening price

high: Highest price

low: Lowest price

close: Closing price

volume: Trading volume

Result

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

Parameters

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)

fee_cost: Fee cost

fee_currency: Fee currency

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)

fee_cost: Fee cost

fee_currency: Fee currency

My Balances

=LF.okx.myBalances

Retrieve my account balances

Parameters

free: Available balance

used: Used balance

total: Total balance

debt: Debt amount

asset: Asset type

Result

free: Available balance

used: Used balance

total: Total balance

debt: Debt amount

asset: Asset type

My Orders

=LF.okx.myOrders

Get my account orders by symbol

Parameters

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

fee_cost: Fee cost

fee_currency: Fee currency

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

fee_cost: Fee cost

fee_currency: Fee currency

My Trades

=LF.okx.myTrades

Get my account trades by symbol

Parameters

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)

fee_cost: Fee cost

fee_currency: Fee currency

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)

fee_cost: Fee cost

fee_currency: Fee currency

My Deposit History

=LF.okx.myDeposits

Retrieve my account deposit history

Parameters

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

My Withdrawal History

=LF.okx.myWithdrawals

Get my account withdrawal history

Parameters

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

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

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

Parameters

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

indexPrice: The weighted average price of an asset across multiple major spot market exchanges, serving as a stable reference point for derivatives trading.

markPrice: Mark price

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

indexPrice: The weighted average price of an asset across multiple major spot market exchanges, serving as a stable reference point for derivatives trading.

markPrice: Mark price

Order Book

=LF.coinbase.getOrderBook

Get buy/sell orders for a symbol

Parameters

symbol: Trading symbol (e.g., BTCUSD, ETHBTC)

type: Order or trade type (e.g., limit, market)

price: Price per unit

amount: Ordered amount

Result

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

Parameters

openTime: Opening time

open: Opening price

high: Highest price

low: Lowest price

close: Closing price

volume: Trading volume

Result

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

Parameters

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)

fee_cost: Fee cost

fee_currency: Fee currency

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)

fee_cost: Fee cost

fee_currency: Fee currency

My Balances

=LF.coinbase.myBalances

Retrieve my account balances

Parameters

free: Available balance

used: Used balance

total: Total balance

debt: Debt amount

asset: Asset type

Result

free: Available balance

used: Used balance

total: Total balance

debt: Debt amount

asset: Asset type

My Orders

=LF.coinbase.myOrders

Get my account orders by symbol

Parameters

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

fee_cost: Fee cost

fee_currency: Fee currency

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

fee_cost: Fee cost

fee_currency: Fee currency

My Trades

=LF.coinbase.myTrades

Get my account trades by symbol

Parameters

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)

fee_cost: Fee cost

fee_currency: Fee currency

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)

fee_cost: Fee cost

fee_currency: Fee currency

My Deposit History

=LF.coinbase.myDeposits

Retrieve my account deposit history

Parameters

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

My Withdrawal History

=LF.coinbase.myWithdrawals

Get my account withdrawal history

Parameters

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

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

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

Parameters

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

indexPrice: The weighted average price of an asset across multiple major spot market exchanges, serving as a stable reference point for derivatives trading.

markPrice: Mark price

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

indexPrice: The weighted average price of an asset across multiple major spot market exchanges, serving as a stable reference point for derivatives trading.

markPrice: Mark price

Order Book

=LF.bitget.getOrderBook

Get buy/sell orders for a symbol

Parameters

symbol: Trading symbol (e.g., BTCUSD, ETHBTC)

type: Order or trade type (e.g., limit, market)

price: Price per unit

amount: Ordered amount

Result

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

Parameters

openTime: Opening time

open: Opening price

high: Highest price

low: Lowest price

close: Closing price

volume: Trading volume

Result

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

Parameters

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)

fee_cost: Fee cost

fee_currency: Fee currency

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)

fee_cost: Fee cost

fee_currency: Fee currency

My Balances

=LF.bitget.myBalances

Retrieve my account balances

Parameters

free: Available balance

used: Used balance

total: Total balance

debt: Debt amount

asset: Asset type

Result

free: Available balance

used: Used balance

total: Total balance

debt: Debt amount

asset: Asset type

My Orders

=LF.bitget.myOrders

Get my account orders by symbol

Parameters

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

fee_cost: Fee cost

fee_currency: Fee currency

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

fee_cost: Fee cost

fee_currency: Fee currency

My Trades

=LF.bitget.myTrades

Get my account trades by symbol

Parameters

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)

fee_cost: Fee cost

fee_currency: Fee currency

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)

fee_cost: Fee cost

fee_currency: Fee currency

My Deposit History

=LF.bitget.myDeposits

Retrieve my account deposit history

Parameters

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

My Withdrawal History

=LF.bitget.myWithdrawals

Get my account withdrawal history

Parameters

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

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

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

Parameters

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

indexPrice: The weighted average price of an asset across multiple major spot market exchanges, serving as a stable reference point for derivatives trading.

markPrice: Mark price

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

indexPrice: The weighted average price of an asset across multiple major spot market exchanges, serving as a stable reference point for derivatives trading.

markPrice: Mark price

Order Book

=LF.gateio.getOrderBook

Get buy/sell orders for a symbol

Parameters

symbol: Trading symbol (e.g., BTCUSD, ETHBTC)

type: Order or trade type (e.g., limit, market)

price: Price per unit

amount: Ordered amount

Result

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

Parameters

openTime: Opening time

open: Opening price

high: Highest price

low: Lowest price

close: Closing price

volume: Trading volume

Result

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

Parameters

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)

fee_cost: Fee cost

fee_currency: Fee currency

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)

fee_cost: Fee cost

fee_currency: Fee currency

My Balances

=LF.gateio.myBalances

Retrieve my account balances

Parameters

free: Available balance

used: Used balance

total: Total balance

debt: Debt amount

asset: Asset type

Result

free: Available balance

used: Used balance

total: Total balance

debt: Debt amount

asset: Asset type

My Orders

=LF.gateio.myOrders

Get my account orders by symbol

Parameters

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

fee_cost: Fee cost

fee_currency: Fee currency

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

fee_cost: Fee cost

fee_currency: Fee currency

My Trades

=LF.gateio.myTrades

Get my account trades by symbol

Parameters

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)

fee_cost: Fee cost

fee_currency: Fee currency

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)

fee_cost: Fee cost

fee_currency: Fee currency

My Deposit History

=LF.gateio.myDeposits

Retrieve my account deposit history

Parameters

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

My Withdrawal History

=LF.gateio.myWithdrawals

Get my account withdrawal history

Parameters

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

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

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

Parameters

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

indexPrice: The weighted average price of an asset across multiple major spot market exchanges, serving as a stable reference point for derivatives trading.

markPrice: Mark price

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

indexPrice: The weighted average price of an asset across multiple major spot market exchanges, serving as a stable reference point for derivatives trading.

markPrice: Mark price

Order Book

=LF.htx.getOrderBook

Get buy/sell orders for a symbol

Parameters

symbol: Trading symbol (e.g., BTCUSD, ETHBTC)

type: Order or trade type (e.g., limit, market)

price: Price per unit

amount: Ordered amount

Result

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

Parameters

openTime: Opening time

open: Opening price

high: Highest price

low: Lowest price

close: Closing price

volume: Trading volume

Result

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

Parameters

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)

fee_cost: Fee cost

fee_currency: Fee currency

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)

fee_cost: Fee cost

fee_currency: Fee currency

My Balances

=LF.htx.myBalances

Retrieve my account balances

Parameters

free: Available balance

used: Used balance

total: Total balance

debt: Debt amount

asset: Asset type

Result

free: Available balance

used: Used balance

total: Total balance

debt: Debt amount

asset: Asset type

My Orders

=LF.htx.myOrders

Get my account orders by symbol

Parameters

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

fee_cost: Fee cost

fee_currency: Fee currency

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

fee_cost: Fee cost

fee_currency: Fee currency

My Trades

=LF.htx.myTrades

Get my account trades by symbol

Parameters

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)

fee_cost: Fee cost

fee_currency: Fee currency

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)

fee_cost: Fee cost

fee_currency: Fee currency

My Deposit History

=LF.htx.myDeposits

Retrieve my account deposit history

Parameters

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

My Withdrawal History

=LF.htx.myWithdrawals

Get my account withdrawal history

Parameters

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

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

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

Parameters

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

indexPrice: The weighted average price of an asset across multiple major spot market exchanges, serving as a stable reference point for derivatives trading.

markPrice: Mark price

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

indexPrice: The weighted average price of an asset across multiple major spot market exchanges, serving as a stable reference point for derivatives trading.

markPrice: Mark price

Order Book

=LF.mexc.getOrderBook

Get buy/sell orders for a symbol

Parameters

symbol: Trading symbol (e.g., BTCUSD, ETHBTC)

type: Order or trade type (e.g., limit, market)

price: Price per unit

amount: Ordered amount

Result

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

Parameters

openTime: Opening time

open: Opening price

high: Highest price

low: Lowest price

close: Closing price

volume: Trading volume

Result

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

Parameters

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)

fee_cost: Fee cost

fee_currency: Fee currency

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)

fee_cost: Fee cost

fee_currency: Fee currency

My Balances

=LF.mexc.myBalances

Retrieve my account balances

Parameters

free: Available balance

used: Used balance

total: Total balance

debt: Debt amount

asset: Asset type

Result

free: Available balance

used: Used balance

total: Total balance

debt: Debt amount

asset: Asset type

My Orders

=LF.mexc.myOrders

Get my account orders by symbol

Parameters

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

fee_cost: Fee cost

fee_currency: Fee currency

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

fee_cost: Fee cost

fee_currency: Fee currency

My Trades

=LF.mexc.myTrades

Get my account trades by symbol

Parameters

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)

fee_cost: Fee cost

fee_currency: Fee currency

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)

fee_cost: Fee cost

fee_currency: Fee currency

My Deposit History

=LF.mexc.myDeposits

Retrieve my account deposit history

Parameters

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

My Withdrawal History

=LF.mexc.myWithdrawals

Get my account withdrawal history

Parameters

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

Ticker 24h

=LF.shopify.getTicker24h

Retrieve the 24-hour price ticker for a symbol

Parameters

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

indexPrice: The weighted average price of an asset across multiple major spot market exchanges, serving as a stable reference point for derivatives trading.

markPrice: Mark price

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

indexPrice: The weighted average price of an asset across multiple major spot market exchanges, serving as a stable reference point for derivatives trading.

markPrice: Mark price

Order Book

=LF.shopify.getOrderBook

Get buy/sell orders for a symbol

Parameters

symbol: Trading symbol (e.g., BTCUSD, ETHBTC)

type: Order or trade type (e.g., limit, market)

price: Price per unit

amount: Ordered amount

Result

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.shopify.getOHLCV

Retrieve open, high, low, close, and volume data

Parameters

openTime: Opening time

open: Opening price

high: Highest price

low: Lowest price

close: Closing price

volume: Trading volume

Result

openTime: Opening time

open: Opening price

high: Highest price

low: Lowest price

close: Closing price

volume: Trading volume

Trades

=LF.shopify.getTrades

Get recent trades for a symbol

Parameters

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)

fee_cost: Fee cost

fee_currency: Fee currency

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)

fee_cost: Fee cost

fee_currency: Fee currency

My Balances

=LF.shopify.myBalances

Retrieve my account balances

Parameters

free: Available balance

used: Used balance

total: Total balance

debt: Debt amount

asset: Asset type

Result

free: Available balance

used: Used balance

total: Total balance

debt: Debt amount

asset: Asset type

My Orders

=LF.shopify.myOrders

Get my account orders by symbol

Parameters

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

fee_cost: Fee cost

fee_currency: Fee currency

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

fee_cost: Fee cost

fee_currency: Fee currency

My Trades

=LF.shopify.myTrades

Get my account trades by symbol

Parameters

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)

fee_cost: Fee cost

fee_currency: Fee currency

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)

fee_cost: Fee cost

fee_currency: Fee currency

My Deposit History

=LF.shopify.myDeposits

Retrieve my account deposit history

Parameters

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

My Withdrawal History

=LF.shopify.myWithdrawals

Get my account withdrawal history

Parameters

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate

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

fee_cost: Fee cost

fee_currency: Fee currency

fee_rate: Fee rate