Commit Graph

46 Commits

Author SHA1 Message Date
Michael Handschuh 2ad63429b7 Memoize enumerables returned via the history API 2016-04-12 19:06:39 -04:00
Stefano Raggi 4d9ddc7f72 Moved QCAlgorithm pattern helpers to CandlestickPatterns class 2016-02-24 00:56:54 +01:00
Stefano Raggi f7ecb9e759 Adds TwoCrows candlestick pattern indicator 2016-02-24 00:56:54 +01:00
AlexCatarino 2963751e1c Add custom chart line colors and scatter plot symbols
Closes #95
Closes #266
2016-02-08 14:21:25 -05:00
Michael Handschuh 40d47d5523 Set c# language version to 5.0 2016-01-29 17:41:20 -05:00
snugs a77950ce56 Adds UniverseDefinitions, DollarVolumeUniverseDefinitions 2015-12-17 17:17:56 -05:00
snugs 796b9666db Adds QCAlgorithm.Universe for universe functions 2015-12-07 12:02:07 -05:00
snugs 7c2261f172 Removed warnings as errors for obsoletes
This is causing issues for mono users, seems to be something different
in the compilers (mono vs msft) with method resolution in ambiguos situations.
2015-11-24 18:56:21 -05:00
snugs 0ae568d980 Remove warnings as errors from Release
This is a temporary fix until we figure out why travis complains about implicits but visual studio doesn't
2015-11-23 15:45:24 -05:00
snugs 7689ae505d Update warnings as error 612 (obsolete w/ no msg) 2015-11-19 20:36:59 -05:00
snugs b6603ffd01 Set Obsolete warnings as errors 2015-11-18 13:42:40 -05:00
snugs 5d4aadbb9c Removes QuantConnect.Interfaces
This project was collapsed into QuantConnect.csproj.
This will allow code in the common project to use the interfaces abstractions
2015-11-04 13:18:59 -05:00
snugs fbc6c4e4f2 Moved History and warmup API methods into QCAlgorithm.History.cs 2015-09-23 19:11:49 -04:00
snugs d4f8006443 Revert "Enforce a 100k bar limit on warmup requests"
This reverts commit 5d30dedb46.

*This check was removed from lean as it is a cloud only concern.
2015-09-22 21:15:08 -04:00
snugs 5d30dedb46 Enforce a 100k bar limit on warmup requests 2015-09-22 20:17:44 -04:00
snugs 6bd38ece77 Adds international/timezone support
Time sync:
	* Data feeds are required to time sync in UTC time
	* TimeSlice.Time is now in UTC

IAlgorithm
	* Time is now exclusively the algorithm's local time zone
	* Added UtcTime
	* SetDateTime( DateTime ) accepts a UTC time and is internally converted

SubscriptionDataConfig
	* Adds market and time zone as required ctor parameters

SecurityExchange
	* Now passes most calls directly through to SecurityExchangeHours class

SecurityExchangeHours
	* Holds market hours for each day of week (LocalMarketHours)
	* Talks in terms of local times in the SecurityExchangeHours.TimeZone time zone

Data/market-hours/
	* New data folder to hold market hour information
	* Includes market-hours-database.csv to hold market hours per market/symbol/security (see doc in file)
	* Includes holidays-usa.csv to hold holidays for 'usa' market
		+ The holiday files follow the pattern 'holidays-*.csv' where * is the market

TimeKeeper
	* Receives updates in UTC time
	* Passes that to LocalTimeKeeper's who lazily evaluate the time in their respective time zones
	* Eventually this can grow to be the sole source of time in the algorithm's scope

MISC:
	* Fixes exception thrown when exiting LiveTradingDataFeed
	* Fixes exception thrown when exiting FileSystemDataFeed
	* Fixes exception thrown when exiting StatusPing
	* Simplify FillForwardEnumerator logic with GetNextMarketOpen
	* Adds many time zones, see TimeZones.cs
