LinkyFlow — autonomous agents and live business data in Excel or on the webLinkyFlow
Crypto margin trading dashboard in Excel

Crypto margin trading dashboard in Excel

Overview: The Margin dashboard brings spot-margin trading into Excel. It reads your margin wallet (with the borrowed debt per asset), the current borrow interest rate and the interest accrued on your loans, and embeds one-click action buttons to place margin orders and to borrow or repay an asset. Cross margin by default, isolated margin supported. It works with Binance, OKX, Bitget, Gate.io and HTX; on Bybit, only borrowing and repaying.

Key features:

  • Live margin wallet with free, used, total and borrowed (debt) balance per asset
  • Debt KPIs (borrowed assets, total debt, free quote balance, current borrow rate)
  • Borrow interest history for the selected asset
  • Embedded action buttons: place margin order, borrow, repay

Exchange reports:

  • Margin wallet (myMarginBalances): free, used, total and debt per asset — cross wallet, or per-pair rows in isolated mode.
  • Borrow rates (myBorrowRates): current borrow interest rate for an asset (cross) or per isolated pair.
  • Borrow interest (myBorrowInterest): interest accrued on your margin borrows over time.

Actions:

  • Margin Order (postMarginTrade): symbol, side, type, amount, price, margin mode, side effect. The side effect automates borrowing (MARGIN_BUY) or repaying (AUTO_REPAY) with the order — that is how you open and close a margin position.
  • Borrow (borrowMargin): borrow an asset on cross margin, or on an isolated pair.
  • Repay (repayMargin): repay a margin loan (cross or isolated).

Inputs:

  • Trading pair (e.g. BTC/USDT) and asset to borrow/repay (e.g. USDT)
  • Private link (API key with margin permission)

Notes:

  • Margin pairs use the regular spot symbol format BASE/QUOTE, e.g. BTC/USDT.
  • Orders are validated against each pair's min/max amount, price and notional before being sent.
  • On Binance the API key needs margin permission, and margin must be enabled on the account.
  • Trading on borrowed funds is high risk: interest accrues continuously and positions can be liquidated.
ProductWhat LinkyFlow does with Binance and crypto exchanges →