weak_hand

Spot Symbols for Crypto

Library "CryptoSpotSymbols"
This Library has one purpose only. It generate Symbols for the Crypto Spot Market, like all the currencies pairs of most Crypto Exchanges available to TradingView.

Have a look at .find(), which is an all in one function.

Binance(basecurrency)
  Generate 27 Symbols for the Spot Market of Binance.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

BinanceUS(basecurrency)
  Generate seven Symbols for the Spot Market of BinanceUS.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

Bitfinex(basecurrency)
  Generate 12 Symbols for the Spot Market of Bitfinex.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

bitFlyer(basecurrency)
  Generate three Symbols for the Spot Market of bitFlyer.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

Bitget(basecurrency)
  Generate seven Symbols for the Spot Market of Bitget.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

Bithumb(basecurrency)
  Generate two Symbols for the Spot Market of Bithumb.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

bitkub(basecurrency)
  Generate one Symbol for the Spot Market of bitkub.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns: THB

BitMEX(basecurrency)
  Generate two Symbols for the Spot Market of BitMEX.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

bitpanda_pro(basecurrency)
  Generate six Symbols for the Spot Market of bitpanda pro.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

bitrue(basecurrency)
  Generate nine Symbols for the Spot Market of bitrue.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

Bitstamp(basecurrency)
  Generate eight Symbols for the Spot Market of Bitstamp.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

BITTREX(basecurrency)
  Generate six Symbols for the Spot Market of BITTREX.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

BTSE(basecurrency)
  Generate 15 Symbols for the Spot Market of BTSE.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

BYBIT(basecurrency)
  Generate five Symbols for the Spot Market of BYBIT.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

CapitalCom(basecurrency)
  Generate five Symbols for the Spot Market of capital.com.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

coinbase(basecurrency)
  Generate seven Symbols for the Spot Market of coinbase.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

CoinEx(basecurrency)
  Generate three Symbols for the Spot Market of CoinEx.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

CurrencyCom(basecurrency)
  Generate 30 Symbols for the Spot Market of currency.com.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

Delta(basecurrency)
  Generate one Symbol for the Spot Market of Delta.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns: USDT

Deribit(basecurrency)
  Generate two Symbols for the Spot Market of Deribit.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

easyMarkets(basecurrency)
  Generate one Symbol for the Spot Market of easyMarkets.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns: USD

Eightcap(basecurrency)
  Generate one Symbol for the Spot Market of Eightcap.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns: USD

ExMo(basecurrency)
  Generate ten Symbols for the Spot Market of ExMo.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

FOREXcom(basecurrency)
  Generate four Symbols for the Spot Market of FOREX.com.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

FXCM(basecurrency)
  Generate three Symbols for the Spot Market of FXCM.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

GateIO(basecurrency)
  Generate five Symbols for the Spot Market of Gate.io.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

Gemini(basecurrency)
  Generate ten Symbols for the Spot Market of Gemini.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

Kraken(basecurrency)
  Generate 14 Symbols for the Spot Market of Kraken.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

KuCoin(basecurrency)
  Generate 13 Symbols for the Spot Market of KuCoin.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

MEXC(basecurrency)
  Generate six Symbols for the Spot Market of MEXC.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

OANDA(basecurrency)
  Generate one Symbol for the Spot Market of OANDA.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns: USD

OKX(basecurrency)
  Generate six Symbols for the Spot Market of OKX.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

Pepperstone(basecurrency)
  Generate one Symbol for the Spot Market of Pepperstone.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns: USD

phemex(basecurrency)
  Generate four Symbols for the Spot Market of phemex.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

POLONIEX(basecurrency)
  Generate nine Symbols for the Spot Market of POLONIEX.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

Pyth(basecurrency)
  Generate three Symbols for the Spot Market of Pyth.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

Skilling(basecurrency)
  Generate four Symbols for the Spot Market of Skilling.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

TimeX(basecurrency)
  Generate six Symbols for the Spot Market of TimeX.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

TradeStation(basecurrency)
  Generate four Symbols for the Spot Market of TradeStation.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

UpBit(basecurrency)
  Generate four Symbols for the Spot Market of UpBit.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

whitebit(basecurrency)
  Generate 13 Symbols for the Spot Market of whitebit.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

WOOX(basecurrency)
  Generate two Symbols for the Spot Market of WOO.
  Parameters:
    basecurrency (simple string): Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
  Returns:

find(exchange, basecurrency)
  Generate up to 30 Symbols for the Spot Market, depending on the market picked.
  Parameters:
    exchange (simple string): The name of an Exchange. Case insensitivity. Optional. Default value is `syminfo.prefix`. If something else is put in here it will return `na` values.
    basecurrency (simple string): The Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`
  Returns: 30x string as tuple
Библиотека Pine

В истинном духе TradingView автор опубликовал этот код Pine как библиотеку с открытым исходным кодом, чтобы другие разработчики Pine из нашего сообщества могли использовать его повторно. Поблагодарим автора! Вы можете использовать эту библиотеку приватно или в других публикациях с открытым исходным кодом, но повторное использование этого кода в публикации регулируется Правилами поведения.

Отказ от ответственности

Все виды контента, которые вы можете увидеть на TradingView, не являются финансовыми, инвестиционными, торговыми или любыми другими рекомендациями. Мы не предоставляем советы по покупке и продаже активов. Подробнее — в Условиях использования TradingView.

Хотите использовать эту библиотеку?

Скопируйте текст в буфер обмена и вставьте в свой скрипт.