Commit Graph

1000 Commits

Author SHA1 Message Date
snugs bcbaa6f1da Prevent algo.Time backtracking 2015-04-29 16:57:56 -04:00
snugs 5e419ada8f Some bug fixes/cleanup for IB live trading 2015-04-29 12:54:13 -04:00
Michael fa3d61f522 Merge pull request #73 from kaffeebrauer/master
Closes #46 - Added On Balance Volume Indicator

Thanks @kaffeebrauer for an awesome contribution!
2015-04-29 09:29:21 -04:00
snugs a2838bc240 Adds identity indicator helper function 2015-04-28 15:54:32 -04:00
David Hsieh c830420a65 Removed identity indicator on OBV
Removed identity indicator on OBV

Added missing comments.
2015-04-29 01:41:23 +10:00
snugs bec932719c Add symbol to error message for user 2015-04-28 10:09:08 -04:00
David Hsieh d3c25e24b2 Merged from master of QC/Lean 2015-04-28 21:33:55 +10:00
David Hsieh 67620b4d13 Added On Balance Volume Indicator
Added On Balance Volume Indicator

Added On Balance Volume Indicator related tests.
2015-04-28 21:13:17 +10: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 d80b1733a9 Pre ib launch review 2015-04-24 19:12:16 -04:00
snugs 8b4fc176cb Tidy up Algo mgr loop 2015-04-24 13:38:45 -04:00
snugs 2a561ee8b4 Div/Split to use method invokers
Also now firing events using the data dictionaries
2015-04-24 12:29:18 -04:00
snugs 6fd357b710 Adds support for dividends and splits
Updates SubscriptionDataReader to use IStreamReader
Adds FactorFile and MapFile helpers
Adds support for Raw, Adjusted, and TotalReturn data normalization and portfolio application
2015-04-23 20:39:59 -04:00
snugs 3af7d5ed43 Adds firing of dividend events 2015-04-23 14:31:15 -04:00
snugs 72aba5e5fa Adds dividend data type
Also renamed config.Security to something more sane
2015-04-23 10:31:18 -04:00
AlexCatarino 4c352dd756 Implementation of WILR indicator. Modifies MAX, MIN and AROON indcators to make WILR and AROON work. 2015-04-22 11:53:22 -03:00
snugs 3d6640b455 Adds overload for ResolveConsolidator 2015-04-21 10:28:23 -04:00
AlexCatarino 6bfc70dfe8 Implementation of ROC and ROCP indicators. Modification od MOMP indicator. 2015-04-16 18:27:14 -04:00
snugs cac8b41370 Remove FakeCustomTradeBar 2015-04-14 13:33:36 -04:00
snugs b869ab7f4b Updates SetHoldings in light of MarginModel changes 2015-04-14 13:11:18 -04:00
snugs de966c65dd Adds margin call msg to algo 2015-04-14 10:41:39 -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 9924b0a872 Shares SubscriptionDataConfig in Security
Updates Securities.Update to take a slice of the 'newData' collection from AlgorithmManager to prevent an n^2 problem
This also has the affect that now all security prices are updated before ANY OnData events are fired (previously imported data could fire before these)
Adds the SubscriptionDataConfig to the Security object and requires it when adding new Securities in SecurityManager
Adds the SubscriptionIndex field to SubscriptionDataConfig, always handled by SubscriptionManager
2015-04-09 10:36:49 -04:00
snugs 4512d5805f Response to some review comments 2015-04-08 18:06:43 -04:00
snugs 3930dff56a Add entries to cash book for each currency on forex 2015-04-08 14:53:29 -04:00
snugs 8f39ff0be9 Adds subscriptions for currency conversions after algo.Initialize()
These subscriptions are needed in order to have accurate conversion rates for computing portfolio value
2015-04-08 14:47:11 -04:00
snugs b9798d7754 Initial impl of CashBook 2015-04-08 14:47:08 -04:00
snugs ad16946615 Bugfix set end date was a day early 2015-04-08 14:14:20 -04:00
QuantConnect ec2671cef8 Merge remote-tracking branch 'origin/master'
Conflicts:
	Engine/Engine.cs
2015-04-06 17:32:24 -04:00
QuantConnect 5af5fec380 Bug fix SetEndDate, SetStartDate to behave like Set dates with numbers 2015-04-06 17:11:36 -04:00
snugs 8a8f40f5ce Moved AlgorithmManager.RunTimeError to IAlgorithm 2015-04-06 15:31:12 -04:00
snugs c534682872 Response to code review w/ Jared 2015-04-03 14:36:53 -04:00
snugs 6f66e1537d Merge branch 'master' into feature/brokerage-setup-handler 2015-04-03 11:09:45 -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 28696cd8bf Gets IB running in live mode
Fixes bug in BrokerageTransactionHandler to update order status based on fill events
2015-04-01 19:43:54 -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 2918a4ac77 Adds high/low to renko, added cycle test
Cleans up some variable naming and doc
2015-03-28 17:34:19 -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 30ce0a8e01 Made no data message an error not debug 2015-03-19 15:04:29 -05:00
QuantConnect dea5229397 Rename algorithm examples for consistency 2015-03-16 19:51:23 -05:00
QuantConnect ead4f67a09 Rename algorithm files for consistency 2015-03-16 19:50:40 -05:00
snugs 519969b2f2 Banner and comment clean up 2015-03-14 21:03:43 -04: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
snugs 47a2e64eac Hook up new consolidators in ResolveConsolidator method 2015-03-14 12:59:00 -04:00
QuantConnect d7255923b1 Added futures data importing example to library 2015-03-13 17:43:57 -05:00
QuantConnect 53f85f4ebd Reworked order limits for maximum per backtest-day for free accounts and unlimited for subscribers 2015-03-12 19:31:00 -05:00
Michael 6e8ca37f93 Merge pull request #45 from mattmast/indicators/mfi-indicator
Closes #6 - MoneyFlowIndex indicator
Includes new Sum indicator and edits SMA to use it
Thanks @mattmast
2015-03-10 21:01:17 -04:00
Jared 40fc6aba04 Merge pull request #44 from ammachado/warnings
Fixed a few compilation warnings, thanks @ammachado
2015-03-10 17:24:54 -05:00
QuantConnect 0fee16e8be Added Bubble detector algorithm by TimCo 2015-03-10 16:56:10 -05:00