MEXC connection for LinkyFlow

MEXC connection for LinkyFlow

LinkyFlow brings MEXC data into Excel with 32 workflows for market analysis, wallet monitoring, and reporting without switching tools.

Resources

21

Read requests

19

Write actions

13

Documented fields

298

Workflows you can move into Excel

Each resource below maps to a practical spreadsheet workflow. Read actions bring useful columns into Excel; create and edit actions show what can be reviewed in rows before sending changes.

Connection

Get My Capabilities

What this connection can actually do right now: which account types are reachable and which operations are available or unavailable, with the reason. Costs no exchange call.

Read

Get My Capabilities

What this connection can actually do right now: which account types are reachable and which operations are available or unavailable, with the reason. Costs no exchange call.

Route: GET /myCapabilities

Excel formula: =LF.mexc.myCapabilities("selection", "fields")

Inputs you can set
NameTypeRequiredDescription
linkstringYes-
Data returned in Excel
Field
Type
Relations
Description
accountTypes

string[]

-

capabilities

string

-

linkyflowStage

enum

-

provider

enum

-

providerEnvironment

enum

-

Futures

Get Funding Rate

Retrieve the current funding rate for the given perpetual contract symbols

Read

Get Funding Rate

Retrieve the current funding rate for the given perpetual contract symbols

Route: GET /getFundingRate

Excel formula: =LF.mexc.getFundingRate("selection", "fields")

Inputs you can set
NameTypeRequiredDescription
symbolsenumYesFutures/perpetual contract symbols, e.g. BTC/USDT:USDT
marketDataEnvironmentenumNoWhere the prices come from. Defaults to the selected connection's environment, so a testnet connection is never shown production prices with... Values: production, testnet, demo
Data returned in Excel
Field
Type
Relations
Description
_meta

string

-

datetime

date

-

estimatedSettlePrice

number

-

fundingDatetime

date

-

fundingRate

number

-

fundingTimestamp

number

-

indexPrice

number

-

interestRate

number

-

interval

string

-

markPrice

number

-

nextFundingDatetime

date

-

nextFundingRate

number

-

nextFundingTimestamp

number

-

symbol

enum

-

timestamp

number

-

Get My Futures Balances

Fetch my futures (swap) wallet balances (free, used, total)

Read

Get My Futures Balances

Fetch my futures (swap) wallet balances (free, used, total)

Route: GET /myFuturesBalances

Excel formula: =LF.mexc.myFuturesBalances("selection", "fields")

Inputs you can set
NameTypeRequiredDescription
linkstringYes-
onlyPositivebooleanNoFilter to show only positive balances Default: true
Data returned in Excel
Field
Type
Relations
Description
asset

enum

-

free

number

-

total

number

-

used

number

-

Edit

Margin Mode

Margin Mode

Route: PATCH /setMarginMode

Inputs you can set
NameTypeRequiredDescription
marginModeenumYesValues: isolated, cross
symbolenumYes-
Data returned in Excel

This action returns a confirmation rather than a selectable table.

Get My Positions

List my open futures positions with P&L and risk metrics

Read

Get My Positions

List my open futures positions with P&L and risk metrics

Route: GET /myPositions

Excel formula: =LF.mexc.myPositions("selection", "fields")

Inputs you can set
NameTypeRequiredDescription
linkstringYes-
symbolsenumNoFutures/perpetual contract symbols, e.g. BTC/USDT:USDT
accountTypeenumNoWhich futures account: future_usdm (USD-margined, the default) or future_coinm (coin-margined). They are separate wallets with separate posi... Default: future_usdm Values: future_usdm, future_coinm
Data returned in Excel
Field
Type
Relations
Description
accountType

enum

-

closable

boolean

-

collateral

number

-

contracts

number

-

contractSize

number

-

datetime

date

-

entryPrice

number

-

hedged

boolean

-

initialMargin

number

-

initialMarginPercentage

number

-

leverage

number

-

liquidationPrice

