Skip to content

Token prices ​

Every figure SimplyLedger shows in your entity currency comes from a stored price for a token on a date: the value of a pending transaction, a token card's opening balance, a reconciliation at its closing date, and your portfolio.

Prices are held per token, per date, per currency and per source. They are historical, not live: a transaction from March is valued at March's price, not today's.

Where they come from ​

Each token names a price source and a source token ID: the identifier that source knows it by, such as ethereum for CoinGecko. Those two fields are what let prices be fetched automatically, and a wrong or missing source token ID is the usual reason a token has none.

Select Supported Tokens in the sidebar's icon rail (or the Supported Tokens heading in a portfolio entity's sidebar), then Token Pricing. Token pricing on the tokens page leads to the same place. The page is titled Token Prices.

Fetching prices ​

Get prices, at the top of the page, opens the Get prices dialog:

  1. Pick one or more Tokens.
  2. Pick the Date Range.
  3. Select Get prices. Price extraction requests queued successfully confirms it, and a background worker fetches the prices from CoinGecko.

Queueing a price extraction

Each selected token is listed with an Open in CoinGecko link, so you can confirm you have the right asset before queueing. The link is disabled for a token with no source ID, which tells you the extraction will find nothing for it.

Queueing is not instant. The request returns straight away and the prices appear as the worker works through them.

Setting a price by hand ​

Some tokens are not on a public price source at all, and some dates come back empty. Add manual price, at the top of the page, opens the Add manual price dialog to record a price directly.

FieldNotes
TokenThe token being priced.
CurrencyEUR or USD, defaulting to your entity currency.
PriceThe price for one unit of the token.
Price dateThe date the price applies to, as a calendar day in UTC. Days after today (UTC) are disabled.
NotesOptional, and worth using. Record where the price came from, for example the quote and the date you took it.

Token, currency, price and price date are required. Select Save manual price to record it; Token price created successfully confirms it. Manual prices are saved against the Manual price source, so a later automatic extraction is distinguishable from a figure someone typed. The notes are what make a manual price defensible when an auditor asks how it was arrived at.

Pricing from a reference token ​

For a token that tracks another one, such as a liquid staking token, Optional: Calculate from reference token in the same dialog works the price out for you. Pick a Reference token and a Reference price date, enter the Conversion ratio (how many of the reference token equal one of yours), then Apply to price field. The price, its currency and a note saying where it came from are filled in, ready to save. If the reference token has no stored price on that date, add one for it first or pick another date.

Reviewing what is stored ​

Token Price History lists one token's stored prices at a time: pick a Token, optionally narrow the Date Range, and switch Currency between EUR and USD. It shows the date (UTC), price and notes. With write access, a manual price has a bin icon (Delete manual price); confirming removes it, and the fetched price for that date, if there is one, is used instead. Manual price deleted confirms it. Fetched prices cannot be deleted. Export CSV asks Export to CSV? with the number of price records, then Export downloads the rows listed. Reset filters clears the token and dates. Prices show up to six decimal places, here and wherever a unit price appears, so a token worth a fraction of a cent does not read as 0.00.

Use it when a value looks wrong. A transaction valued at zero, or an opening balance that will not fill in, almost always means no price is stored for that token on that date rather than a fault in the calculation.

Who can set prices

Queueing an extraction, saving a manual price and deleting one all need write access. Viewers can read the price history but not change it, and do not see the Get prices or Add manual price buttons. See roles and permissions.

Next ​

With accounts, token cards and prices in place, historical sync covers activity flowing in.

Crypto accounting, finally automated.