How to Connect LBank
How to Connect LBank
TraderNest syncs your LBank futures trades automatically through a read-only API key. This guide walks you through creating the key on LBank and connecting it to TraderNest. It takes about five minutes.
Create Your LBank API Key
Log In to LBank
Go to lbank.com and log in to your account.
Open My API
Open the profile menu in the top-right corner and click "My API". You can also go directly to https://www.lbank.com/my/api-management.
Create a New API Key
Click "Create New API".
Fill In the Form
- API Name - Enter a name you will recognize, for example "TraderNest".
- Verification method - Leave this on HmacSHA256.
- IP Address - Enter 1.2.3.4. This field is optional, but with an IP address the key never expires. TraderNest clears this IP automatically when you connect.
Set the Authority
Read only is already ticked. Tick Futures as well and nothing else.
Confirm and Copy Your Keys
Click "Confirm" and complete LBank's security check. Then copy your API Key and Secret Key. Store both values somewhere safe until you have pasted them into TraderNest.
Connect in TraderNest
Paste Your Keys and Connect
In TraderNest, click Import Trades and select LBank. Paste your API Key and Secret Key and click "Connect".
What Gets Imported
- Futures trades (closed positions) - Synced automatically about every hour.
- Funding fees - Not available through LBank's API, so they are not imported yet.
Why Your Numbers Can Differ From the LBank App
TraderNest shows the profit and loss of your trades. The monthly P&L in the LBank app is based on the total value of your assets in USDT, so it also moves with coin prices when you don't trade. Both numbers are correct, they just measure different things.
Troubleshooting
- "Invalid apiKey" - The key was deleted on LBank or was copied incorrectly. Create a new API key and connect again.
- No trades yet - Only closed futures trades appear in TraderNest. Open positions and spot trades are not imported.
Did this answer your question?