public void okcoin_com_ltc_usd_ticker() { try { string result = OkcCOMApi.ticker(Pair.ltc_usd.ToString()); OkcCOMData.insert_ticker(result, Pair.ltc_usd.ToString()); } catch (Exception error) { Log.error("Okcapi.ticker.ltc_usd", error); } }
public void okcoin_com_btc_usd_depth() { try { string result = OkcCOMApi.depth(Pair.btc_usd.ToString()); OkcCOMData.insert_depth(result, Pair.btc_usd.ToString()); } catch (Exception error) { Log.error("OkcApi.depth.btc_usd", error); } }