Spot Symbols for Crypto
// This source code is subject to the terms of the Mozilla Public License 2.0 at https://mozilla.org/MPL/2.0/
// © weak_hand

//@version=5

// @description 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.
library("CryptoSpotSymbols")

// @function Generate 27 Symbols for the Spot Market of Binance.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [ARS, BIDR, BNB, BUSD, BRL, BTC, DAI, DOT, DOGE, ETH, EUR, GBP, IDRT, NGN, PLN, RON, RUB, TRY, TRX, TUSD, UAH, USD, USDC, USDT, VAI, XRP, ZAR]
export Binance(simple string basecurrency = syminfo.basecurrency) =>
    string prefix 	 = "BINANCE"
    string binance01 = str.format("{0}:{1}ARS" , prefix, basecurrency)
    string binance02 = str.format("{0}:{1}BIDR", prefix, basecurrency)
    string binance03 = str.format("{0}:{1}BNB" , prefix, basecurrency)
    string binance04 = str.format("{0}:{1}BUSD", prefix, basecurrency)
    string binance05 = str.format("{0}:{1}BRL" , prefix, basecurrency)
    string binance06 = str.format("{0}:{1}BTC" , prefix, basecurrency)
    string binance07 = str.format("{0}:{1}DAI" , prefix, basecurrency)
    string binance08 = str.format("{0}:{1}DOT" , prefix, basecurrency)
    string binance09 = str.format("{0}:{1}DOGE", prefix, basecurrency)
    string binance10 = str.format("{0}:{1}ETH" , prefix, basecurrency)
    string binance11 = str.format("{0}:{1}EUR" , prefix, basecurrency)
    string binance12 = str.format("{0}:{1}GBP" , prefix, basecurrency)
    string binance13 = str.format("{0}:{1}IDRT", prefix, basecurrency)
    string binance14 = str.format("{0}:{1}NGN" , prefix, basecurrency)
    string binance15 = str.format("{0}:{1}PLN" , prefix, basecurrency)
    string binance16 = str.format("{0}:{1}RON" , prefix, basecurrency)
    string binance17 = str.format("{0}:{1}RUB" , prefix, basecurrency)
    string binance18 = str.format("{0}:{1}TRY" , prefix, basecurrency)
    string binance19 = str.format("{0}:{1}TRX" , prefix, basecurrency)
    string binance20 = str.format("{0}:{1}TUSD", prefix, basecurrency)
    string binance21 = str.format("{0}:{1}UAH" , prefix, basecurrency)
    string binance22 = str.format("{0}:{1}USD" , prefix, basecurrency)
    string binance23 = str.format("{0}:{1}USDC", prefix, basecurrency)
    string binance24 = str.format("{0}:{1}USDT", prefix, basecurrency)
    string binance25 = str.format("{0}:{1}VAI" , prefix, basecurrency)
    string binance26 = str.format("{0}:{1}XRP" , prefix, basecurrency)
    string binance27 = str.format("{0}:{1}ZAR" , prefix, basecurrency)
    [binance01, binance02, binance03, binance04, binance05, binance06, binance07, binance08, binance09, binance10, binance11, binance12, binance13, binance14, binance15, binance16, binance17, binance18, binance19, binance20, binance21, binance22, binance23, binance24, binance25, binance26, binance27]

// @function Generate seven Symbols for the Spot Market of BinanceUS.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [BUSD, BTC, DAI, ETH, USD, USDC, USDT]
export BinanceUS(simple string basecurrency = syminfo.basecurrency) =>
    string prefix 	   = "BINANCEUS"
    string binanceus01 = str.format("{0}:{1}BUSD", prefix, basecurrency)    
    string binanceus02 = str.format("{0}:{1}BTC" , prefix, basecurrency)    
    string binanceus03 = str.format("{0}:{1}DAI" , prefix, basecurrency)    
    string binanceus04 = str.format("{0}:{1}ETH" , prefix, basecurrency)    
    string binanceus05 = str.format("{0}:{1}USD" , prefix, basecurrency)    
    string binanceus06 = str.format("{0}:{1}USDC", prefix, basecurrency)    
    string binanceus07 = str.format("{0}:{1}USDT", prefix, basecurrency)
	[binanceus01, binanceus02, binanceus03, binanceus04, binanceus05, binanceus06, binanceus07]

// @function Generate 12 Symbols for the Spot Market of Bitfinex.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [BTC, CNHT, EUR, EUT, GBR, JPY, MIM, MXNT, TRY, USD, UST, XAUT]
export Bitfinex(simple string basecurrency = syminfo.basecurrency) =>
    string prefix 	  = "BITFINEX"
    string bitfinex01 = basecurrency == "BTC" ? na : str.format("{0}:{1}BTC", prefix, basecurrency)      
    string bitfinex02 = str.format("{0}:{1}CNHT", prefix, basecurrency)    
    string bitfinex03 = str.format("{0}:{1}EUR" , prefix, basecurrency)    
    string bitfinex04 = str.format("{0}:{1}EUT" , prefix, basecurrency)    
    string bitfinex05 = str.format("{0}:{1}GBP" , prefix, basecurrency)    
    string bitfinex06 = str.format("{0}:{1}JPY" , prefix, basecurrency)    
    string bitfinex07 = str.format("{0}:{1}MIM" , prefix, basecurrency)    
    string bitfinex08 = str.format("{0}:{1}MXNT", prefix, basecurrency)    
    string bitfinex09 = str.format("{0}:{1}TRY" , prefix, basecurrency)    
    string bitfinex10 = str.format("{0}:{1}USD" , prefix, basecurrency)    
    string bitfinex11 = str.format("{0}:{1}UST" , prefix, basecurrency)    
    string bitfinex12 = str.format("{0}:{1}XAUT", prefix, basecurrency)
	[bitfinex01, bitfinex02, bitfinex03, bitfinex04, bitfinex05, bitfinex06, bitfinex07, bitfinex08, bitfinex09, bitfinex10, bitfinex11, bitfinex12]

// @function Generate three Symbols for the Spot Market of bitFlyer.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [BTC, JPY, USD]
export bitFlyer(simple string basecurrency = syminfo.basecurrency) =>
    string prefix 	  = "BITFLYER"
    string bitflyer01 = str.format("{0}:{1}BTC", prefix, basecurrency)    
	string bitflyer02 = str.format("{0}:{1}JPY", prefix, basecurrency)    
    string bitflyer03 = str.format("{0}:{1}USD", prefix, basecurrency)
	[bitflyer01, bitflyer02, bitflyer03]

