Docs / Modules / Crypto

Bitunix (futures)

Open and close long and short futures positions on your own Bitunix account: leverage, stop loss, multiple take-profits (TP1–TP4), balance and positions, cancel orders and price alerts.

What you need

An API key and secret with Futures Trade permission (never enable withdrawals).

Connect

  1. In Harnes Code open Settings → Manage modules.
  2. Press “Connect” on this module and fill in the fields below.
  3. Press “Test and save”.

Fields

  • API Key — Bitunix → Profile → API Management → Create API. Futures (Trade) only.
  • Secret Key

Example requests

Long XRP, 10× leverage, $50; 3% stop loss and three equal take-profits

When TP1 hits, move the stop loss to break-even