number

-

maintenanceMargin

number

-

maintenanceMarginPercentage

number

-

marginMode

enum

-

marginRatio

number

-

markPrice

number

-

notional

number

-

percentage

number

-

provider

enum

-

side

enum

-

symbol

enum

-

timestamp

number

-

unrealizedPnl

number

-

Create

Futures Order

Futures Order

Route: POST /postFuturesTrade

Inputs you can set
NameTypeRequiredDescription
amountnumberYes-
leveragenumberNo-
marginModeenumNoValues: isolated, cross
pricenumberNo-
reduceOnlybooleanNo-
sideenumYesValues: buy, sell
symbolenumYes-
timeInForceenumNoValues: FOK, GTC, IOC, PO
typeenumYesValues: LIMIT, LIMIT_MAKER, MARKET
Data returned in Excel

This action returns a confirmation rather than a selectable table.

Edit

Leverage

Leverage

Route: PATCH /setLeverage

Inputs you can set
NameTypeRequiredDescription
leveragenumberYes-
symbolenumYes-
Data returned in Excel

This action returns a confirmation rather than a selectable table.

Edit

Close Position

Close Position

Route: DELETE /closePosition

Inputs you can set
NameTypeRequiredDescription
sideenumNoValues: long, short
symbolenumYes-
Data returned in Excel

This action returns a confirmation rather than a selectable table.

Margin

Get My Borrow Interest

List the interest accrued on my margin borrows

Read

Get My Borrow Interest

List the interest accrued on my margin borrows

Route: GET /myBorrowInterest

Excel formula: =LF.mexc.myBorrowInterest("selection", "fields")

Inputs you can set
NameTypeRequiredDescription
linkstringYes-
assetenumNoAsset symbol for deposits or withdrawals Default: USDT
symbolenumNoTrading symbol or market pair, e.g. BTC/USDT
sincedateNoFetch data starting from this timestamp
limitnumberNoMaximum number of records to fetch
Data returned in Excel
Field
Type
Relations
Description
amountBorrowed

number

-

currency

string

-

datetime

date

-

interest

number

-

interestRate

number

-

marginMode

enum

-

symbol

enum

-

timestamp

number

-

Get My Borrow Rates

Current margin borrow interest rates (cross per asset, isolated per pair)

Read

Get My Borrow Rates

Current margin borrow interest rates (cross per asset, isolated per pair)

Route: GET /myBorrowRates

Excel formula: =LF.mexc.myBorrowRates("selection", "fields")

Inputs you can set
NameTypeRequiredDescription
linkstringYes-
assetenumNoAsset symbol for deposits or withdrawals Default: USDT
marginModeenumNoMargin mode for the position (isolated or cross) Default: cross Values: isolated, cross
Data returned in Excel
Field
Type
Relations
Description
currency

string

-

datetime

date

-

period

number

-

rate

number

-

symbol

enum

-

timestamp

number

-

Get My Margin Balances

Fetch my margin account balances with borrowed debt (cross or isolated)

Read

Get My Margin Balances

Fetch my margin account balances with borrowed debt (cross or isolated)

Route: GET /myMarginBalances

Excel formula: =LF.mexc.myMarginBalances("selection", "fields")

Inputs you can set
NameTypeRequiredDescription
linkstringYes-
onlyPositivebooleanNoFilter to show only positive balances Default: true
marginModeenumNoMargin mode for the position (isolated or cross) Default: cross Values: isolated, cross
symbolsenumNoList of trading symbols or market pairs, e.g. BTC/USDT, ETH/EUR
Data returned in Excel
Field
Type
Relations
Description
asset

enum

-

debt

number

-

free

number

-

symbol

enum

-

total

number

-

used

number

-

Create

Margin Order

Margin Order

Route: POST /postMarginTrade

