ok I've moved one step further. Now I know I have to use my Oanda token, and account id.
Hovewer using both argument running QuantConnect.Toolbox for downloading data I'm experiencing this error:
Invalid value specified for 'OANDA-Agent'
What should I change to pass correct 'OANDA-Agent' from local LEAN?
Full StackTrace:
20210327 12:34:16.141 TRACE:: Config.Get(): Configuration key not found. Key: cache-location - Using default value: ../../../Data/
20210327 12:34:16.564 ERROR:: OandaDownloaderProgram.OandaDownloader(): Oanda.RestV20.Client.ApiException: Error calling GetInstrumentCandles: {"errorMessage":"Invalid value specified for 'OANDA-Agent'"}
at Oanda.RestV20.Api.DefaultApi.GetInstrumentCandlesWithHttpInfo(String authorization, String instrument, String acceptDatetimeFormat, String price, String granularity, Nullable`1 count, String from, String to, Nullable`1 smooth, Nullable`1 includeFirst, Nullable`1 dailyAlignment, String alignmentTimezone, String weeklyAlignment) in D:\github\Lean\Brokerages\Oanda\RestV20\Api\DefaultApi.cs:line 3817
at Oanda.RestV20.Api.DefaultApi.GetInstrumentCandles(String authorization, String instrument, String acceptDatetimeFormat, String price, String granularity, Nullable`1 count, String from, String to, Nullable`1 smooth, Nullable`1 includeFirst, Nullable`1 dailyAlignment, String alignmentTimezone, String weeklyAlignment) in D:\github\Lean\Brokerages\Oanda\RestV20\Api\DefaultApi.cs:line 3735
at QuantConnect.Brokerages.Oanda.OandaRestApiV20.<DownloadQuoteBars>d__26.MoveNext() in D:\github\Lean\Brokerages\Oanda\OandaRestApiV20.cs:line 571
at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)
at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)
at QuantConnect.ToolBox.OandaDownloader.OandaDataDownloader.<Get>d__5.MoveNext() in D:\github\Lean\ToolBox\OandaDownloader\OandaDataDownloader.cs:line 103
at QuantConnect.ToolBox.LeanDataWriter.WriteMinuteOrSecondOrTick(IEnumerable`1 source) in D:\github\Lean\ToolBox\LeanDataWriter.cs:line 361
at QuantConnect.ToolBox.LeanDataWriter.Write(IEnumerable`1 source) in D:\github\Lean\ToolBox\LeanDataWriter.cs:line 101
at QuantConnect.ToolBox.OandaDownloader.OandaDownloaderProgram.OandaDownloader(IList`1 tickers, String resolution, DateTime startDate, DateTime endDate) in D:\github\Lean\ToolBox\OandaDownloader\OandaDownloaderProgram.cs:line 91