// @function Generate seven Symbols for the Spot Market of Bitget.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [BRL, BTC, ETH, EUR, GBP, USDC, USDT]
export Bitget(simple string basecurrency = syminfo.basecurrency) =>
    string prefix   = "BITGET"
    string bitget01 = str.format("{0}:{1}BRL" , prefix, basecurrency)    
    string bitget02 = str.format("{0}:{1}BTC" , prefix, basecurrency)    
    string bitget03 = str.format("{0}:{1}ETH" , prefix, basecurrency)    
    string bitget04 = str.format("{0}:{1}EUR" , prefix, basecurrency)    
    string bitget05 = str.format("{0}:{1}GBP" , prefix, basecurrency)    
    string bitget06 = str.format("{0}:{1}USDC", prefix, basecurrency)    
    string bitget07 = str.format("{0}:{1}USDT", prefix, basecurrency)
	[bitget01, bitget02, bitget03, bitget04, bitget05, bitget06, bitget07]

// @function Generate two Symbols for the Spot Market of Bithumb.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [KRW, BTC]
export Bithumb(simple string basecurrency = syminfo.basecurrency) =>
    string prefix    = "BITHUMB"
    string bithumb01 = str.format("{0}:{1}KRW", prefix, basecurrency)    
    string bithumb02 = str.format("{0}:{1}BTC", prefix, basecurrency)   
	[bithumb01, bithumb02]

// @function Generate one Symbol for the Spot Market of bitkub.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns THB
export bitkub(simple string basecurrency = syminfo.basecurrency) =>
    string bitkub01 = str.format("BITKUB:{0}THB", basecurrency)
    bitkub01

// @function Generate two Symbols for the Spot Market of BitMEX.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [USDT, XBT]
export BitMEX(simple string basecurrency = syminfo.basecurrency) =>
    string prefix   = "BITMEX"
    string bcur_imp = basecurrency == "BTC" ? "XBT" : basecurrency
    string bitmex01 = str.format("{0}:{1}USDT", prefix, bcur_imp)
    string bitmex02 = str.format("{0}:{1}XBT" , prefix, bcur_imp)
    [bitmex01, bitmex02]

// @function Generate six Symbols for the Spot Market of bitpanda pro.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [CHF, EUR, EUROC, GBP, USDC, USDT]
export bitpanda_pro(simple string basecurrency = syminfo.basecurrency) =>
    string prefix        = "BITPANDAPRO"
    string bitpandapro01 = str.format("{0}:{1}CHF"  , prefix, basecurrency)
    string bitpandapro02 = str.format("{0}:{1}EUR"  , prefix, basecurrency)
    string bitpandapro03 = str.format("{0}:{1}EUROC", prefix, basecurrency)
    string bitpandapro04 = str.format("{0}:{1}GBP"  , prefix, basecurrency)
    string bitpandapro05 = str.format("{0}:{1}USDC" , prefix, basecurrency)
    string bitpandapro06 = str.format("{0}:{1}USDT" , prefix, basecurrency)
    [bitpandapro01, bitpandapro02, bitpandapro03, bitpandapro04, bitpandapro05, bitpandapro06]

// @function Generate nine Symbols for the Spot Market of bitrue.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [ADA, BTR, BUSD, BTC, ETH, SOL, USDC, USDT, XRP]
export bitrue(simple string basecurrency = syminfo.basecurrency) =>
    string prefix   = "BITRUE"
    string bitrue01 = str.format("{0}:{1}ADA" , prefix, basecurrency)
    string bitrue02 = str.format("{0}:{1}BTR" , prefix, basecurrency)
    string bitrue03 = str.format("{0}:{1}BUSD", prefix, basecurrency)
    string bitrue04 = str.format("{0}:{1}BTC" , prefix, basecurrency)
    string bitrue05 = str.format("{0}:{1}ETH" , prefix, basecurrency)
    string bitrue06 = str.format("{0}:{1}SOL" , prefix, basecurrency)
    string bitrue07 = str.format("{0}:{1}USDC", prefix, basecurrency)
    string bitrue08 = str.format("{0}:{1}USDT", prefix, basecurrency)
    string bitrue09 = str.format("{0}:{1}XRP" , prefix, basecurrency)
    [bitrue01, bitrue02, bitrue03, bitrue04, bitrue05, bitrue06, bitrue07, bitrue08, bitrue09]

// @function Generate eight Symbols for the Spot Market of Bitstamp.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [BTC, EUR, ETH, GBP, PAX, USD, USDC, USDT]
export Bitstamp(simple string basecurrency = syminfo.basecurrency) =>
    string prefix     = "BITSTAMP"
    string bitstamp01 = str.format("{0}:{1}BTC" , prefix, basecurrency)
    string bitstamp02 = str.format("{0}:{1}EUR" , prefix, basecurrency)
    string bitstamp03 = str.format("{0}:{1}ETH" , prefix, basecurrency)
    string bitstamp04 = str.format("{0}:{1}GBP" , prefix, basecurrency)
    string bitstamp05 = str.format("{0}:{1}PAX" , prefix, basecurrency)
    string bitstamp06 = str.format("{0}:{1}USD" , prefix, basecurrency)
    string bitstamp07 = str.format("{0}:{1}USDC", prefix, basecurrency)
    string bitstamp08 = str.format("{0}:{1}USDT", prefix, basecurrency)
    [bitstamp01, bitstamp02, bitstamp03, bitstamp04, bitstamp05, bitstamp06, bitstamp07, bitstamp08]

// @function Generate six Symbols for the Spot Market of BITTREX.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [BTC, EUR, ETH, USD, USDC, USDT]
export BITTREX(simple string basecurrency = syminfo.basecurrency) =>
    string prefix    = "BITTREX"
    string bittrex01 = str.format("{0}:{1}BTC" , prefix, basecurrency)
    string bittrex02 = str.format("{0}:{1}EUR" , prefix, basecurrency)
    string bittrex03 = str.format("{0}:{1}ETH" , prefix, basecurrency)
    string bittrex04 = str.format("{0}:{1}USD" , prefix, basecurrency)
    string bittrex05 = str.format("{0}:{1}USDC", prefix, basecurrency)
    string bittrex06 = str.format("{0}:{1}USDT", prefix, basecurrency)
    [bittrex01, bittrex02, bittrex03, bittrex04, bittrex05, bittrex06]

