fd138ec397
* Update crypto entries in SPBD - Update values for GDAX and Bitfinex, with latest values from exchanges - Update symbols with >3 letters - [Fix] Remove same base-quote entries * Update unit tests Increment in precision given smaller lot sizes in SPDB crypto entries. * Add GDAX symbol properties downloader (unit test) * Update GDAX symbol properties database * Add BrokerageSymbol to symbol properties database * Update GDAX symbol properties * Address review - Rename BrokerageSymbol to MarketTicker * Add GDAX symbol mapper * Update GDAXBrokerage to use symbol mapper * Fix GDAX brokerage unit tests * Replace GDAXSymbolMapper with SymbolPropertiesDatabaseSymbolMapper * Address review - use Symbol key in dictionaries * Rename BrokerageSymbol to MarketTicker * Save GDAX history in the real ticker folder * rename tickerMapper to symbolMapper * fix gdaxdownloader help message * Save GDAX history in the real ticker folder * rename tickerMapper to symbolMapper * fix gdaxdownloader help message * use SymbolPropertiesDatabaseSymbolMapper * address review Co-authored-by: JJD <jjdambrosio@gmail.com> Co-authored-by: Stefano Raggi <stefano.raggi67@gmail.com> Co-authored-by: Martin-Molinero <martin@quantconnect.com>
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.