Need help CFD & Oanda

Hi Guys,

I have tried to edit this Oanda Autochartist API to work with CFD's in Australia.

Added in my API Key and changed the FX symbols to CFD (can only trade CFD's in Aus). 

Now when I try and run the code in Backtest I get an error around scheduling:

Runtime Error: In Scheduled Event 'EveryDay: Every 10 min', Object reference not set to an instance of an objectQuantConnect.Scheduling.ScheduledEventException: In Scheduled Event 'EveryDay: Every 10 min', ---> System.NullReferenceException: Object reference not set to an instance of an object
at QuantConnect.OandaAutochartist.ProcessAutochartistSignals (System.String json) [0x00019] in :0
at QuantConnect.OandaAutochartist.b__7_0 () [0x00035] in :0
at QuantConnect.Scheduling.ScheduleManager+<>c__DisplayClass14_0.b__0 (System.String name, System.DateTime time) [0x00000] in <76d49b5d5c8545899040d54812d7ccc1>:0
at QuantConnect.Scheduling.ScheduledEvent.OnEventFired (System.DateTime triggerTime) [0x00036] in <76d49b5d5c8545899040d54812d7ccc1>:0
--- End of inner exception stack trace ---I have attached a copy of the project for reference (note I have changed the API Token to xxx if anyone is wondering).
Update Backtest

Update Backtest


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.


This discussion is closed