Help / Your account
Your account and data
Open the Account page from your account menu (the round initial at the top right of the chart) › Account and API keys.
| Section | What it’s for |
|---|---|
| Profile | Your name and email |
| Plan | Your plan, its limits and how much you’ve used |
| Assistant | Your own AI model, and services connected to the assistant |
| Password, Two-factor sign-in, Signed in on | Keeping your account safe |
| Stock data (Alpaca) | Your keys for US stock and ETF data |
| Forex data (OANDA) | Your token for live forex and metals |
| Earnings data (Finnhub) | Your key for upcoming earnings dates and estimates |
| API keys, Key activity | Keys for scripts and AI apps, and what they changed |
| Your data | Downloading everything, or deleting your account |
Stock data: connecting Alpaca#
The full step-by-step guide, with what to do when it doesn’t work.
US stocks and ETFs come through your own Alpaca account, which is free. Your keys are only used to fetch your charts.
- Make a free account at alpaca.markets. A paper trading account is enough; no money or funding is needed.
- In Alpaca’s dashboard, generate API keys and copy the Key ID and Secret key.
- On the Account page, under Stock data (Alpaca), paste both, choose Paper account or Live account to match the keys, and press Save keys.
- Open a stock’s chart. The section shows whether your data is IEX or SIP.
Live forex: connecting OANDA#
The full step-by-step guide, with what to do when it doesn’t work.
Live forex and metals come through your own OANDA account. A practice (demo) account is free and enough: no money or funding is needed. Your token is only used to fetch your charts, alerts and paper trades, and nothing places real orders.
- Open a free practice account at oanda.com (in many countries OANDA calls it a demo account).
- Signed in to OANDA, go to My Account › Manage API Access and press Generate. Copy the token.
- On the Account page, under Forex data (OANDA), paste it, choose Practice account or Live account to match, and press Save token. OANDA is asked which account it opens.
- Search for a pair (
EURUSD,EUR/USDorgold). Results marked your OANDA data are live.
Earnings dates: connecting Finnhub#
The full step-by-step guide, with what to do when it doesn’t work.
Past results are marked from each company’s SEC filings without any key. For the next report’s date, analysts’ estimates and how the last four quarters beat or missed them, add your own free Finnhub key.
- Sign up for free at finnhub.io. Your API key is on the dashboard.
- On the Account page, under Earnings data (Finnhub), paste it and press Save key. Finnhub is asked whether it works first.
- Open a US stock. The Financials tab shows the next report and the last four quarters, and with Chart settings › Events on, past
Emarkers say how EPS compared with the estimate (E +4.2%) and the next report is marked ahead of the newest bar.
Economic figures: connecting FRED#
The full step-by-step guide, with what to do when it doesn’t work.
The economic calendar’s release dates and BLS figures need no key. For the Fed funds rate, the 10-year yield, GDP, PCE inflation, retail sales and jobless claims, and their release dates, and for request.economic in your scripts and alerts, add your own free FRED key from the Federal Reserve Bank of St. Louis.
- Sign up for free at fred.stlouisfed.org, then open My Account › API Keys and request a key (32 letters and digits).
- On the Account page, under Economic data (FRED), paste it and press Save key. FRED is asked whether it works first.
- Open the economic calendar: the latest figures now include FRED’s, and its releases are on the calendar. Scripts using
request.economicdraw their figures on the chart and in alerts.
Language and look#
Choose English or Spanish in Chart settings (the gear) › Look › Language, along with the theme (dark, light or your system’s). Your choice follows your account. Some parts of the app are still English only.
Downloading your data#
- Everything about you: Your data › Download my data gives one JSON file with your profile, everything you’ve made (settings, layouts, scripts, alerts, paper trades and the rest) and your API keys’ names (never the keys).
- A chart’s bars: in the command palette (Ctrl+K), Export chart data (CSV) or Download bars (Parquet).
- Alerts that fired: Export CSV in the Alerts tab’s log.
- Screener results: Export CSV in the Screener.
- A watchlist: Export list in its menu.
- From code: see bulk downloads.
Deleting your account#
- Consider downloading your data first: deleting can’t be undone.
- Under Your data, enter your password and press Delete my account.
Your account and everything in it is removed: settings, scripts, alerts, paper account and keys. Scripts you published to the Community are removed too.
TradingView and Pine Script are trademarks of TradingView, Inc. OpenTapefolio is not affiliated with or endorsed by TradingView.