Skip to the content

Help / Trading and testing

Paper trading

Note:Paper trading is simulated. No order ever reaches a broker or an exchange, and no real money is involved.

Your paper account starts with $100,000 (100,000 in an account’s own currency, or 10,000,000 yen). Orders fill against the real market’s trades, even while the page is closed.

Your main account is kept in US dollars; a new account can be kept in euros, pounds, yen, Australian or Canadian dollars or Swiss francs instead (you choose when you make it). Any symbol trades, and settles in the currency it’s priced in: buying BTC/EUR spends euros, and selling it gives euros back, so the account can hold cash in several currencies (shown as Other cash). USDT and USDC count as US dollars. Equity, buying power, margin and results are shown in the account’s own currency, converted at the latest exchange rate: from a live market in the pair where there is one (EUR/USDT, say, or your own OANDA pair), else the forex history’s latest price, at most four days old. If there’s no rate at all, the order is refused and says so. Forex and gold from the shared history feed have no live prices, so they can’t be traded.

Placing an order#

  1. Open the Trading tab in the bottom panel, with the symbol on the chart.
  2. Choose Buy or Sell, and the type: market, limit, stop, stop limit (a limit order placed once the stop price trades), or trailing (trail by a percentage). For a resting order, pick its Time in force: Good till cancelled, Day (ends 00:00 UTC) or Immediate or cancel.
  3. Set the quantity, or press 10, 25, 50 or 100% of your buying power. Size to risk works out a quantity that risks 0.5, 1 or 2% of your account at your stop, commission and slippage included (shown as of which costs).
  4. Optionally add a take profit and a stop loss. A trailing stop loss follows the price once the order fills; the entry itself stays where you put it.
  5. Place it.

From the chart

  • Right-click at a price for Buy limit, Sell stop and the rest at that price.
  • Drag an order’s line on the chart to move it. A move is checked like a new order: a stop dragged past the market (which would fill at once) is refused and snaps back.
  • Drag a position’s line to a price to put a take profit or stop loss there (above or below the market, whichever it is for the position). Double-click the line to close the position at market, after a confirmation.
  • Fills are marked on the chart at their bar and price.
  • For one-click market orders, turn on One-click trading buttons in Chart settings › Trading. The Quick trade (paper) bar shows the bid, the ask and the spread, your open P&L on the symbol, and Flatten.

Trading from the order book (DOM)#

In the Book tab, choose DOM. Click a bid to buy there or an ask to sell, as limit orders (or stops). Drag an order to move it. On Binance and Hyperliquid symbols the ladder updates several times a second.

  • Buy mkt, Sell mkt, Flatten and Cancel all act at once; Rows shown sets how deep the ladder goes.
  • TP and SL set a bracket in ticks: every order from the ladder gets a take profit and stop loss that many ticks from its entry.
  • Click the ladder, then use the keys: B buys and S sells at market, F flattens, C cancels all.

Positions and results#

The Trading tab’s Positions, Orders, History and Performance views show what you hold, what’s waiting, what filled and how you’re doing. Close or reverse a position from its row, or press Add TP/SL to give it a take profit and stop loss. Every open order is listed, however old; history shows the latest 200.

Performance counts round trips (from opening a position to closing it), not single fills: Round trips, Win rate (trips), Expectancy, Average hold, and Average R (trades with a stop), each trade’s result in multiples of what its opening stop risked.

Several accounts#

Keep separate accounts for separate ideas: each has its own balance, positions and history. In the Trading tab, the Paper account picker switches between them and New account… makes one (lower-case letters, digits or dashes). You can have five besides Main. Reset account resets only the one you’re in.

Journal#

  • Press Journal on a fill in the history to write a note about it, on its bar. Fills with a note show Journaled, so the ones still to review stand out.
  • Attach chart keeps a screenshot of the chart as it is with the note; View screenshot opens it again later.
  • Notes are on the chart at their bar, and searchable in the notes list.

Perpetuals: funding and margin calls#

A perpetual position pays or receives funding every hour, at Hyperliquid’s rate for that hour, shown in the position and history. If equity falls below the maintenance margin, a Margin call closes every position at market.

Being told about fills#

Fills and margin calls reach your devices as push notifications, even when no tab is open, if you turned push on (see notifications). They aren’t sent during your quiet hours.

Buying power#

Buying power is your equity times the leverage, less what positions use and what open orders would add if they filled (shown as Reserved by orders). Exits that only shrink a position, like take profits and stop losses, reserve nothing. When an order fills, buying power is checked again; if the account can no longer afford it (say other orders filled first), the order is cancelled and the reason shown, rather than overspending the account.

If the service was down#

If the matching engine restarts or the price feed drops out, orders whose price traded in the meantime are caught up from the stored one-minute bars, in time order: at the order’s price, or where the market opened if it gapped through, and never from before you last moved it (or it last trailed). Take profits and stop losses a caught-up fill places are caught up too. These fills are marked caught up in the history. The catch-up looks back at most three days, and works on the shared feed’s symbols (not yet on your own Alpaca or OANDA data). A limit the bars only touch isn’t filled from them, since a bar doesn’t say how much traded at that price.

How limit orders fill#

A limit order waits in line behind the orders already resting at its price, as on a real exchange. It fills when the price trades through it, or once enough has traded at its price to clear the line ahead of it: what was resting there when you placed it, read from the exchange’s order book where there is one (crypto), or a small estimate from recent trade sizes where there isn’t. It fills at your limit, never better, and a large order can fill in parts (the Orders view shows filled 2 of 5); its take profit and stop loss grow with each part. A limit placed through the market (a buy above the price) fills at once, at the trade, like a market order that won’t pay more than the limit. Forex and stock prices that come without trade sizes (your own OANDA stream, say) clear nothing from the line, so there a resting limit fills only when the price trades through it, never on a touch.

Optimistic fills in the account’s settings fills limits the moment the price touches them, at the trade price, in one go: more fills, but better than a real exchange would give you. Bar replay’s practice limits follow the same setting.

Making it realistic#

In the account’s settings, set leverage (1× to 20×), slippage and commission, and for crypto, fills from the order book’s depth rather than the last price (never better than the trade that set the order off). Reset account starts again from $100,000 (click twice to confirm).

TradingView and Pine Script are trademarks of TradingView, Inc. OpenTapefolio is not affiliated with or endorsed by TradingView.