Inputs you can set
NameTypeRequiredDescription
amountnumberYes-
marginModeenumNoValues: isolated, cross
pricenumberNo-
sideenumYesValues: buy, sell
sideEffectenumNoValues: NO_SIDE_EFFECT, MARGIN_BUY, AUTO_REPAY, AUTO_BORROW_REPAY
symbolenumYes-
timeInForceenumNoValues: FOK, GTC, IOC, PO
typeenumYesValues: LIMIT, LIMIT_MAKER, MARKET
Data returned in Excel

This action returns a confirmation rather than a selectable table.

Edit

Borrow

Borrow

Route: PATCH /borrowMargin

Inputs you can set
NameTypeRequiredDescription
amountnumberYes-
assetenumYes-
marginModeenumNoValues: isolated, cross
symbolenumNo-
Data returned in Excel

This action returns a confirmation rather than a selectable table.

Edit

Repay

Repay

Route: DELETE /repayMargin

Inputs you can set
NameTypeRequiredDescription
amountnumberYes-
assetenumYes-
marginModeenumNoValues: isolated, cross
symbolenumNo-
Data returned in Excel

This action returns a confirmation rather than a selectable table.

Spot

Cancel Order

Cancel one resting order, from its row.

Create

Cancel Order

Cancel Order

Route: POST /openOrderCancel

Inputs you can set
NameTypeRequiredDescription
accountTypeenumNoValues: spot, margin_cross, margin_isolated, future_usdm, future_coinm
orderIdstringYes-
symbolenumYes-
Data returned in Excel

This action returns a confirmation rather than a selectable table.

Cancel Order

Cancel one resting order, from its row.

Create

Cancel Order

Cancel Order

Route: POST /orderCancel

Inputs you can set
NameTypeRequiredDescription
accountTypeenumNoValues: spot, margin_cross, margin_isolated, future_usdm, future_coinm
orderIdstringYes-
symbolenumYes-
Data returned in Excel

This action returns a confirmation rather than a selectable table.

Get Market Metadata

Trading rules for a symbol: minimum and maximum quantity, lot step, price tick and minimum notional. Use it to size an order that the exchange will accept.

Read

Get Market Metadata

Trading rules for a symbol: minimum and maximum quantity, lot step, price tick and minimum notional. Use it to size an order that the exchange will accept.

Route: GET /getMarketMetadata

Excel formula: =LF.mexc.getMarketMetadata("selection", "fields")

Inputs you can set
NameTypeRequiredDescription
symbolenumYesTrading symbol or market pair, e.g. BTC/USDT
Data returned in Excel
Field
Type
Relations
Description
active

boolean

-

base

string

-

contract

boolean

-

maxNotional

string

-

maxPrice

string

-

maxQty

string

-

minNotional

string

-

minPrice

string

-

minQty

string

-

quote

string

-

settle

string

-

stepSize

string

-

symbol

enum

-

tickSize

string

-

type

string

-

Get My Balances

Fetch my account balances (free, used, total). Filter with "assets" to read only the ones you care about instead of the whole wallet, and pick the account with "accountType".

Read

Get My Balances

Fetch my account balances (free, used, total). Filter with "assets" to read only the ones you care about instead of the whole wallet, and pick the account with "accountType".

Route: GET /myBalances

Excel formula: =LF.mexc.myBalances("selection", "fields")

Inputs you can set
NameTypeRequiredDescription
linkstringYes-
assetsenumNoOnly these assets, e.g. BTC,USDT. Omit for the whole wallet.
accountTypeenumNoWhich account: spot, margin_cross, margin_isolated, future_usdm or future_coinm. Replaces marginMode, which is still accepted. Default: spot Values: spot, margin_cross, margin_isolated, future_usdm, future_coinm
onlyPositivebooleanNoFilter to show only positive balances Default: true
limitnumberNoMaximum number of records to fetch
cursorstringNoOpaque cursor from a previous page. Pass it back verbatim; never build or edit one.
Data returned in Excel
Field
Type
Relations
Description
accountType

enum

-

asset

enum

-

debt

number

-

debtExact

