Exemplo n.º 1
0
 public BittrexCurrency(BittrexPair pair, BittrexCurrency source)
 {
     if (pair != null && pair.Name.Contains("-BIO"))
     {
         Name = m_csBIO;
     }
     if (pair != null && pair.Name.Contains("-BTC"))
     {
         Name = m_csBTC;
     }
     if (pair != null && pair.Name.Contains("-RUR"))
     {
         Name = m_csRUR;
     }
     if (pair != null && pair.Name.Contains("-ETH"))
     {
         Name = m_csETH;
     }
     if (pair != null && pair.Name.Contains("-SIB"))
     {
         Name = m_csSIB;
     }
 }
Exemplo n.º 2
0
 public BittrexCurrency(BittrexPair pair)
 {
     if (pair != null && pair.Name.StartsWith("BIO"))
     {
         Name = m_csBIO;
     }
     if (pair != null && pair.Name.StartsWith("BTC"))
     {
         Name = m_csBTC;
     }
     if (pair != null && pair.Name.StartsWith("RUR"))
     {
         Name = m_csRUR;
     }
     if (pair != null && pair.Name.StartsWith("ETH"))
     {
         Name = m_csETH;
     }
     if (pair != null && pair.Name.StartsWith("SIB"))
     {
         Name = m_csSIB;
     }
 }