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提供或认可的金融、投资、交易或其它类型的建议或背书。请在使用条款阅读更多信息。

想使用这个脚本库吗?

复制以下行并将其粘贴到您的脚本中。