// @function Generate 15 Symbols for the Spot Market of BTSE.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [AED, AUD, CAD, CHF, EUR, GBP, HKD, INR, JPY, SGD, USD, USDC, USDP, USDT]
export BTSE(simple string basecurrency = syminfo.basecurrency) =>
    string prefix = "BTSE"
    string btse01 = str.format("{0}:{1}AED" , prefix, basecurrency)
    string btse02 = str.format("{0}:{1}AUD" , prefix, basecurrency)
    string btse03 = str.format("{0}:{1}CAD" , prefix, basecurrency)
    string btse04 = str.format("{0}:{1}CHF" , prefix, basecurrency)
    string btse05 = str.format("{0}:{1}EUR" , prefix, basecurrency)
    string btse06 = str.format("{0}:{1}GBP" , prefix, basecurrency)
    string btse07 = str.format("{0}:{1}HKD" , prefix, basecurrency)
    string btse08 = str.format("{0}:{1}INR" , prefix, basecurrency)
    string btse09 = str.format("{0}:{1}JPY" , prefix, basecurrency)
    string btse10 = str.format("{0}:{1}MYR" , prefix, basecurrency)
    string btse11 = str.format("{0}:{1}SGD" , prefix, basecurrency)
    string btse12 = str.format("{0}:{1}USD" , prefix, basecurrency)
    string btse13 = str.format("{0}:{1}USDC", prefix, basecurrency)
    string btse14 = str.format("{0}:{1}USDP", prefix, basecurrency)
    string btse15 = str.format("{0}:{1}USDT", prefix, basecurrency)
    [btse01, btse02, btse03, btse04, btse05, btse06, btse07, btse08, btse09, btse10, btse11, btse12, btse13, btse14, btse15]

// @function Generate five Symbols for the Spot Market of BYBIT.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [BTC, DAI, EUR, USDC, USDT]
export BYBIT(simple string basecurrency = syminfo.basecurrency) =>
    string prefix  = "BYBIT"
    string bybit01 = str.format("{0}:{1}BTC" , prefix, basecurrency)
    string bybit02 = str.format("{0}:{1}DAI" , prefix, basecurrency)
    string bybit03 = str.format("{0}:{1}EUR" , prefix, basecurrency)
    string bybit04 = str.format("{0}:{1}USDC", prefix, basecurrency)
    string bybit05 = str.format("{0}:{1}USDT", prefix, basecurrency)
    [bybit01, bybit02, bybit03, bybit04, bybit05]

// @function Generate five Symbols for the Spot Market of capital.com.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [BTC, EUR, GBP, JPY, USD]
export CapitalCom(simple string basecurrency = syminfo.basecurrency) =>
    string prefix       = "CAPITALCOM"
    string capitalcom01 = str.format("{0}:{1}BTC", prefix, basecurrency)
    string capitalcom02 = str.format("{0}:{1}EUR", prefix, basecurrency)
    string capitalcom03 = str.format("{0}:{1}GBP", prefix, basecurrency)
    string capitalcom04 = str.format("{0}:{1}JPY", prefix, basecurrency)
    string capitalcom05 = str.format("{0}:{1}USD", prefix, basecurrency)
    [capitalcom01, capitalcom02, capitalcom03, capitalcom04, capitalcom05]

// @function Generate seven Symbols for the Spot Market of coinbase.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [BTC, DAI, ETH, EUR, GBP, USD, USDT]
export coinbase(simple string basecurrency = syminfo.basecurrency) =>
    string prefix     = "COINBASE"
    string coinbase01 = str.format("{0}:{1}BTC" , prefix, basecurrency)
    string coinbase02 = str.format("{0}:{1}DAI" , prefix, basecurrency)
    string coinbase03 = str.format("{0}:{1}ETH" , prefix, basecurrency)
    string coinbase04 = str.format("{0}:{1}EUR" , prefix, basecurrency)
    string coinbase05 = str.format("{0}:{1}GBP" , prefix, basecurrency)
    string coinbase06 = str.format("{0}:{1}USD" , prefix, basecurrency)
    string coinbase07 = str.format("{0}:{1}USDT", prefix, basecurrency)
    [coinbase01, coinbase02, coinbase03, coinbase04, coinbase05, coinbase06, coinbase07]

// @function Generate three Symbols for the Spot Market of CoinEx.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [BTC, USDC, USDT]
export CoinEx(simple string basecurrency = syminfo.basecurrency) =>
    string prefix   = "COINEX"
    string coinex01 = str.format("{0}:{1}BTC" , prefix, basecurrency)
    string coinex02 = str.format("{0}:{1}USDC", prefix, basecurrency)
    string coinex03 = str.format("{0}:{1}USDT", prefix, basecurrency)
    [coinex01, coinex02, coinex03]

// @function Generate 30 Symbols for the Spot Market of currency.com.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [AUD, BGN, BTC, BYN, CAD, CHF, CRC, CZK, DKK, ETH, EUR, GBP, HUF, IDR, ILS, INR, MXN, NOK, NZD, PHP, PKR, RON, RUB, SEK, SGD, THB, TRY, USD, USDT, ZAR]
export CurrencyCom(simple string basecurrency = syminfo.basecurrency) =>
    string prefix        = "CURRENCYCOM"
    string currencycom01 = str.format("{0}:{1}AUD" , prefix, basecurrency)
    string currencycom02 = str.format("{0}:{1}BGN" , prefix, basecurrency)
    string currencycom03 = str.format("{0}:{1}BTC" , prefix, basecurrency)
    string currencycom04 = str.format("{0}:{1}BYN" , prefix, basecurrency)
    string currencycom05 = str.format("{0}:{1}CAD" , prefix, basecurrency)
    string currencycom06 = str.format("{0}:{1}CHF" , prefix, basecurrency)
    string currencycom07 = str.format("{0}:{1}CRC" , prefix, basecurrency)
    string currencycom08 = str.format("{0}:{1}CZK" , prefix, basecurrency)
    string currencycom09 = str.format("{0}:{1}DKK" , prefix, basecurrency)
    string currencycom10 = str.format("{0}:{1}ETH" , prefix, basecurrency)
    string currencycom11 = str.format("{0}:{1}EUR" , prefix, basecurrency)
    string currencycom12 = str.format("{0}:{1}GBP" , prefix, basecurrency)
    string currencycom13 = str.format("{0}:{1}HUF" , prefix, basecurrency)
    string currencycom14 = str.format("{0}:{1}IDR" , prefix, basecurrency)
    string currencycom15 = str.format("{0}:{1}ILS" , prefix, basecurrency)
    string currencycom16 = str.format("{0}:{1}INR" , prefix, basecurrency)
    string currencycom17 = str.format("{0}:{1}MXN" , prefix, basecurrency)
    string currencycom18 = str.format("{0}:{1}NOK" , prefix, basecurrency)
    string currencycom19 = str.format("{0}:{1}NZD" , prefix, basecurrency)
    string currencycom20 = str.format("{0}:{1}PHP" , prefix, basecurrency)
    string currencycom21 = str.format("{0}:{1}PKR" , prefix, basecurrency)
    string currencycom22 = str.format("{0}:{1}RON" , prefix, basecurrency)
    string currencycom23 = str.format("{0}:{1}RUB" , prefix, basecurrency)
    string currencycom24 = str.format("{0}:{1}SEK" , prefix, basecurrency)
    string currencycom25 = str.format("{0}:{1}SGD" , prefix, basecurrency)
    string currencycom26 = str.format("{0}:{1}THB" , prefix, basecurrency)
    string currencycom27 = str.format("{0}:{1}TRY" , prefix, basecurrency)
    string currencycom28 = str.format("{0}:{1}USD" , prefix, basecurrency)
    string currencycom29 = str.format("{0}:{1}USDT", prefix, basecurrency)
    string currencycom30 = str.format("{0}:{1}ZAR" , prefix, basecurrency)
    [currencycom01, currencycom02, currencycom03, currencycom04, currencycom05, currencycom06, currencycom07, currencycom08, currencycom09, currencycom10, currencycom11, currencycom12, currencycom13, currencycom14, currencycom15, currencycom16, currencycom17, currencycom18, currencycom19, currencycom20, currencycom21, currencycom22, currencycom23, currencycom24, currencycom25, currencycom26, currencycom27, currencycom28, currencycom29, currencycom30]

