← ClaudeAtlas

tradingview-importlisted

Import a TradingView trade export (Strategy Tester List of Trades, or broker history CSV) and compute execution statistics in the same format as MetaTrader. Use when asked to analyse TradingView trades, strategy results, or backtest output.
saatwik-1157/trade-research · ★ 0 · Testing & QA · score 67
Install: claude install-skill saatwik-1157/trade-research
# TradingView trade import ## There is no TradingView API TradingView publishes no public API for reading your account, charts, indicators or trades. Nothing can be connected to directly, and any library claiming otherwise is scraping an internal websocket — fragile and against their terms. Do not suggest one. The supported routes are CSV export (this skill) and alert webhooks (below). ## Import an export ```bash python tools/tv_import.py "path/to/List of Trades.csv" python tools/tv_import.py trades.csv --symbol BTCUSDT --out reports/tv_trades.json python tools/tv_import.py trades.csv --inspect # show detected columns ``` Where the file comes from: - **Strategy Tester → List of Trades → export icon** — backtest or forward-test results for a Pine strategy. - **Trading Panel → History → export** — real trades on a connected broker. Column names vary by TradingView version and by instrument currency, so detection matches on substrings. **Run `--inspect` first on any unfamiliar export** and confirm the detected columns are the intended ones before reporting numbers off it. If the P&L column is missing the tool refuses rather than guessing, which is the correct behaviour. ## Interpreting the output Statistics come from the same engine as the MT5 skill, so the two are directly comparable rather than two dialects of "win rate". **Backtest results are not trading results.** If the export is from Strategy Tester, these figures describe a simulation with perfect fills