Пример #1
0
		/// <summary>
		/// 
		/// </summary>
		/// <param name="huobi"></param>
		/// <param name="market"></param>
		/// <param name="renderer"></param>
        public AlgoBase(IMarket huobi, HuobiMarket market, Rendering renderer)
		{
			m_huobi = huobi;
			m_market = market;
			m_lastOpenOrders = m_huobi.GetOpenOrders(m_market);
			m_startInfo = m_huobi.GetAccountInfo();
			m_renderer = renderer;
		}
Пример #2
0
 /// <summary>
 ///
 /// </summary>
 /// <param name="huobi"></param>
 /// <param name="market"></param>
 /// <param name="renderer"></param>
 public AlgoBase(IMarket huobi, HuobiMarket market, Rendering renderer)
 {
     m_huobi          = huobi;
     m_market         = market;
     m_lastOpenOrders = m_huobi.GetOpenOrders(m_market);
     m_startInfo      = m_huobi.GetAccountInfo();
     m_renderer       = renderer;
 }