// @function Generate one Symbol for the Spot Market of Delta.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns USDT
export Delta(simple string basecurrency = syminfo.basecurrency) =>
    string delta01 = str.format("DELTA:{0}USDT", basecurrency)
    delta01

// @function Generate two Symbols for the Spot Market of Deribit.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [BTC, USDC]
export Deribit(simple string basecurrency = syminfo.basecurrency) =>
    string prefix    = "DERIBIT"
    string deribit01 = str.format("{0}:{1}BTC" , prefix, basecurrency)
    string deribit02 = str.format("{0}:{1}USDC", prefix, basecurrency)
    [deribit01, deribit02]

// @function Generate one Symbol for the Spot Market of easyMarkets.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns USD
export easyMarkets(simple string basecurrency = syminfo.basecurrency) =>
    string bcur_imp =
       basecurrency == "LINK"  ? "LNK"
     : basecurrency == "MATIC" ? "MTC"
     : basecurrency == "DOGE"  ? "DOG"
     : basecurrency
    string easymarkets01 = str.format("EASYMARKETS:{0}USD", bcur_imp)
    easymarkets01

// @function Generate one Symbol for the Spot Market of Eightcap.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns USD
export Eightcap(simple string basecurrency = syminfo.basecurrency) =>
    eightcap01 = str.format("EIGHTCAP:{0}USD", basecurrency)
    eightcap01

// @function Generate ten Symbols for the Spot Market of ExMo.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [BTC, DAI, ETH, EUR, GBP, LTC, PLN, UAH, USD, USDT]
export ExMo(simple string basecurrency = syminfo.basecurrency) =>
    string prefix = "EXMO"
    string exmo01 = str.format("{0}:{1}BTC" , prefix, basecurrency)
    string exmo02 = str.format("{0}:{1}DAI" , prefix, basecurrency)
    string exmo03 = str.format("{0}:{1}ETH" , prefix, basecurrency)
    string exmo04 = str.format("{0}:{1}EUR" , prefix, basecurrency)
    string exmo05 = str.format("{0}:{1}GBP" , prefix, basecurrency)
    string exmo06 = str.format("{0}:{1}LTC" , prefix, basecurrency)
    string exmo07 = str.format("{0}:{1}PLN" , prefix, basecurrency)
    string exmo08 = str.format("{0}:{1}UAH" , prefix, basecurrency)
    string exmo09 = str.format("{0}:{1}USD" , prefix, basecurrency)
    string exmo10 = str.format("{0}:{1}USDT", prefix, basecurrency)
    [exmo01, exmo02, exmo03, exmo04, exmo05, exmo06, exmo07, exmo08, exmo09, exmo10]

// @function Generate four Symbols for the Spot Market of FOREX.com.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [AUD, EUR, GBP, USD]
export FOREXcom(simple string basecurrency = syminfo.basecurrency) =>
    string prefix  = "FOREXCOM"
    string forex01 = str.format("{0}:{1}AUD", prefix, basecurrency)
    string forex02 = str.format("{0}:{1}EUR", prefix, basecurrency)
    string forex03 = str.format("{0}:{1}GBP", prefix, basecurrency)
    string forex04 = str.format("{0}:{1}USD", prefix, basecurrency)
    [forex01, forex02, forex03, forex04]

// @function Generate three Symbols for the Spot Market of FXCM.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [EUR, GBP, USD]
export FXCM(simple string basecurrency = syminfo.basecurrency) =>
    string prefix = "FXCM"
    string fxcm01 = str.format("{0}:{1}EUR", prefix, basecurrency)
    string fxcm02 = str.format("{0}:{1}GBP", prefix, basecurrency)
    string fxcm03 = str.format("{0}:{1}USD", prefix, basecurrency)
    [fxcm01, fxcm02, fxcm03]

// @function Generate five Symbols for the Spot Market of Gate.io.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [BTC, ETH, TRY, USD, USDT]
export GateIO(simple string basecurrency = syminfo.basecurrency) =>
    string prefix   = "GATEIO"
    string gateio01 = str.format("{0}:{1}BTC" , prefix, basecurrency)
    string gateio02 = str.format("{0}:{1}ETH" , prefix, basecurrency)
    string gateio03 = str.format("{0}:{1}TRY" , prefix, basecurrency)
    string gateio04 = str.format("{0}:{1}USD" , prefix, basecurrency)
    string gateio05 = str.format("{0}:{1}USDT", prefix, basecurrency)
    [gateio01, gateio02, gateio03, gateio04, gateio05]

// @function Generate ten Symbols for the Spot Market of Gemini.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [BCH, BTC, DAI, ETH, EUR, GBP, GUSD, LTC, SGD, USDT]
export Gemini(simple string basecurrency = syminfo.basecurrency) =>
    string prefix   = "GEMINI"
    string gemini01 = str.format("{0}:{1}BCH" , prefix, basecurrency)
    string gemini02 = str.format("{0}:{1}BTC" , prefix, basecurrency)
    string gemini03 = str.format("{0}:{1}DAI" , prefix, basecurrency)
    string gemini04 = str.format("{0}:{1}ETH" , prefix, basecurrency)
    string gemini05 = str.format("{0}:{1}EUR" , prefix, basecurrency)
    string gemini06 = str.format("{0}:{1}GBP" , prefix, basecurrency)
    string gemini07 = str.format("{0}:{1}GUSD", prefix, basecurrency)
    string gemini08 = str.format("{0}:{1}LTC" , prefix, basecurrency)
    string gemini09 = str.format("{0}:{1}SGD" , prefix, basecurrency)
    string gemini10 = str.format("{0}:{1}USDT", prefix, basecurrency)
    [gemini01, gemini02, gemini03, gemini04, gemini05, gemini06, gemini07, gemini08, gemini09, gemini10]