string

-

free

number

-

freeExact

string

-

providerEnvironment

enum

-

total

number

-

totalExact

string

-

used

number

-

usedExact

string

-

Get My Deposits

List my deposit history. Not every connection can serve it — a sandbox account can be much narrower than the real venue — and the capability matrix says so up front rather than failing at the exchange.

Read

Get My Deposits

List my deposit history. Not every connection can serve it — a sandbox account can be much narrower than the real venue — and the capability matrix says so up front rather than failing at the exchange.

Route: GET /myDeposits

Excel formula: =LF.mexc.myDeposits("selection", "fields")

Inputs you can set
NameTypeRequiredDescription
linkstringYes-
assetenumNoAsset symbol for deposits or withdrawals Default: USDT
sincedateNoFetch data starting from this timestamp
untildateNoRead up to this date. ISO 8601 or an epoch in milliseconds.
statusenumNoCurrent status of the order or transaction
networkstringNoChain of a deposit or withdrawal, e.g. TRC20.
txIdstringNoOn-chain transaction id to look up.
limitnumberNoMaximum number of records to fetch
cursorstringNoOpaque cursor from a previous page. Pass it back verbatim; never build or edit one.
Data returned in Excel
Field
Type
Relations
Description
address

string

-

addressFrom

string

-

addressTo

string

-

amount

number

-

comment

string

-

currency

string

-

datetime

date

-

fee_cost

number

-

fee_currency

string

-

fee_rate

number

-

fees

string

-

id

id

-

network

string

-

providerData

string

-

status

enum

-

tag

string

-

tagTo

string

-

timestamp

number

-

txid

string

-

type

enum

-

updated

number

-

Get My Open Orders

List the orders still resting on the book, across every pair when no symbol is given. Use it to find the orderId to cancel.

Read

Get My Open Orders

List the orders still resting on the book, across every pair when no symbol is given. Use it to find the orderId to cancel.

Route: GET /myOpenOrders

Excel formula: =LF.mexc.myOpenOrders("selection", "fields")

Inputs you can set
NameTypeRequiredDescription
linkstringYes-
symbolenumYesTrading symbol or market pair, e.g. BTC/USDT
accountTypeenumNoWhich account: spot, margin_cross, margin_isolated, future_usdm or future_coinm. Replaces marginMode, which is still accepted. Default: spot Values: spot, margin_cross, margin_isolated, future_usdm, future_coinm
Data returned in Excel
Field
Type
Relations
Description
_meta

string

-

accountType

enum

-

amount

number

-

amountExact

string

-

average

number

-

averagePrice

number

-

averagePriceExact

string

-

cancellable

boolean

-

clientOrderId

string

-

cost

number

-

costExact

string

-

datetime

date

-

fee_cost

number

-

fee_currency

string

-

feeCost

number

-

feeCostExact

string

-

feeCurrency

string

-

filled

number

-

filledExact

string

-

id

id

-

lastUpdateTimestamp

number

-

orderType

enum

-

price

number

-

priceExact

string

-

providerEnvironment

enum

-

providerOrderId

string

-

remaining

number

-

remainingExact

string

-

side

enum

-

status

enum

-

stopPrice

number

-

stopPriceExact

string

-

symbol

enum

-

timeInForce

string

-

timestamp

number

-

type

enum

-

Edit

Cancel All

Cancel All

Route: DELETE /cancelAllOrders

Inputs you can set
NameTypeRequiredDescription
accountTypeenumNoValues: spot, margin_cross, margin_isolated, future_usdm, future_coinm
confirmbooleanYes-
symbolenumNo-
Data returned in Excel

This action returns a confirmation rather than a selectable table.

Get My Orders

List my open and closed orders

Used as filter by

Read

Get My Orders

List my open and closed orders

Route: GET /myOrders

Excel formula: =LF.mexc.myOrders("selection", "fields")

