Skip to content
ChartDeck ChartScript docs Account Open the terminal

CS3104

warning The market market is not known; its values will be na.

#What it means

This is a warning. The market text is not in the form ChartDeck uses, VENUE:SYMBOL (for example BINANCE:BTCUSDT), so it cannot be found and its values will be na.

#Typical cause

  • The venue part is missing, as in "BTCUSDT".
  • Spaces or other characters that market ids do not contain.

#How to fix it

Write the full market id with its venue, or let users pick it with input.market. See Other timeframes and markets.

#Example

ChartScriptWarning: CS3104
//@chartscript 1
indicator("Bitcoin")
plot(request.market("BTCUSDT", "60", close))

Fixed

ChartScriptOpen in editor
//@chartscript 1
indicator("Bitcoin")
plot(request.market("BINANCE:BTCUSDT", "60", close))
  • CS3103 — There are no "tf" bars: the seconds timeframes are 1S, 5S, 10S, 15S, 30S and 45S. This request gives na.
  • CS3004 — This script uses n other timeframes or markets; your plan allows max.

The ChartScript documentation is in English for now; translations will follow.