Skip to Content
NeurotraderDocs
Concepts

Primary quote asset

The one currency a simulation measures every result in, chosen once when the simulation is created.

You want to know whether a strategy made money, and "money" has to mean one thing. A simulation that trades BTCUSDT and ETHBTC holds three assets at once, and its worth can be stated in any of them. The primary quote asset settles the question: it is the single currency in which a simulation states its net worth, its return and every other figure.

Primary quote asset

The primary quote asset is the asset a simulation is valued in. You choose it once, on the Details step of the new simulation wizard, in the field labelled Quote asset. The wizard offers no default: you pick the asset yourself, because the choice is permanent.

Screenshot
The Details step of the new simulation wizard, with USDT picked in the Quote asset field and the note under it that the asset cannot be changed once the simulation is created

After the simulation exists, its page shows the asset on the Account card as Valued in, with a lock beside it. Every run of the simulation reports in that asset, and the run pages name it in their labels, for example Net worth, USDT and Peak, USDT.

For most simulations the right choice is the currency your instruments are priced in. If you trade BTCUSDT, ETHUSDT and SOLUSDT, choose USDT.

Figures measured in it

Everything a run says about money is stated in the primary quote asset:

  • Net worth: what the account is worth at each step, with everything it holds converted at that step's prices.
  • Return, as an amount and as a percentage of the starting net worth.
  • Peak and maximum drawdown. See Results.
  • Realized PnL of the closed trades.
  • The equity, liabilities and margin level of a margin account. See Margin and leverage.
  • The net worth chart of a run, and the comparison chart of a comparison run.

One figure is not converted: Fees paid lists what the run paid in each asset the fees were charged in. See Fees.

Valuation of other assets

An account usually holds more than the primary quote asset. To state its net worth, Neurotrader converts each holding with the latest price of an instrument in the simulation that trades that asset directly against the primary quote asset. With USDT as the primary quote asset, a holding of BTC is valued through BTCUSDT.

A holding that no instrument in the simulation prices directly is not counted. If you hold ETH, value in USDT, and the simulation only has ETHBTC, the ETH adds nothing to the net worth. Add ETHUSDT as a data source to have it counted.

Requirements at run time

A simulation runs only if the primary quote asset is usable:

  • The starting balance on the Balances step includes an amount of the primary quote asset.
  • At least one data source is an instrument quoted in it. With USDT, BTCUSDT qualifies and USDTTRY does not, because there USDT is the asset being priced, not the currency it is priced in.

For an instrument sweep, choose instruments that are all quoted in the primary quote asset, so the result on each instrument is measured in the same money.

A fixed choice

The primary quote asset cannot be changed after the simulation is created. You can rename a simulation, change its fees, its data and its algorithms, but the Valued in row stays locked.

This is deliberate. A simulation keeps the history of its runs so that you can compare them: this run against the last one, this parameter against that one. A return of 12% measured in USDT and a return of 12% measured in BTC are different results, and a history that mixed them would compare nothing. Fixing the asset means every run in a simulation's history can be put next to every other.

To measure the same strategy in another currency, create a new simulation with that currency as its quote asset. The two simulations then keep separate histories, each consistent in itself.

Fixed margin terms

The margin terms of a simulation are also chosen at creation and locked afterwards, for the same reason: they are what every run is judged under.

On this page