Commit Graph

81 Commits

Author SHA1 Message Date
Gerardo Salazar 4a83793067 Address review 2019-07-09 17:46:15 -07:00
Gerardo Salazar d5e148b05c Adds Psychsignal data converter and custom data implementation 2019-07-09 17:45:31 -07:00
Gerardo Salazar cce9988b63 Update comments to accurately reflect upon the written code
Change SECDataConverter CLI argument `--start` to `--date`
2019-07-05 16:58:29 -07:00
Juan José D'Ambrosio b29b8797ad Make SECConverter to process a single day 2019-07-05 16:53:19 -07:00
Gerardo Salazar 6bade144d2 Address review - Rename CLI arg names for SECDataConverter 2019-07-05 16:53:19 -07:00
Gerardo Salazar 5cdfb568ab Improve SEC logging experience. Only serious errors will be outputted now.
Split SECDataDownloader and SECDataConverter to two ToolBox applications
2019-07-05 16:53:19 -07:00
Jack Simonson 724b11caae Update to ToolboxArgumentParser and Readme
Small updates to indicate to user that API key is required for the IEXDownloader and update to the example displayed based on recent changes
2019-06-26 12:11:35 -07:00
Martin Molinero f6b5e92a96 Add conditional optimization flag 2019-06-19 16:11:15 -03:00
Gerardo Salazar 2ad1f19f85 Implements Sec Custom Data, ToolBox Application, and Sample Algorithm 2019-06-17 16:45:53 -07:00
Jared 958ac2bbe2 Merge pull request #3202 from StefanoRaggi/feature-3198-toolbox-coinapi-data-converter
Add CoinApiDataConverter ToolBox application
2019-05-17 09:21:16 -07:00
Jared b7ae05b91c Merge pull request #3175 from QuantConnect/ib-automater
Replace IBController with QuantConnect.IBAutomater
2019-05-17 07:26:59 -07:00
Stefano Raggi cede89ed31 Add CoinApiDataConverter ToolBox application 2019-05-16 16:51:37 +02:00
Stefano Raggi 751b0b37c2 Remove obsolete IB config settings 2019-05-08 12:10:30 +02:00
Gerardo Salazar f9336514fd Parameterize probability of IPO, splits, dividends, renames, and
dividends every quarter.

Check for existing directory before attempting to write in MapFile
2019-04-09 15:01:55 -07:00
Gerardo Salazar 0f9cc33c3a Rename expected argument from-date/to-date to start/end
Add missing default to ToolBox help message
2019-04-02 21:25:10 -07:00
Gerardo Salazar 55f8376c53 Create mapping, IPO, delisting, splits, and dividends random generation
Created random-seed argument for rdg in order to let the user get deterministic output

Update documentation in 'FactorFileRow.cs' to accurately reflect factor
file structure

Update CSV generation for FactorFile so that it uses FactorFileRow's CSV
generator

Add FinancialCalendar to make it easier to implement logic regarding
financial quarters

Add mapping events to RandomDataGenerator

Update MapFileRow ToCsv method to correctly emit the ticker as lowercase

Fix bug in FactorFile where we would get the same initial data point twice
when we converted it to CSV

Create new method to convert a MapFile to CSV

Create new method to write MapFile to disk as CSV

Add unit test to test for successful CSV generation in MapFile

Add new files to project

Add FinancialCalendar unit tests

Create new class to handle generation of dividends, splits, and maps
2019-04-02 21:25:10 -07:00
IlshatGaripov 176c2738e1 just a small fix. for LeanEngineSystemHandlers defaults to correspond to defaults settings in config.json file. 2019-03-13 11:06:30 +03:00
Juan José D'Ambrosio 5993ed6375 Make Kaiko converter able to process only a selected exchange 2019-02-14 15:55:37 +00:00
Michael Handschuh 728594c277 BUG #2840: Prevent emitting trade&quote in same time step
This side steps the issue reported in #2840 by removing the desire to pass
zero for the maximum deviation. The previous issue was that we were leaning
on the trade ticks to produce the series variation and then trying to fit
quote ticks around a previously generated trade tick. This solution permits
both quote and trade ticks to produce variations and prevents the generator
from emitting both at the same time step.

A new parameter, --quote-trade-ratio, determines the relative density of each.
For example, a quote trade ratio of 1 means equal trade and quote ticks, whereas
a value of 2 means twice as many quote ticks as trade ticks.

This change also removes special treatment regarding the downsizing of the
requested deviation for quote ticks. If the consumer wants to limit the
deviation of quote ticks than the consumer can make that decision, but the
random value generator should simply follow instructions like a good little
boy.

Fixes #2840
2019-01-22 09:52:41 -05:00
Michael Handschuh 743e067c60 #2824: Add RandomDataGeneratorProgram
Invoke from toolbox cli using --app=rdg or --app=randomdatagenerator

Produces random data over the requested time frame in the desired resolution,
security type and density.