Inputs you can set
NameTypeRequiredDescription
linkstringYes-
symbolenumYesTrading symbol or market pair, e.g. BTC/USDT
statusenumNoopen, partially_filled, filled, canceled, expired or rejected Values: open, partially_filled, filled, canceled, expired
sideenumNoBuy or sell. BUY/SELL are still accepted and converted. Values: buy, sell
sincedateNoFetch data starting from this timestamp
untildateNoRead up to this date. ISO 8601 or an epoch in milliseconds.
limitnumberNoMaximum number of records to fetch
cursorstringNoOpaque cursor from a previous page. Pass it back verbatim; never build or edit one.
accountTypeenumNoWhich account: spot, margin_cross, margin_isolated, future_usdm or future_coinm. Replaces marginMode, which is still accepted. Default: spot Values: spot, margin_cross, margin_isolated, future_usdm, future_coinm
Data returned in Excel
Field
Type
Relations
Description
_meta

string

-

accountType

enum

-

amount

number

-

amountExact

string

-

average

number

-

averagePrice

number

-

averagePriceExact

string

-

cancellable

boolean

-

clientOrderId

string

-

cost

number

-

costExact

string

-

datetime

date

-

fee_cost

number

-

fee_currency

string

-

feeCost

number

-

feeCostExact

string

-

feeCurrency

string

-

filled

number

-

filledExact

string

-

id

id

-

lastUpdateTimestamp

number

-

orderType

enum

-

price

number

-

priceExact

string

-

providerEnvironment

enum

-

providerOrderId

string

-

remaining

number

-

remainingExact

string

-

side

enum

-

status

enum

-

stopPrice

number

-

stopPriceExact

string

-

symbol

enum

-

timeInForce

string

-

timestamp

number

-

type

enum

-

Create

Create Order

Create Order

Route: POST /postTrade

Inputs you can set
NameTypeRequiredDescription
accountTypeenumNoValues: spot, margin_cross, margin_isolated, future_usdm, future_coinm
amountstringNo-
idempotencyKeystringNo-
marginModeenumNoValues: isolated, cross
orderTypeenumYesValues: market, limit, stop_loss, stop_loss_limit, take_profit
previewTokenstringNo-
pricestringNo-
quoteAmountstringNo-
sideenumYesValues: buy, sell
stopPricestringNo-
symbolenumYes-
timeInForceenumNoValues: GTC, IOC, FOK
typeenumNoValues: LIMIT, LIMIT_MAKER, MARKET
Data returned in Excel

This action returns a confirmation rather than a selectable table.

Edit

Preview Order

Preview Order

Route: PATCH /previewTrade

Inputs you can set
NameTypeRequiredDescription
accountTypeenumNoValues: spot, margin_cross, margin_isolated, future_usdm, future_coinm
amountstringNo-
marginModeenumNoValues: isolated, cross
orderTypeenumYesValues: market, limit, stop_loss, stop_loss_limit, take_profit
pricestringNo-
quoteAmountstringNo-
sideenumYesValues: buy, sell
stopPricestringNo-
symbolenumYes-
timeInForceenumNoValues: GTC, IOC, FOK
typeenumNoValues: LIMIT, LIMIT_MAKER, MARKET
Data returned in Excel

This action returns a confirmation rather than a selectable table.

Edit

Cancel Order

Cancel Order

Route: DELETE /cancelOrder

Inputs you can set
NameTypeRequiredDescription
accountTypeenumNoValues: spot, margin_cross, margin_isolated, future_usdm, future_coinm
orderIdstringYes-
symbolenumYes-
Data returned in Excel

This action returns a confirmation rather than a selectable table.

Get My Trades

Retrieve my trade history

Read

Get My Trades

Retrieve my trade history

Route: GET /myTrades

Excel formula: =LF.mexc.myTrades("selection", "fields")

