Commit Graph

361 Commits

Author SHA1 Message Date
quant1729 1141cd21e6 Merge branch 'futures' into master
Conflicts:
	Algorithm.CSharp/QuantConnect.Algorithm.CSharp.csproj
	Algorithm/QCAlgorithm.cs
	Brokerages/InteractiveBrokers/InteractiveBrokersBrokerage.cs
	Common/QuantConnect.csproj
	Common/Securities/Option/Option.cs
	Data/equity/usa/factor_files/aapl.csv
	Data/symbol-properties/symbol-properties-database.csv
	Engine/DataFeeds/Enumerators/Factories/BaseDataSubscriptionEnumeratorFactory.cs
	Engine/DataFeeds/Enumerators/Factories/OptionChainUniverseSubscriptionEnumeratorFactory.cs
	Engine/DataFeeds/SubscriptionDataReader.cs
	ToolBox/QuantConnect.ToolBox.csproj
2016-11-07 16:18:11 +01:00
quant1729 5803115548 Option splits and renames in backtesting. Added regression tests. 2016-10-26 21:20:03 +02:00
Alexandre Catarino 47a75771c6 Implements the RegressionChannel indicator (#584)
* Adds Intercept and Slope members in LeastSquareMovingAverage

* Implements the RegressionChannel indicator

The Regression Channel indicator extends the LeastSquaresMovingAverage with the inclusion of two (upper and lower) channel lines that are distanced from the linear regression line by a user defined number of standard deviations.
Adds tests.

* Renames Regression Channel properties

Remove *Line from Regression Channel properties
Adds reference

* Adds RegressionChannelAlgorithm

Adds RegressionChannelAlgorithm
Minor changes on the indidicator
Adds tests for the channels

* Intercept and Slope becomes IndicatorBase instead of WindowIndicator

* Fix LSMA Next Value calculation
2016-10-10 11:48:09 -04:00
quant1729 d85b2cf83d Added support for multiple exchanges in Market.cs and IB files
Fixed bug with margining
Added options and futures algos that I currently use for tests
2016-10-05 12:02:33 +02:00
quant1729 7fdf839dd4 Added support for futures nomenclature (standard groups: energy, softs, financials, etc)
Added symbol properties for that nomenclature
Added IQFeed mapping for that nomenclature
Added basic futures algo class
2016-09-29 21:52:00 +02:00
Andrew Hart 6dc22821af Added reference to accord.net 3.0.2 2016-09-02 16:50:36 -04:00
Andrew Hart b5663a5d5c Merge conflicts resolved.
Resolving the merge conflicts in PR #527.

AForge.NET and the new fuzzy logic algorithm example can now be merged
into master.
2016-09-02 14:08:51 -04:00
Marco Carola ff4371abe3 Update QuantConnect.Algorithm.CSharp.csproj 2016-08-18 11:55:21 +02:00
Marco Carola b4507427d7 Update QuantConnect.Algorithm.CSharp.csproj 2016-08-18 11:48:52 +02:00
Marco Carola 48e7e92da8 Update QuantConnect.Algorithm.CSharp.csproj 2016-08-18 11:43:39 +02:00
Marco Carola cb857c0ca8 Update QuantConnect.Algorithm.CSharp.csproj 2016-08-18 11:38:36 +02:00
Stefano Raggi 4b4e72b26a Add coarse/fine fundamental regression algorithm 2016-08-16 18:09:53 +02:00
guadiana b269c485cd Adding FuzzyInference Algorithm, with Accord Fuzzy reference to Project 2016-08-14 17:49:00 +02:00
Stefano Raggi a5032f0d5f Adds CoarseFineFundamentalComboAlgorithm 2016-06-29 00:44:47 +02:00
jameschch@outlook.com 0e8755dc48 Changes related to #330 order quantity decimalized 2016-06-24 11:53:29 +01:00
jameschch@outlook.com 7763efdc83 Changes related to #330 order quantity decimalized 2016-06-24 11:28:21 +01:00
AlexCatarino c620b3a110 Adds Portfolio Optimization algorithm using Math.NET Numerics
Adds PortfolioOptimizationAlgortithm.cs
This algorithm uses Math.NET Numerics library, specifically Linear Algebra object (Vector and Matrix) and operations, in order to solve a portfolio optimization problem.
2016-06-17 17:51:12 -03:00
jaredbroad ebbe704ac4 First commit; DailyFX with JSON Subscription factory 2016-05-27 23:22:18 -04:00
Michael Handschuh c1c3ff252b Merge branch 'multi-subscriptions' into options-new 2016-04-20 12:14:42 -04:00
AlexCatarino 2d96c9212b Implements IQFeedDataQueueHandler.
Adds the IQFeed to the Toolbox:
IQFeedDataQueueHandler implements  IDataQueueHandler and
IHistoryProvider

Changes config.json to include  IQFeed configuration.
At config.json "data-queue-handler" and "history-provider" should point to
newly created IQFeedDataQueueHandler to make the implementation work

Adds BasicTemplateForexAlgorithm.cs to test IQFeed implementation
2016-04-19 22:48:48 -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
Michael Handschuh ec8df2a87b Adds BasicTemplateOptionsAlgorithm 2016-04-07 14:12:53 -04: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
Michael Handschuh 0cde677551 Adds CustomSecurityInitializerAlgorithm example
An ISecurityInitializer implementation will be run after calls to AddSecurity.
A custom implementation can be specified by calling SetSecurityInitializer(...).
The default implementation sets the fill/fee/slippage/settlement models based off the BrokerageModel.
2016-01-19 15:35:41 -05:00
Michael Handschuh ed3b98f4e1 Adds custom fee/fill/slippage model example 2016-01-18 19:22:07 -05:00
snugs a77950ce56 Adds UniverseDefinitions, DollarVolumeUniverseDefinitions 2015-12-17 17:17:56 -05:00
snugs a4074d2c85 Adds ParameterizedAlgorithm with regression test 2015-12-10 13:45:41 -05:00
snugs 4e107507e4 Adds EmaCrossUniverseSelectionAlgorithm 2015-12-09 16:36:14 -05:00
snugs 86498da772 Adds CoarseUniverseTop5DollarVolumeAlgorithm 2015-12-09 16:36:13 -05:00
snugs 0422a762d7 Adds dropbox universe selection example algorithms
Includes regression tests
2015-12-09 13:32:37 -05:00
snugs 826b865d7a Rename StockPickerAlgorithm to CustomDataUniverseAlgorithm 2015-12-09 13:32:35 -05:00
snugs 565c3bc6f7 Adds AddRemoveSecurityRegressionAlgorithm 2015-12-09 13:32:34 -05:00
QuantConnect 1350979f2f Merge remote-tracking branch 'origin/master' 2015-12-07 15:27:33 -05:00
snugs e08ed1c213 Add Benchmark algorithm with baseline time 2015-12-07 12:02:13 -05:00
snugs 4e5b65ed08 Adds EquitiesLabAlgorithm 2015-12-07 12:02:12 -05:00
snugs dd4125fb42 Adds UsersDefinedUniverseAlgorithm example 2015-12-07 12:02:10 -05:00
QuantConnect 74fb1805ad Added brokerage messaging handler example 2015-12-03 14:43:53 -05:00
snugs 359bcd2d86 Adds CustomDataRegressionAlgorithm 2015-12-03 13:48:14 -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 9b8110a6e3 Adds StockPicker example algo NYSE TopGainers 2015-10-21 13:05:18 -04:00
snugs 222a44f45b Adds OpeningBreakoutAlgorithm
This algorithm uses several new features to provide a strategy that can run live instantly with decent statistics
2015-09-28 13:28:10 -04:00
snugs 63ceefc4ed Initial implementation of algorithm warmup 2015-09-22 15:14:46 -04:00
snugs 4ae1f4f5b6 Finalizes History API
Fixes bug in backtest history provider

	Requests for bar counts were always incorrect because the history provider
	was emitting bars whose end time is equal to the start time.
	Implemented a FilterEnumerator<T> privately so he can filter those out
	when using non-tick data
2015-09-15 15:40:54 -04:00
snugs 5b29b8f230 Update IHistoryProvider to use request object 2015-09-15 15:40:52 -04:00
snugs c5a5ffa8c2 Adds universe selection regression algorithm
Uses the insanely mental GOOG,GOOGL,GOOCV,GOOAV case

Correctly starts with GOOG and adds GOOAV and GOOCV, later we can model the merge of GOOAV->GOOG pre GOOGL
2015-09-01 22:17:08 -04:00
snugs 3317d0b77a Adds OrderTicketDemoAlgorithm 2015-08-12 13:10:23 -04:00
snugs 730430b1bb Adds scheduling feature
Adds the ScheduleManager which allows an algorithm to add/remove scheduled events
Check out the ScheduledEventsAlgorithm for syntax
ScheduledEvents are at their core an IEnumerator<DateTime> that defines the event times coupled with a callback
IDateRule defines dates for events
ITimeRule defines time(s) on a given date for events
2015-08-10 10:56:14 -04:00
snugs 844a040be5 Initial impl of coarse universe selection
Adds concept of Subscription to contain everything a data feed needs in order to process  single data feed item
Moves preparation of all data to data feed thread, algo thread receives data in format it needs
QCAlgorithm.SetUniverse( func ) allows selection based on market/symbol/dollar volume/price
Remove laziness from Slice as optimization, no order by in real time handler
2015-08-06 17:52:23 -04:00