← Back to features

🔑 Settings & API Connection

Everything in One Place

The Settings tab is the control center of TradeMetrics. Here you can manage your license, connect to exchanges via API, control the trades cache, set the history period, and configure your initial balance for accurate percentage metrics.

Settings tab overview

Settings tab — license, exchange connection, cache, and account configuration

🔑 License

At the top of the Settings tab you'll find the License block:

You can:

Licenses are activated through our server and bound to your machine ID for maximum security.

🌐 Select Exchange

TradeMetrics supports connecting to 3 major crypto exchanges via API. Switch between them with a single click:

🟡
Binance
Largest crypto exchange
🔵
Bybit
Popular derivatives exchange
🟠
MEXC
Fast-growing global exchange

🔐 API Keys

Enter your API Key and API Secret, then click "Save API" to store them locally. On the next launch, TradeMetrics will automatically load the saved keys.

🔒 Security note: Always use Read-Only API keys! TradeMetrics only needs permission to fetch your trade history and balance — it never trades on your behalf.

🔗 Connection

After saving API keys, click "Connect" to establish a session with the exchange. The status indicator will show:

Once connected, all your trades are automatically loaded into the Trades tab.

💾 Trades Cache

TradeMetrics uses a local SQLite cache to store your trades. This makes loading instant — even with thousands of trades.

📊
Cache Info
Shows number of cached trades, last sync time, and the period covered.
🔄
Force Refresh
Deletes the cache and re-downloads the entire trade history from the exchange. Use when data looks corrupted or outdated.
🗑️
Clear Cache
Deletes the cache without re-downloading. On the next launch, trades will be loaded fresh from the exchange.
Why it matters
With cache: trades load in under 1 second.
Without cache: 5–30 seconds depending on history size.
Trades Cache block

Trades Cache block — cache info, Force Refresh, and Clear Cache buttons

📅 History Period

Choose how far back TradeMetrics loads your trades. Use the "History" dropdown in the Connection block:

The setting is saved to config.json and applied on every launch.

💰 Initial Balance

Specify the initial balance of your trading account. This is used for all percentage metrics — like Profit % in the Trades table or Total Return on the Chart tab.

💡 Tip: Enter the balance you had at the moment you started using TradeMetrics. This gives you accurate percentage returns regardless of deposits or withdrawals.

How to Get API Keys

⚠️ After creating the key, copy the API Key and API Secret into the corresponding fields in TradeMetrics.

Benefits of API Connection

💡 Tip: Always use Read-Only API keys. TradeMetrics only needs permission to fetch trade history — never to trade!
← Previous Feature 6 of 6 Next →

🔒 TradeMetrics — Professional Trading Journal