Here's a few sample command line invocations:

--app=rdg --start=20190101 --end=20200101 --symbol-count=1 --resolution=Daily --data-density=Dense --include-coarse=false
--app=rdg --start=20190101 --end=20200101 --symbol-count=10 --security-type=Future --resolution=Hour --data-density=VerySparse
--app=rdg --start=20190101 --end=20200101 --symbol-count=5 --security-type=Option --resolution=Minute --data-density=Sparse
2019-01-15 14:33:45 -05:00
Juan José D'Ambrosio 73bbf33a3e Implement single day Kaiko data conversion 2019-01-09 19:18:25 -03:00
Art 5a4e2a7551 corrected CLI prompt 2018-07-24 16:42:35 -04:00
wildart 586e500cd7 added missing doc references 2018-07-24 11:48:22 -04:00
mblouin02 ef5ecf63cc Minor change: Moved Reset call within Config.cs
Adressing Martin Molinero's comment from this pull request:
https://github.com/QuantConnect/Lean/pull/2251#issuecomment-405359871
2018-07-16 16:01:08 -04:00
Martin Molinero 59660a864c Updating toolbox readme 2018-07-03 18:58:54 -03:00
Martin Molinero c31fa715d7 Renaming old Program.cs of each tool 2018-06-29 21:08:13 -03:00
Martin Molinero 0db14515fe Make toolbox a single application wrapping all the tools 2018-06-28 16:15:51 -03:00
Stefano Raggi f5085b7ff6 Add Config.Reset for regression tests 2018-06-19 23:20:41 +02:00
Amir Mamaghani b4044c37d9 *fix* Removed settings logging 2018-05-17 13:20:30 +02:00
Amir Mamaghani 078866d850 Moved back to C# 6 2018-05-15 21:54:44 +02:00
Amir Mamaghani 9d449800eb Feature - CLI arguments overrides configuration file + load config from CLI 2018-05-15 21:44:25 +02:00
Amir Mamaghani 4ac2c8cf27 QuantConnect.Configuration - Added ability to choose configuration file during runtime. 2018-05-15 15:40:30 +02:00
Juan José D'Ambrosio bda5b11cc2 Nuspec files added for all projects.
Launcher project is packed as `QuantConnect.Lean`but as a mean ot having all Lean features just calling one package. 

In the same sense, `QuantConnect.Algorithm.CSharp` is included as package and added as dependecy in the `QuantConnect.Lean` package just to have a working example aailable out-of-the-box.
2018-04-13 07:28:34 -03:00
Andrew e116709b24 Specify <LangVersion> of 6 in all csproj files 2017-08-07 15:27:26 -04:00
Stefano Raggi d88d82af12 Upgrade Json.NET to version 10.0.3 2017-07-07 23:21:47 +02:00
Stefano Raggi e463ccf088 Upgrade all projects to target .NET Framework 4.5.2
In the advanced build settings, Language version was also upgraded from C# 5.0 to C# 6.0. The minimum Visual Studio version required will now be VS2015.
2017-07-07 22:49:17 +02:00
Anshul ac2f20de70 Fixes three warnings with code CS0168 2017-06-12 17:59:24 +05:30
Victor Baybekov de21307a32 Update Json.Net to 9.0.1 2017-03-14 01:35:59 +03:00
jaredbroad dd8a6442b6 Tidy unneccessary TravisCI build configuration 2016-04-19 19:51:51 -04:00
jaredbroad e93006b6a5 Added Travis CI release configuration and disabled views from building in linux 2016-04-15 12:44:37 -04:00
mblouin02 8e9ef74b1c Null pointer check added
Added a null pointer check in Config.cs after encountering it.

This was the only unchecked pointer in the function, simply added it.
2016-03-27 13:51:45 -04:00
Michael Handschuh 40d47d5523 Set c# language version to 5.0 2016-01-29 17:41:20 -05:00
Michael Handschuh cf6b4aa57d Use BacktestingResultHandler instead of ConsoleResultHandler 2016-01-20 14:05:41 -05:00
Michael Handschuh b8909be3a1 Adds Config.Write 2016-01-19 18:01:28 -05:00
Michael Handschuh 1b8a752451 Provides Config supprt for random types T 2016-01-13 15:50:45 -05:00
snugs 02c18b3d2d Fixes Config.Flatten, was mutating input object 2015-12-31 12:15:55 -05:00
snugs 01a3ebfa11 Fixes ConfigTests.FlattenTest 2015-12-29 13:26:59 -05:00
snugs f2b5beb660 Adds Config.Flatten 2015-12-29 13:00:34 -05:00
snugs 9504955576 Adds Json deserialization support to ConvertTo<T>/GetValue<T> methods 2015-12-10 13:45:39 -05:00
snugs ad3b4a29e7 Change Config.Get to use ToString, more generic 2015-12-10 13:45:38 -05:00