2015-07-08 18:45:34 -04:00
QuantConnect dd506279b7 Version bump Newtonsoft and MathNumerics, strip unnessary refs 2015-06-29 12:00:46 -04:00
QuantConnect 55a6215da6 Split QCAlgorithm and Algorith,CSharp into separate projects, added FSharp project for algorithms 2015-06-17 17:44:02 -04:00
snugs deb8fc5995 Fix issue with algorithm nuget packages 2015-06-17 09:45:11 -04:00
snugs 887faa24e7 Adds support for hourly/daily data to LEAN engine 2015-06-02 21:44:44 -04:00
snugs 2ef6333096 Adds reg test that relies heavily on fill forward 2015-06-01 13:56:55 -04:00
snugs 099cee9b3f Implements MarketOnOpen and MarketOnClose order types 2015-05-26 19:20:05 -04:00
snugs 4a404b968c Implements BrokerageModel 2015-05-26 10:40:25 -04:00
snugs e1827fae31 Implements OnMarginCall and OnMarginCallWarning events
Also fixes bug in ConsoleResultHandler to process log/debug/error messages synchronously
2015-05-12 18:16:25 -04:00
snugs ffd7d99aa3 Adds Field.cs static class for indicator selectors
Adds PlotIndicator which wires up event to plot on new values
2015-05-11 21:33:30 -04:00
snugs 6fdca883ed Adds SharedAssemblyInfo to common
This allows all projects to use the same version number which is used to see if jobs are the same version as the node to process them
2015-04-27 20:30:37 -04:00
snugs 3af7d5ed43 Adds firing of dividend events 2015-04-23 14:31:15 -04:00
snugs cac8b41370 Remove FakeCustomTradeBar 2015-04-14 13:33:36 -04:00
snugs 1f15eb2c04 Initial implementation of Margin and Portfolio models
Changed system to use Margin Models, removing leverage wherever possible allowing for dynamic margin models.
Created first portfolio fill model for FOREX which treats it as a currency swap through the cashbook instead of a tradable asset.
Updated the Securities/SecurityPortfolioManager to use cashbook value + holdings removing FOREX virtual positions.
Created a new benchmark system for comparing quantconnect builds.
2015-04-13 20:51:43 -04:00
snugs 3beb76db03 Adds optional selectors to indicator helper funcs
Also adds IndicatorSuiteAlgorithm showcasing usage of selectors vs not using them, as well as custom data indicator support
2015-04-02 11:53:56 -04:00
snugs c4d4a39416 Removed QCAlgorithm.Console override
Replaced with setting System.Console.Out and Error to redirect to QCAlgorithm.Debug/Error
2015-03-31 16:29:36 -04:00
snugs 8b81f27164 Adds initial impl of RenkoConsolidator 2015-03-28 17:21:30 -04:00
snugs 272af78a26 Random clean-up + multiple symbol consolidators example
Cleaned up ResolveConsolidator try/catch
Cleaned up some names/comments
Modified error message
Updated to allow more derived types pass check
Example algo for consolidators on multiple symbols
2015-03-24 21:02:08 -04:00
QuantConnect ead4f67a09 Rename algorithm files for consistency 2015-03-16 19:50:40 -05:00
snugs ef04c41f59 Adds DynamicDataConsolidator and uses in ResolveConsolidator
Also renamed example algorithm filenames to match the type name
2015-03-14 15:43:24 -04:00
QuantConnect 0fee16e8be Added Bubble detector algorithm by TimCo 2015-03-10 16:56:10 -05:00
Jared Broad f87e463074 Version bump for numerics and json.net 2015-02-16 14:18:57 -03:00
Jared Broad 4432c8e52c Version bump MathNet Numerics 2015-02-16 14:03:33 -03:00
Jared Broad cb0291a5af Fixed loader not loading bug 2015-02-11 21:23:28 -03:00
Jared Broad d7b590f4c1 Closes #22, New notification manager implementation with notification classes, API and manager for rate limiting 2015-02-07 18:11:02 -03:00
Jared Broad d4c8c10f02 Rework to move synchronous events into transaction hander and result handler plugins so the events could be controlled on a plugin level. e.g. This allowed removing 1 thread context switch from primary algo loop and enabling live trading result handler to trigger its own updates every second independent of algorithm event timing 2015-02-06 12:50:55 -03:00
snugs 4078d805fb Allows fill forward custom data-testing
Includes new AddData<T> overload to accept fillforward and leverage parameters
Moved the clone implementation in BaseData to ObjectActivator
Added some test BaseData types that can be used as custom data but just patch through to default data locations
2015-01-30 13:11:33 -03:00
snugs 186bbbdb0c Renamed Stres_Test.cs to Stress_Symbols to match type name 2015-01-30 08:18:02 -05:00
snugs 522d5591be Adds FakeLiveQueueHandler to make for easier local live debugging
Also includes some performance tweaks to sleep certain tight looped threads
Also includes changes to mark data as fill-forward via Clone(bool fillForward), BaseData.IsFillForward property
2015-01-29 22:37:16 -05:00
Jared Broad c02e3bfecb Initial commit 2015-01-12 12:16:22 -03:00
Jared Broad b3de520915 Initial commit 2015-01-12 12:03:33 -03:00