Docs
Documentation
Everything you need to get started and get the most out of Tradeglyph.
CSV import
Tradeglyph accepts CSV files from any exchange. You can import trades manually when automatic sync is not available or for historical data.
Expected format
Your CSV must include the following columns (header names are flexible — Tradeglyph auto-detects common formats):
| Column | Required | Example |
|---|---|---|
| symbol | ✓ | BTCUSDT |
| side | ✓ | BUY / SELL |
| entry_price | ✓ | 42500.00 |
| exit_price | ✓ | 43800.00 |
| quantity | ✓ | 0.05 |
| open_time | ✓ | 2026-01-15 09:32:00 |
| close_time | ✓ | 2026-01-15 14:47:00 |
| pnl | — | 65.00 |
| fee | — | 1.20 |
How to import
- Go to Trades → Import in the app
- Select your CSV file (max 10 MB)
- Map columns to Tradeglyph fields if needed
- Preview the first 5 rows and confirm
- Tradeglyph deduplicates automatically — re-importing the same file is safe
Trade journal
Every trade in Tradeglyph has a detail view where you can enrich it with context that raw data can't capture.
Journal fields
- Notes — free text, supports basic markdown
- Tags — custom labels (setup type, session, market condition...)
- Rating — 1 to 5 stars, your subjective quality score
- Emotion — track your psychological state at the time of the trade
- Screenshots — attach chart images directly to the trade
- Setup — categorise by strategy (breakout, pullback, range...)
Adding notes
Open any trade → click the Journal tab → fill in the fields you want. All changes save automatically.
Searching your journal
Use the search bar in the Trades view to search full-text across all notes and tags. You can combine text search with filters (date range, symbol, direction, setup).
Analytics
The Analytics section gives you a complete view of your performance across any time period.
Key metrics
- Win rate — percentage of winning trades
- Profit factor — gross profit / gross loss (target: above 1.5)
- Average R/R — realised reward-to-risk ratio
- Max drawdown — largest peak-to-trough decline
- Expectancy — average profit per trade in currency
- Sharpe ratio — risk-adjusted return
Filters
All analytics can be filtered by:
- Date range (custom or preset: 7d, 30d, 90d, 1y, all-time)
- Symbol / trading pair
- Direction (long / short)
- Setup type
- Session (Asia, London, New York)
- Account / exchange
Heatmap
The performance heatmap shows your profit factor broken down by hour of day and day of week. This is often the fastest way to identify when your edge is strongest — and when to stop trading.
Equity curve
The equity curve plots your cumulative PnL over time. You can toggle between absolute values (€) and percentage returns, and overlay drawdown periods.
AI analysis
After each trade closes, Tradeglyph automatically triggers an AI analysis powered by Claude (Anthropic). The analysis appears in the AI tab of the trade detail view.
What the AI analyses
- Entry and exit quality relative to your plan
- Risk management (position size, stop placement)
- Behavioural patterns (FOMO, revenge trading, early exits)
- Comparison with your historical performance on similar setups
- Market context at the time of the trade
Output structure
- Score — 0 to 100 execution quality score
- Verdict — one-line summary
- Strengths — what you did well
- Advice — specific, actionable improvements
Plan limits
- Free: 5 AI analyses per month
- Pro: unlimited
- Algo: unlimited
PDF export
Generate a comprehensive PDF report of your trading journal — shareable with a mentor, a prop firm, or for your own records.
What's included
- Performance summary (period, total PnL, win rate, profit factor)
- Equity curve chart
- Key metrics table
- Full trade list with entry/exit, PnL, and notes
- Tradeglyph branding (light mode, A4 landscape)
How to export
- Go to Analytics → Export
- Select the date range
- Choose which sections to include
- Click Generate PDF
- The file downloads automatically (typically under 5 seconds)
TradingView webhooks
The Algo plan allows you to log trades automatically from TradingView Pine Script alerts directly into your Tradeglyph journal.
Step 1 — Generate a webhook token
- Go to Settings → Webhooks
- Click New token
- Copy the generated URL (format:
https://tradelog-api.creasity.com/api/v1/webhooks/{token})
Step 2 — Configure your Pine Script alert
In your Pine Script strategy, add an alert_message with the following JSON payload:
{
"symbol": "{{ticker}}",
"side": "{{strategy.order.action}}",
"price": {{close}},
"quantity": {{strategy.position_size}},
"timestamp": "{{timenow}}",
"setup": "my_strategy_name"
}
Step 3 — Create the TradingView alert
- In TradingView, open Alerts → Create alert
- Set the condition to your strategy signal
- Under Notifications, enable Webhook URL
- Paste your Tradeglyph webhook URL
- Paste the JSON payload in the Message field
Token quotas
- Free: 1 token, 100 webhooks/month
- Pro: 5 tokens
- Algo: unlimited tokens and webhooks
Security & 2FA
Two-factor authentication (2FA)
Tradeglyph supports TOTP-based 2FA compatible with Google Authenticator, Authy, and any RFC 6238 compliant app.
To enable 2FA:
- Go to Settings → Security
- Click Enable 2FA
- Scan the QR code with your authenticator app
- Enter the 6-digit code to confirm
- Save your backup codes — these are shown once only
API key security
All exchange API keys stored in Tradeglyph are encrypted at rest using AES-256. Tradeglyph only requests read-only permissions — it is technically impossible to execute any transaction from the app.
Password security
- Passwords are hashed using bcrypt (cost factor 12)
- Changing your password immediately revokes all existing sessions and refresh tokens
- Password reset is available via email if you forget your credentials
Sessions
Tradeglyph uses short-lived JWT access tokens (15 minutes) with longer-lived refresh tokens stored in httpOnly cookies. You can view and revoke all active sessions from Settings → Security → Active sessions.
API reference
Authentication
All API requests require a bearer token in the Authorization header:
Authorization: Bearer YOUR_API_TOKEN
Generate your API token from Settings → API → Generate token.
Base URL
https://tradelog-api.creasity.com/api/v1
Endpoints
| Method | Endpoint | Description |
|---|---|---|
| GET | /trades | List all trades (paginated) |
| GET | /trades/:id | Get a single trade |
| POST | /trades | Create a trade manually |
| PATCH | /trades/:id | Update trade fields |
| GET | /analytics/summary | Performance summary |
| GET | /analytics/equity | Equity curve data |
| GET | /webhooks | List webhook tokens |
| POST | /webhooks | Create a webhook token |
Rate limits
- 100 requests per minute per token
- Limit headers:
X-RateLimit-Remaining,X-RateLimit-Reset
Example — fetch last 10 trades
curl https://tradelog-api.creasity.com/api/v1/trades?limit=10 \
-H "Authorization: Bearer YOUR_TOKEN"