Inputs you can set
NameTypeRequiredDescription
linkstringYes-
symbolenumYesTrading symbol or market pair, e.g. BTC/USDT
sideenumNoBuy or sell. BUY/SELL are still accepted and converted. Values: buy, sell
sincedateNoFetch data starting from this timestamp
untildateNoRead up to this date. ISO 8601 or an epoch in milliseconds.
limitnumberNoMaximum number of records to fetch
cursorstringNoOpaque cursor from a previous page. Pass it back verbatim; never build or edit one.
accountTypeenumNoWhich account: spot, margin_cross, margin_isolated, future_usdm or future_coinm. Replaces marginMode, which is still accepted. Default: spot Values: spot, margin_cross, margin_isolated, future_usdm, future_coinm
Data returned in Excel
Field
Type
Relations
Description
amount

number

-

cost

number

-

datetime

date

-

fee_cost

number

-

fee_currency

string

-

fee_rate

number

-

fees

string

-

id

id

-

order

id

myOrders

-

price

number

-

side

enum

-

symbol

enum

-

takerOrMaker

enum

-

timestamp

number

-

type

enum

-

Get My Withdrawals

List my withdrawal history (read only — LinkyFlow never sends crypto out). Not every connection can serve it; the capability matrix says which can.

Read

Get My Withdrawals

List my withdrawal history (read only — LinkyFlow never sends crypto out). Not every connection can serve it; the capability matrix says which can.

Route: GET /myWithdrawals

Excel formula: =LF.mexc.myWithdrawals("selection", "fields")

Inputs you can set
NameTypeRequiredDescription
linkstringYes-
assetenumNoAsset symbol for deposits or withdrawals Default: USDT
sincedateNoFetch data starting from this timestamp
untildateNoRead up to this date. ISO 8601 or an epoch in milliseconds.
statusenumNoCurrent status of the order or transaction
networkstringNoChain of a deposit or withdrawal, e.g. TRC20.
txIdstringNoOn-chain transaction id to look up.
limitnumberNoMaximum number of records to fetch
cursorstringNoOpaque cursor from a previous page. Pass it back verbatim; never build or edit one.
Data returned in Excel
Field
Type
Relations
Description
address

string

-

addressFrom

string

-

addressTo

string

-

amount

number

-

comment

string

-

currency

string

-

datetime

date

-

fee_cost

number

-

fee_currency

string

-

fee_rate

number

-

fees

string

-

id

id

-

network

string

-

providerData

string

-

status

enum

-

tag

string

-

tagTo

string

-

timestamp

number

-

txid

string

-

type

enum

-

updated

number

-

Get OHLCV

Get historical candlestick (OHLCV) data for given symbols

Read

Get OHLCV

Get historical candlestick (OHLCV) data for given symbols

Route: GET /getOHLCV

Excel formula: =LF.mexc.getOHLCV("selection", "fields")

Inputs you can set
NameTypeRequiredDescription
symbolenumYesTrading symbol or market pair, e.g. BTC/USDT
timeframeenumNoGranularity of candlestick data Default: 1d Values: 1s, 1m, 3m, 5m, 15m
sincedateNoFetch data starting from this timestamp
untildateNoRead up to this date. ISO 8601 or an epoch in milliseconds.
limitnumberNoMaximum number of records to fetch
cursorstringNoOpaque cursor from a previous page. Pass it back verbatim; never build or edit one.
marketDataEnvironmentenumNoWhere the prices come from. Defaults to the selected connection's environment, so a testnet connection is never shown production prices with... Values: production, testnet, demo
Data returned in Excel
Field
Type
Relations
Description
close

number

-

high

number

-

low

number

-

open

number

-

openTime

number

-

symbol

enum

-

volume

number

-

Get One Order

Read one order by its exchange id, with what it has actually filled so far.

Read

Get One Order

Read one order by its exchange id, with what it has actually filled so far.

Route: GET /myOrder

Excel formula: =LF.mexc.myOrder("selection", "fields")