// @function Generate 14 Symbols for the Spot Market of Kraken.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [AED, AUD, BTC, CAD, CHF, DAI, DOT, ETH, EUR, GBP, JPY, USD, USDC, USDT]
export Kraken(simple string basecurrency = syminfo.basecurrency) =>
    string prefix   = "KRAKEN"
    string kraken01 = str.format("{0}:{1}AED" , prefix, basecurrency)
    string kraken02 = str.format("{0}:{1}AUD" , prefix, basecurrency)
    string kraken03 = str.format("{0}:{1}BTC" , prefix, basecurrency)
    string kraken04 = str.format("{0}:{1}CAD" , prefix, basecurrency)
    string kraken05 = str.format("{0}:{1}CHF" , prefix, basecurrency)
    string kraken06 = str.format("{0}:{1}DAI" , prefix, basecurrency)
    string kraken07 = str.format("{0}:{1}DOT" , prefix, basecurrency)
    string kraken08 = str.format("{0}:{1}ETH" , prefix, basecurrency)
    string kraken09 = str.format("{0}:{1}EUR" , prefix, basecurrency)
    string kraken10 = str.format("{0}:{1}GBP" , prefix, basecurrency)
    string kraken11 = str.format("{0}:{1}JPY" , prefix, basecurrency)
    string kraken12 = str.format("{0}:{1}USD" , prefix, basecurrency)
    string kraken13 = str.format("{0}:{1}USDC", prefix, basecurrency)
    string kraken14 = str.format("{0}:{1}USDT", prefix, basecurrency)
    [kraken01, kraken02, kraken03, kraken04, kraken05, kraken06, kraken07, kraken08, kraken09, kraken10, kraken11, kraken12, kraken13, kraken14]

// @function Generate 13 Symbols for the Spot Market of KuCoin.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [BRL, BTC, DAI, DOGE, ETH, EUR, GBP, KCS, TRX, TUSD, USD, USDC, USDT]
export KuCoin(simple string basecurrency = syminfo.basecurrency) =>
    string prefix   = "KUCOIN"
    string kucoin01 = str.format("{0}:{1}BRL" , prefix, basecurrency)
    string kucoin02 = str.format("{0}:{1}BTC" , prefix, basecurrency)
    string kucoin03 = str.format("{0}:{1}DAI" , prefix, basecurrency)
    string kucoin04 = str.format("{0}:{1}DOGE", prefix, basecurrency)
    string kucoin05 = str.format("{0}:{1}ETH" , prefix, basecurrency)
    string kucoin06 = str.format("{0}:{1}EUR" , prefix, basecurrency)
    string kucoin07 = str.format("{0}:{1}GBP" , prefix, basecurrency)
    string kucoin08 = str.format("{0}:{1}KCS" , prefix, basecurrency)
    string kucoin09 = str.format("{0}:{1}TRX" , prefix, basecurrency)
    string kucoin10 = str.format("{0}:{1}TUSD", prefix, basecurrency)
    string kucoin11 = str.format("{0}:{1}USD" , prefix, basecurrency)
    string kucoin12 = str.format("{0}:{1}USDC", prefix, basecurrency)
    string kucoin13 = str.format("{0}:{1}USDT", prefix, basecurrency)
    [kucoin01, kucoin02, kucoin03, kucoin04, kucoin05, kucoin06, kucoin07, kucoin08, kucoin09, kucoin10, kucoin11, kucoin12, kucoin13]

// @function Generate six Symbols for the Spot Market of MEXC.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [BTC, BUSD, ETH, TUSD, USDC, USDT]
export MEXC(simple string basecurrency = syminfo.basecurrency) =>
    string prefix = "MEXC"
    string mexc01 = str.format("{0}:{1}BTC" , prefix, basecurrency)
    string mexc02 = str.format("{0}:{1}BUSD", prefix, basecurrency)
    string mexc03 = str.format("{0}:{1}ETH" , prefix, basecurrency)
    string mexc04 = str.format("{0}:{1}TUSD", prefix, basecurrency)
    string mexc05 = str.format("{0}:{1}USDC", prefix, basecurrency)
    string mexc06 = str.format("{0}:{1}USDT", prefix, basecurrency)
    [mexc01, mexc02, mexc03, mexc04, mexc05, mexc06]

// @function Generate one Symbol for the Spot Market of OANDA.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns USD
export OANDA(simple string basecurrency = syminfo.basecurrency) =>
    string oanda01 = str.format("OANDA:{0}USD", basecurrency)
    oanda01

// @function Generate six Symbols for the Spot Market of OKX.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [BTC, DAI, ETH, EURT, USDC, USDT]
export OKX(simple string basecurrency = syminfo.basecurrency) =>
    string prefix = "OKX"
    string okx01  = str.format("{0}:{1}BTC" , prefix, basecurrency)
    string okx02  = str.format("{0}:{1}DAI" , prefix, basecurrency)
    string okx03  = str.format("{0}:{1}ETH" , prefix, basecurrency)
    string okx04  = str.format("{0}:{1}EURT", prefix, basecurrency)
    string okx05  = str.format("{0}:{1}USDC", prefix, basecurrency)
    string okx06  = str.format("{0}:{1}USDT", prefix, basecurrency)
    [okx01, okx02, okx03, okx04, okx05, okx06]

// @function Generate one Symbol for the Spot Market of Pepperstone.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns USD
export Pepperstone(simple string basecurrency = syminfo.basecurrency) =>
    string pepperstone01 = str.format("PEPPERSTONE:{0}USD", basecurrency)
    pepperstone01

// @function Generate four Symbols for the Spot Market of phemex.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [BRZ, TRY, USDC, USDT]
export phemex(simple string basecurrency = syminfo.basecurrency) =>
    string prefix   = "PHEMEX"
    string phemex01 = str.format("{0}:{1}BRZ" , prefix, basecurrency)
    string phemex02 = str.format("{0}:{1}TRY" , prefix, basecurrency)
    string phemex03 = str.format("{0}:{1}USDC", prefix, basecurrency)
    string phemex04 = str.format("{0}:{1}USDT", prefix, basecurrency)
    [phemex01, phemex02, phemex03, phemex04]

// @function Generate nine Symbols for the Spot Market of POLONIEX.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [BNB, BTC, BUSD, ETH, TRX, TUSD, USDC, USDD, USDT]
export POLONIEX(simple string basecurrency = syminfo.basecurrency) =>
    string prefix     = "POLONIEX"
    string poloniex01 = str.format("{0}:{1}BNB" , prefix, basecurrency)
    string poloniex02 = str.format("{0}:{1}BTC" , prefix, basecurrency)
    string poloniex03 = str.format("{0}:{1}BUSD", prefix, basecurrency)
    string poloniex04 = str.format("{0}:{1}ETH" , prefix, basecurrency)
    string poloniex05 = str.format("{0}:{1}TRX" , prefix, basecurrency)
    string poloniex06 = str.format("{0}:{1}TUSD", prefix, basecurrency)
    string poloniex07 = str.format("{0}:{1}USDC", prefix, basecurrency)
    string poloniex08 = str.format("{0}:{1}USDD", prefix, basecurrency)
    string poloniex09 = str.format("{0}:{1}USDT", prefix, basecurrency)
    [poloniex01, poloniex02, poloniex03, poloniex04, poloniex05, poloniex06, poloniex07, poloniex08, poloniex09]

