Hi every one,

Kindly i would like to clarify what could cause the below mentioned exception, while using onada demo account on lean desktop i have encountered this exception but dont how it arised or how to avoid thanks in advance

System.ArgumentNullException
  HResult=0x80004003
  Message=Value cannot be null.
Parameter name: value
  Source=Newtonsoft.Json
  StackTrace:
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   at QuantConnect.Brokerages.Oanda.OandaRestApiV20.OnPricingDataReceived(String json) in C:\Users\Coding\Documents\GitHub\Lean\Brokerages\Oanda\OandaRestApiV20.cs:line 390
   at Oanda.RestV20.Session.StreamSession.<StartSession>b__8_0() in C:\Users\Coding\Documents\GitHub\Lean\Brokerages\Oanda\RestV20\Session\StreamSession.cs:line 65
   at System.Threading.Tasks.Task.Execute()

 

Author