Ejemplo n.º 1
0
        public string GlobalToExchangeSymbol(string exchange, string symbol)
        {
            IExchangeAPI api            = ExchangeAPI.GetExchangeAPI(exchange);
            string       exchangeSymbol = api.GlobalMarketSymbolToExchangeMarketSymbolAsync(symbol).Result;

            return(exchangeSymbol);
        }
Ejemplo n.º 2
0
        public string GlobalToTradingViewSymbol(string exchange, string symbol)
        {
            //Trading view use same format as Binance -> BTC-ETH is ETHBTC
            IExchangeAPI api            = ExchangeAPI.GetExchangeAPI(exchange);
            string       exchangeSymbol = api.GlobalMarketSymbolToExchangeMarketSymbolAsync(symbol).Result;

            return(exchangeSymbol);
        }