// @function Generate three Symbols for the Spot Market of Pyth.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [BRL, RUB, USD]
export Pyth(simple string basecurrency = syminfo.basecurrency) =>
    string prefix = "PYTH"
    string pyth01 = str.format("{0}:{1}BRL", prefix, basecurrency)
    string pyth02 = str.format("{0}:{1}RUB", prefix, basecurrency)
    string pyth03 = str.format("{0}:{1}USD", prefix, basecurrency)
    [pyth01, pyth02, pyth03]

// @function Generate four Symbols for the Spot Market of Skilling.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [EUR, GBP, JPY, USD]
export Skilling(simple string basecurrency = syminfo.basecurrency) =>
    string prefix     = "SKILLING"
    string skilling01 = str.format("{0}:{1}EUR", prefix, basecurrency)
    string skilling02 = str.format("{0}:{1}GBP", prefix, basecurrency)
    string skilling03 = str.format("{0}:{1}JPY", prefix, basecurrency)
    string skilling04 = str.format("{0}:{1}USD", prefix, basecurrency)
    [skilling01, skilling02, skilling03, skilling04]

// @function Generate six Symbols for the Spot Market of TimeX.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [AUDT, BTC, ETH, USD, USDC, USDT]
export TimeX(simple string basecurrency = syminfo.basecurrency) =>
    string prefix  = "TIMEX"
    string timex01 = str.format("{0}:{1}AUDT", prefix, basecurrency)
    string timex02 = str.format("{0}:{1}BTC" , prefix, basecurrency)
    string timex03 = str.format("{0}:{1}ETH" , prefix, basecurrency)
    string timex04 = str.format("{0}:{1}USD" , prefix, basecurrency)
    string timex05 = str.format("{0}:{1}USDC", prefix, basecurrency)
    string timex06 = str.format("{0}:{1}USDT", prefix, basecurrency)
    [timex01, timex02, timex03, timex04, timex05, timex06]

// @function Generate four Symbols for the Spot Market of TradeStation.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [BTC, ETH, USD, USDC]
export TradeStation(simple string basecurrency = syminfo.basecurrency) =>
    string prefix         = "TRADESTATION"
    string tradestation01 = str.format("{0}:{1}BTC" , prefix, basecurrency)
    string tradestation02 = str.format("{0}:{1}ETH" , prefix, basecurrency)
    string tradestation03 = str.format("{0}:{1}USD" , prefix, basecurrency)
    string tradestation04 = str.format("{0}:{1}USDC", prefix, basecurrency)
    [tradestation01, tradestation02, tradestation03, tradestation04]

// @function Generate four Symbols for the Spot Market of UpBit.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [BTC, KRW, SGD, USDT]
export UpBit(simple string basecurrency = syminfo.basecurrency) =>
    string prefix  = "UPBIT"
    string upbit01 = str.format("{0}:{1}BTC" , prefix, basecurrency)
    string upbit02 = str.format("{0}:{1}KRW" , prefix, basecurrency)
    string upbit03 = str.format("{0}:{1}SGD" , prefix, basecurrency)
    string upbit04 = str.format("{0}:{1}USDT", prefix, basecurrency)
    [upbit01, upbit02, upbit03, upbit04]

// @function Generate 13 Symbols for the Spot Market of whitebit.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [BTC, DAI, DECL, EUR, EURT, GEL, KZT, TRY, TUSD, UAH, USD, USDC, USDT]
export whitebit(simple string basecurrency = syminfo.basecurrency) =>
    string prefix     = "WHITEBIT"
    string whitebit01 = str.format("{0}:{1}BTC" , prefix, basecurrency)
    string whitebit02 = str.format("{0}:{1}DAI" , prefix, basecurrency)
    string whitebit03 = str.format("{0}:{1}DECL", prefix, basecurrency)
    string whitebit04 = str.format("{0}:{1}EUR" , prefix, basecurrency)
    string whitebit05 = str.format("{0}:{1}EURT", prefix, basecurrency)
    string whitebit06 = str.format("{0}:{1}GEL" , prefix, basecurrency)
    string whitebit07 = str.format("{0}:{1}KZT" , prefix, basecurrency)
    string whitebit08 = str.format("{0}:{1}TRY" , prefix, basecurrency)
    string whitebit09 = str.format("{0}:{1}TUSD", prefix, basecurrency)
    string whitebit10 = str.format("{0}:{1}UAH" , prefix, basecurrency)
    string whitebit11 = str.format("{0}:{1}USD" , prefix, basecurrency)
    string whitebit12 = str.format("{0}:{1}USDC", prefix, basecurrency)
    string whitebit13 = str.format("{0}:{1}USDT", prefix, basecurrency)
    [whitebit01, whitebit02, whitebit03, whitebit04, whitebit05, whitebit06, whitebit07, whitebit08, whitebit09, whitebit10, whitebit11, whitebit12, whitebit13]

// @function Generate two Symbols for the Spot Market of WOO.
// @param basecurrency Its the Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`.
// @returns [USDC, USDT]
export WOOX(simple string basecurrency = syminfo.basecurrency) =>
    string prefix    = "WOONETWORK"
    string woox01 = str.format("{0}:{1}USDC", prefix, basecurrency)
    string woox02 = str.format("{0}:{1}USDT", prefix, basecurrency)
    [woox01, woox02]

// ----------------------------------------------}
// ALL IN ONE
// ----------------------------------------------{

