Skip to content
Algo Trade Analytics Docs

syminfo.basecurrency - Pine Script Variable

Returns a string containing the code representing the symbol’s base currency (i.e., the traded currency or coin) if the instrument is a Forex or Crypto pair or a derivative based on such a pair. Otherwise, it returns an empty string. For example, this variable returns “EUR” for “EURJPY”, “BTC” for “BTCUSDT”, “CAD” for “CME:6C1!”, and "" for “NASDAQ:AAPL”.

string

simple