f129ab1a09
Build & Test Lean / build (push) Has been cancelled
Regression Tests / build (push) Has been cancelled
* add gdax exchange info downloader * add downloader method to program] * fetch currency description * change definition to include headers * use extension method to make request * remove log from test * replace WebRequest * cleanup * use relevant name * implement IExchangeInfoDownloader for bitfinex, initial commit * add default values * use default market value * use correct attribute for lotsize * don't skip missing values * handle multiple downloaders * add gdax and bitfinex exchange downloader * follow LEAN data directory structure * update SPDB * order tickers * order tickers * add exchange info downloader test template * delete files * update SPDB * use currency mapping * update bitfinex symbols * update currency mapping * sort result after old currency symbols are used * use market of the respective brokerage * no more unknown symbol * change minimum order size value * direct conversion possible * update bitfinex symbols * change user-agent * add test for indirect conversion * update stats
QuantConnect Testing
Before starting any testing, follow the installation instructions to get LEAN running C# algorithms in your machine. For any Python related tests please ensure you have followed the setup as described here.
If the above installation, build, and initial run was succesful than we can move forward to testing.
Visual Studio:
Locating Tests
- Open Visual Studios
- Open Test Explorer ("Test" > "Test Explorer")
- The list should populate itself as it reads all the tests it found during the build process. If not, press "Run All Tests" and let VS find all of the tests.
- From here select the tests you would like to run and begin running them.
Failed Test Logs
- On a failed test, check the test for information by clicking on the desired test and selecting "Open Additional Output"
- This will show the stack trace and where the code failed to meet the testing requirements.
Common Problems
Having .NetFramework issues with testing?
- Install NUnit3TestAdapter for VS
Missing dependencies for Python Algorithm?
- Use pip or conda to install the module.