Bybit
Sync your Bybit USDT and USDC perpetual trades and funding with a read-only API key.
New and not yet tested against a live Bybit account. If something differs on your screen, tell us with Support in the Settings menu on the left.
Steps
- 1On bybit.com open Profile → API (API Management) and click Create New Key, then System-generated API Keys.
- 2Choose API Transaction. Under Permissions select Read-Only. Do not enable Withdrawal or any transfer permission. Name the key, for example "Tradeopath".
- 3IP restriction: leave it off. Tradeopath's servers have no fixed address you could add, and a key limited to other IPs is refused. Bybit expires keys without an IP restriction after a period; the expiry date is shown as a note on the connection, and you then create a new key and reconnect.
- 4Copy the API key and the secret right away. Bybit shows the secret once.
- 5In Tradeopath open Connections, click Add connection and pick Bybit. Paste both and click Connect. Tradeopath asks Bybit what the key can do and refuses it if it can trade, withdraw or transfer.
- 6Your account appears in your journal by itself within a couple of minutes as "Bybit Unified" (BYBIT-<your Bybit user id>). The dashboard then asks once what kind of account each one is (personal, prop or demo).
Good to know
- Supported: USDT and USDC linear perpetuals on a Unified Trading Account. Spot, options, inverse (coin-margined) and dated futures are not imported yet. A classic (non-unified) account is refused: upgrade it to Unified Trading in Bybit first.
- Bybit blocks some regions, the US among them. If Bybit refuses access from where Tradeopath's servers run, the connection shows a region error and cannot be used.
- Trades are checked about every 75 seconds. On connect the last 90 days of fills are read (Bybit keeps about two years of history), and each check re-reads the last few hours; fills are never imported twice.
- A trade is imported when its position is closed (back to flat or reversed), so open positions appear after you close them. This lets the funding paid or received while it was open be added to it.
- Funding is stored on the trade as "Funding" (a positive number means you paid it). Fees come from Bybit's own fill fee; profit is calculated from your fills. The funding of a trade is read from the Unified account's transaction log, so it needs the key to read the account.
- The trading day for Bybit accounts ends at 00:00 UTC.
- The key is checked again every few hours. If it ever gains trade or withdrawal rights, the connection stops with an error. Delete keys you no longer use in Bybit.
- Hedge mode (long and short at once in one symbol) is not modelled; use one-way mode for the cleanest results.
- Use one source per account. Importing the same trades from a CSV file as well can count them twice.