Exemplo n.º 1
0
 private static string GetSymbol(IExchangeAPI api)
 {
     if (api is ExchangeKrakenAPI)
     {
         return(api.NormalizeSymbol("XXBTZUSD"));
     }
     else if (api is ExchangeBittrexAPI || api is ExchangePoloniexAPI)
     {
         return(api.NormalizeSymbol("BTC-LTC"));
     }
     return(api.NormalizeSymbol("BTC-USD"));
 }