Back

GDAX Live Trading Locally

HI, I've enjoyed using the QuantConnect tools so far.

When attempting to Live Trade algorithm locally after some sucessful backtests, I am getting the following error:

20171227 16:34:27.803 ERROR:: BaseDataExchange.ConsumeEnumerators(): System.ArgumentException: Destination array was not long enough. Check destIndex and length, and the array's lower bounds
at System.Array.Copy (System.Array sourceArray, System.Int32 sourceIndex, System.Array destinationArray, System.Int32 destinationIndex, System.Int32 length) [0x000da] in <62f5937022004555807e6c57c33f6684>:0
at System.Collections.Generic.List`1[T].ToArray () [0x0000c] in <62f5937022004555807e6c57c33f6684>:0
at QuantConnect.Brokerages.GDAX.GDAXDataQueueHandler.GetNextTicks () [0x00014] in <d01c03a338ea4db89a4d9ab51e89bfa4>:0
at QuantConnect.Lean.Engine.DataFeeds.LiveTradingDataFeed+<GetNextTicksEnumerator>d__34.MoveNext () [0x00033] in <0f74da22933648708a38d42ee5b68c4e>:0
at QuantConnect.Lean.Engine.DataFeeds.BaseDataExchange.ConsumeEnumerators (System.Threading.CancellationToken token) [0x000a8] in <0f74da22933648708a38d42ee5b68c4e>:0

When the config.json file is set to the "backtesting" environment I get no such error and the backtests all ternimate successful when local. My API credentials are set correctly to the best of my knowledge.

Would appreciate any help.

Update Backtest








Update Backtest





0

The material on this website is provided for informational purposes only and does not constitute an offer to sell, a solicitation to buy, or a recommendation or endorsement for any security or strategy, nor does it constitute an offer to provide investment advisory services by QuantConnect. In addition, the material offers no opinion with respect to the suitability of any security or specific investment. QuantConnect makes no guarantees as to the accuracy or completeness of the views expressed in the website. The views are subject to change, and may have become unreliable for various reasons, including changes in market conditions or economic circumstances. All investments involve risk, including loss of principal. You should consult with an investment professional before making any investment decisions.


Loading...

This discussion is closed