コード例 #1
0
        protected override void SetUniqueExchangeSettings(NameValueCollection configSettings)
        {
            //These were already set in Exchange.SetUniversalConfigSettings(), but because UseCryptos api paths have parameters in them, need to do the substition here
            OrderBookPath = OrderBookPath.Replace("{CurrencyPair}", BTC_EUR_SYMBOL);

            _openOrdersQueryPath   = configSettings["OpenOrdersQueryPath"];
            _closedOrdersQueryPath = configSettings["ClosedOrdersQueryPath"];
        }
コード例 #2
0
ファイル: HitBtc.cs プロジェクト: ericrivera228/arby
 protected override void SetUniqueExchangeSettings(NameValueCollection configSettings)
 {
     //This was already set in Exchange.SetUniversalConfigSettings(), but because HitBit api paths have currency pairs, need to do the substition here
     OrderBookPath = OrderBookPath.Replace("{CurrencyPair}", BTC_EUR_SYMBOL);
     _addOrderPath = configSettings["AddOrderPath"];
 }