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
Libreria Pine

Nello spirito di condivisione promosso da TradingView, l'autore (al quale vanno i nostri ringraziamenti) ha deciso di pubblicare questo script in modalità open-source, così che chiunque possa comprenderlo e testarlo. Puoi utilizzare questa libreria in privato o all'interno di altre pubblicazioni open-source, ma il riutilizzo del codice è subordinato al rispetto del Regolamento.

Declinazione di responsabilità

Le informazioni ed i contenuti pubblicati non costituiscono in alcun modo una sollecitazione ad investire o ad operare nei mercati finanziari. Non sono inoltre fornite o supportate da TradingView. Maggiori dettagli nelle Condizioni d'uso.

Vuoi usare questa libreria?

Copia il testo ed incollalo nel tuo script.