// @function Generate up to 30 Symbols for the Spot Market, depending on the market picked.
// @param exchange 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.
// @param basecurrency The Basecurrency to generate the Symbols with. Optional. Default value is `syminfo.basecurrency`
// @returns 30x string as tuple
export find(simple string exchange = syminfo.prefix, simple string basecurrency = syminfo.basecurrency) =>
    string prefix_cap = str.upper(exchange)
    string symbol01 = na, string symbol02 = na, string symbol03 = na, string symbol04 = na, string symbol05 = na, string symbol06 = na, string symbol07 = na, string symbol08 = na, string symbol09 = na, string symbol10 = na
    string symbol11 = na, string symbol12 = na, string symbol13 = na, string symbol14 = na, string symbol15 = na, string symbol16 = na, string symbol17 = na, string symbol18 = na, string symbol19 = na, string symbol20 = na
    string symbol21 = na, string symbol22 = na, string symbol23 = na, string symbol24 = na, string symbol25 = na, string symbol26 = na, string symbol27 = na, string symbol28 = na, string symbol29 = na, string symbol30 = na
    //string symbol31 = na, string symbol32 = na, string symbol33 = na, string symbol34 = na, string symbol35 = na, string symbol36 = na, string symbol37 = na, string symbol38 = na, string symbol39 = na, string symbol40 = na
    if str.contains(prefix_cap, "BINANCEUS")
        [s01, s02, s03, s04, s05, s06, s07] = BinanceUS(basecurrency)
        symbol01 := s01, symbol02 := s02, symbol03 := s03, symbol04 := s04, symbol05 := s05, symbol06 := s06, symbol07 := s07
    else if str.contains(prefix_cap, "BINANCE")
        [s01, s02, s03, s04, s05, s06, s07, s08, s09, s10, s11, s12, s13, s14, s15, s16, s17, s18, s19, s20, s21, s22, s23, s24, s25, s26, s27] = Binance(basecurrency)
        symbol01 := s01, symbol02 := s02, symbol03 := s03
        symbol04 := s04, symbol05 := s05, symbol06 := s06
        symbol07 := s07, symbol08 := s08, symbol09 := s09
        symbol10 := s10, symbol11 := s11, symbol12 := s12
        symbol13 := s13, symbol14 := s14, symbol15 := s15
        symbol16 := s16, symbol17 := s17, symbol18 := s18
        symbol19 := s19, symbol20 := s20, symbol21 := s21
        symbol22 := s22, symbol23 := s23, symbol24 := s24
        symbol25 := s25, symbol26 := s26, symbol27 := s27
    else if str.contains(prefix_cap, "BITFINEX")
        [s01, s02, s03, s04, s05, s06, s07, s08, s09, s10, s11, s12] = Bitfinex(basecurrency)
        symbol01 := s01, symbol02 := s02, symbol03 := s03, symbol04 := s04, symbol05 := s05, symbol06 := s06
        symbol07 := s07, symbol08 := s08, symbol09 := s09, symbol10 := s10, symbol11 := s11, symbol12 := s12
    else if str.contains(prefix_cap, "BITFLYER")
        [s01, s02, s03] = bitFlyer(basecurrency)
        symbol01 := s01, symbol02 := s02, symbol03 := s03
    else if str.contains(prefix_cap, "BITGET")
        [s01, s02, s03, s04, s05, s06, s07] = Bitget(basecurrency)
        symbol01 := s01, symbol02 := s02, symbol03 := s03, symbol04 := s04, symbol05 := s05, symbol06 := s06, symbol07 := s07
    else if str.contains(prefix_cap, "BITHUMB")
        [s01, s02] = Bithumb(basecurrency)
        symbol01 := s01, symbol02 := s02
    else if str.contains(prefix_cap, "BITKUB")
        s01 = bitkub(basecurrency)
        symbol01 := s01
    else if str.contains(prefix_cap, "BITMEX")
        [s01, s02] = BitMEX(basecurrency)
        symbol01 := s01, symbol02 := s02
    else if str.contains(prefix_cap, "BITPANDA")
        [s01, s02, s03, s04, s05, s06] = bitpanda_pro(basecurrency)
        symbol01 := s01, symbol02 := s02, symbol03 := s03
        symbol04 := s04, symbol05 := s05, symbol06 := s06
    else if str.contains(prefix_cap, "BITRUE")
        [s01, s02, s03, s04, s05, s06, s07, s08, s09] = bitrue(basecurrency)
        symbol01 := s01, symbol02 := s02, symbol03 := s03, symbol04 := s04, symbol05 := s05, symbol06 := s06, symbol07 := s07, symbol08 := s08, symbol09 := s09
    else if str.contains(prefix_cap, "BITSTAMP")
        [s01, s02, s03, s04, s05, s06, s07, s08] = Bitstamp(basecurrency)
        symbol01 := s01, symbol02 := s02, symbol03 := s03, symbol04 := s04
        symbol05 := s05, symbol06 := s06, symbol07 := s07, symbol08 := s08
    else if str.contains(prefix_cap, "BITTREX")
        [s01, s02, s03, s04, s05, s06] = BITTREX(basecurrency)
        symbol01 := s01, symbol02 := s02, symbol03 := s03
        symbol04 := s04, symbol05 := s05, symbol06 := s06
    else if str.contains(prefix_cap, "BTSE")
        [s01, s02, s03, s04, s05, s06, s07, s08, s09, s10, s11, s12, s13, s14, s15] = BTSE(basecurrency)
        symbol01 := s01, symbol02 := s02, symbol03 := s03, symbol04 := s04, symbol05 := s05
        symbol06 := s06, symbol07 := s07, symbol08 := s08, symbol09 := s09, symbol10 := s10
        symbol11 := s11, symbol12 := s12, symbol13 := s13, symbol14 := s14, symbol15 := s15
    else if str.contains(prefix_cap, "BYBIT")
        [s01, s02, s03, s04, s05] = BYBIT(basecurrency)        
        symbol01 := s01, symbol02 := s02, symbol03 := s03, symbol04 := s04, symbol05 := s05
    else if str.contains(prefix_cap, "CAPITAL")
        [s01, s02, s03, s04, s05] = CapitalCom(basecurrency)
        symbol01 := s01, symbol02 := s02, symbol03 := s03, symbol04 := s04, symbol05 := s05
    else if str.contains(prefix_cap, "COINBASE")
        [s01, s02, s03, s04, s05, s06, s07] = coinbase(basecurrency)
        symbol01 := s01, symbol02 := s02, symbol03 := s03, symbol04 := s04, symbol05 := s05, symbol06 := s06, symbol07 := s07
    else if str.contains(prefix_cap, "COINEX")
        [s01, s02, s03] = CoinEx(basecurrency)
        symbol01 := s01, symbol02 := s02, symbol03 := s03
    else if str.contains(prefix_cap, "CURRENCY")
        [s01, s02, s03, s04, s05, s06, s07, s08, s09, s10, s11, s12, s13, s14, s15, s16, s17, s18, s19, s20, s21, s22, s23, s24, s25, s26, s27, s28, s29, s30] = CurrencyCom(basecurrency)
        symbol01 := s01, symbol02 := s02, symbol03 := s03, symbol04 := s04, symbol05 := s05
        symbol06 := s06, symbol07 := s07, symbol08 := s08, symbol09 := s09, symbol10 := s10
        symbol11 := s11, symbol12 := s12, symbol13 := s13, symbol14 := s14, symbol15 := s15
        symbol16 := s16, symbol17 := s17, symbol18 := s18, symbol19 := s19, symbol20 := s20
        symbol21 := s21, symbol22 := s22, symbol23 := s23, symbol24 := s24, symbol25 := s25
        symbol26 := s26, symbol27 := s27, symbol28 := s28, symbol29 := s29, symbol30 := s30
    else if str.contains(prefix_cap, "DELTA")
        s01 = Delta(basecurrency)
        symbol01 := s01
    else if str.contains(prefix_cap, "DERIBIT")
        [s01, s02] = Deribit(basecurrency)
        symbol01 := s01, symbol02 := s02
    else if str.contains(prefix_cap, "EASYMARKETS")
        s01 = easyMarkets(basecurrency)
        symbol01 := s01
    else if str.contains(prefix_cap, "EIGHTCAP")
        s01 = Eightcap(basecurrency)
        symbol01 := s01
    else if str.contains(prefix_cap, "EXMO")
        [s01, s02, s03, s04, s05, s06, s07, s08, s09, s10] = ExMo(basecurrency)
        symbol01 := s01, symbol02 := s02, symbol03 := s03, symbol04 := s04, symbol05 := s05
        symbol06 := s06, symbol07 := s07, symbol08 := s08, symbol09 := s09, symbol10 := s10
    else if str.contains(prefix_cap, "FOREX")
        [s01, s02, s03, s04] = FOREXcom(basecurrency)
        symbol01 := s01, symbol02 := s02, symbol03 := s03, symbol04 := s04
    else if str.contains(prefix_cap, "FXCM")
        [s01, s02, s03] = FXCM(basecurrency)
        symbol01 := s01, symbol02 := s02, symbol03 := s03
    else if str.contains(prefix_cap, "GATE")
        [s01, s02, s03, s04, s05] = GateIO(basecurrency)
        symbol01 := s01, symbol02 := s02, symbol03 := s03, symbol04 := s04, symbol05 := s05
    else if str.contains(prefix_cap, "GEMINI")
        [s01, s02, s03, s04, s05, s06, s07, s08, s09, s10] = Gemini(basecurrency)
        symbol01 := s01, symbol02 := s02, symbol03 := s03, symbol04 := s04, symbol05 := s05
        symbol06 := s06, symbol07 := s07, symbol08 := s08, symbol09 := s09, symbol10 := s10
    else if str.contains(prefix_cap, "KRAKEN")
        [s01, s02, s03, s04, s05, s06, s07, s08, s09, s10, s11, s12, s13, s14] = Kraken(basecurrency)
        symbol01 := s01, symbol02 := s02, symbol03 := s03, symbol04 := s04, symbol05 := s05, symbol06 := s06, symbol07 := s07
        symbol08 := s08, symbol09 := s09, symbol10 := s10, symbol11 := s11, symbol12 := s12, symbol13 := s13, symbol14 := s14
    else if str.contains(prefix_cap, "KUCOIN")
        [s01, s02, s03, s04, s05, s06, s07, s08, s09, s10, s11, s12, s13] = KuCoin(basecurrency)
        symbol01 := s01, symbol02 := s02, symbol03 := s03, symbol04 := s04, symbol05 := s05, symbol06 := s06, symbol07 := s07, symbol08 := s08, symbol09 := s09, symbol10 := s10, symbol11 := s11, symbol12 := s12, symbol13 := s13
    else if str.contains(prefix_cap, "MEXC")
        [s01, s02, s03, s04, s05, s06] = MEXC(basecurrency)
        symbol01 := s01, symbol02 := s02, symbol03 := s03
        symbol04 := s04, symbol05 := s05, symbol06 := s06
    else if str.contains(prefix_cap, "OANDA")
        s01 = OANDA(basecurrency)
        symbol01 := s01
    else if str.contains(prefix_cap, "OKX")
        [s01, s02, s03, s04, s05, s06] = OKX(basecurrency)
        symbol01 := s01, symbol02 := s02, symbol03 := s03
        symbol04 := s04, symbol05 := s05, symbol06 := s06
    else if str.contains(prefix_cap, "PEPPERSTONE")
        s01 = Pepperstone(basecurrency)
        symbol01 := s01
    else if str.contains(prefix_cap, "PHEMEX")
        [s01, s02, s03, s04] = phemex(basecurrency)
        symbol01 := s01, symbol02 := s02
        symbol03 := s03, symbol04 := s04
    else if str.contains(prefix_cap, "POLONIEX")
        [s01, s02, s03, s04, s05, s06, s07, s08, s09] = POLONIEX(basecurrency)
        symbol01 := s01, symbol02 := s02, symbol03 := s03, symbol04 := s04, symbol05 := s05, symbol06 := s06, symbol07 := s07, symbol08 := s08, symbol09 := s09
    else if str.contains(prefix_cap, "PYTH")
        [s01, s02, s03] = Pyth(basecurrency)
        symbol01 := s01, symbol02 := s02, symbol03 := s03
    else if str.contains(prefix_cap, "SKILLING")
        [s01, s02, s03, s04] = Skilling(basecurrency)
        symbol01 := s01, symbol02 := s02
        symbol03 := s03, symbol04 := s04
    else if str.contains(prefix_cap, "TIMEX")
        [s01, s02, s03, s04, s05, s06] = TimeX(basecurrency)
        symbol01 := s01, symbol02 := s02, symbol03 := s03
        symbol04 := s04, symbol05 := s05, symbol06 := s06
    else if str.contains(prefix_cap, "TRADESTATION")
        [s01, s02, s03, s04] = TradeStation(basecurrency)
        symbol01 := s01, symbol02 := s02
        symbol03 := s03, symbol04 := s04
    else if str.contains(prefix_cap, "UPBIT")
        [s01, s02, s03, s04] = UpBit(basecurrency)
        symbol01 := s01, symbol02 := s02
        symbol03 := s03, symbol04 := s04
    else if str.contains(prefix_cap, "WHITEBIT")
        [s01, s02, s03, s04, s05, s06, s07, s08, s09, s10, s11, s12, s13] = whitebit(basecurrency)
        symbol01 := s01, symbol02 := s02, symbol03 := s03, symbol04 := s04, symbol05 := s05, symbol06 := s06, symbol07 := s07, symbol08 := s08, symbol09 := s09, symbol10 := s10, symbol11 := s11, symbol12 := s12, symbol13 := s13
    else if str.contains(prefix_cap, "WOO")
        [s01, s02] = WOOX(basecurrency)
        symbol01 := s01, symbol02 := s02
    [symbol01, symbol02, symbol03, symbol04, symbol05, symbol06, symbol07, symbol08, symbol09, symbol10, symbol11, symbol12, symbol13, symbol14, symbol15, symbol16, symbol17, symbol18, symbol19, symbol20, symbol21, symbol22, symbol23, symbol24, symbol25, symbol26, symbol27, symbol28, symbol29, symbol30]