Inputs you can set
NameTypeRequiredDescription
linkstringYes-
orderIdstringYesExchange order id, exactly as it was returned.
symbolenumYesTrading symbol or market pair, e.g. BTC/USDT
accountTypeenumNoWhich account: spot, margin_cross, margin_isolated, future_usdm or future_coinm. Replaces marginMode, which is still accepted. Default: spot Values: spot, margin_cross, margin_isolated, future_usdm, future_coinm
Data returned in Excel
Field
Type
Relations
Description
_meta

string

-

accountType

enum

-

amount

number

-

amountExact

string

-

average

number

-

averagePrice

number

-

averagePriceExact

string

-

cancellable

boolean

-

clientOrderId

string

-

cost

number

-

costExact

string

-

datetime

date

-

fee_cost

number

-

fee_currency

string

-

feeCost

number

-

feeCostExact

string

-

feeCurrency

string

-

filled

number

-

filledExact

string

-

id

id

-

lastUpdateTimestamp

number

-

orderType

enum

-

price

number

-

priceExact

string

-

providerEnvironment

enum

-

providerOrderId

string

-

remaining

number

-

remainingExact

string

-

side

enum

-

status

enum

-

stopPrice

number

-

stopPriceExact

string

-

symbol

enum

-

timeInForce

string

-

timestamp

number

-

type

enum

-

Get Order Book

Fetch the current order book for a symbol. Asks come first, best (lowest) offer first, then bids, best (highest) first.

Read

Get Order Book

Fetch the current order book for a symbol. Asks come first, best (lowest) offer first, then bids, best (highest) first.

Route: GET /getOrderBook

Excel formula: =LF.mexc.getOrderBook("selection", "fields")

Inputs you can set
NameTypeRequiredDescription
symbolenumYesTrading symbol or market pair, e.g. BTC/USDT
depthnumberNoLevels per side. Replaces limit, which is still accepted. Default: 5
marketDataEnvironmentenumNoWhere the prices come from. Defaults to the selected connection's environment, so a testnet connection is never shown production prices with... Values: production, testnet, demo
Data returned in Excel
Field
Type
Relations
Description
amount

number

-

price

number

-

symbol

enum

-

type

enum

-

Get Ticker 24h

Retrieve 24-hour rolling ticker statistics for given symbols

Read

Get Ticker 24h

Retrieve 24-hour rolling ticker statistics for given symbols

Route: GET /getTicker24h

Excel formula: =LF.mexc.getTicker24h("selection", "fields")

Inputs you can set
NameTypeRequiredDescription
symbolsenumYesList of trading symbols or market pairs, e.g. BTC/USDT, ETH/EUR
Data returned in Excel
Field
Type
Relations
Description
ask

number

-

askVolume

number

-

average

number

-

baseVolume

number

-

bid

number

-

bidVolume

number

-

change

number

-

close

number

-

datetime

date

-

high

number

-

last

number

-

low

number

-

open

number

-

percentage

number

-

previousClose

number

-

quoteVolume

number

-

symbol

enum

-

timestamp

number

-

vwap

number

-

Get Trades

Retrieve recent trades for given symbols

Read

Get Trades

Retrieve recent trades for given symbols

Route: GET /getTrades

Excel formula: =LF.mexc.getTrades("selection", "fields")

Inputs you can set
NameTypeRequiredDescription
symbolenumYesTrading symbol or market pair, e.g. BTC/USDT
sincedateNoFetch data starting from this timestamp
untildateNoRead up to this date. ISO 8601 or an epoch in milliseconds.
limitnumberNoMaximum number of records to fetch
cursorstringNoOpaque cursor from a previous page. Pass it back verbatim; never build or edit one.
marketDataEnvironmentenumNoWhere the prices come from. Defaults to the selected connection's environment, so a testnet connection is never shown production prices with... Values: production, testnet, demo
Data returned in Excel
Field
Type
Relations
Description
amount

number

-

cost

number

-

datetime

date

-

id

id

-

price

number

-

side

enum

-

symbol

enum

-

takerOrMaker

enum

-

timestamp

number

-