Commit Graph

861 Commits

Author SHA1 Message Date
snugs e346eaad76 Add purge method to Series 2015-05-04 21:33:29 -04:00
Michael aa4d08931d Merge pull request #77 from bizcad/issue-74/second-try
Closes #74 - Linear Weighted Moving Average

Thanks @bizcad for the awesome contribution!
2015-05-04 19:47:23 -04:00
snugs 37dfff6b88 Break from set holdings loop when qty is 0 2015-05-04 19:43:50 -04:00
snugs b9b6c12ae6 Mark symbol name for indicator data points 2015-05-04 19:43:49 -04:00
snugs 491c45c3a7 Adds benchmarks from recent commits 2015-05-03 19:28:32 -04:00
bizcad 3831e9340f update for LWMA 2015-05-01 17:02:16 -07:00
snugs 49b398f8ff DataStream sync by end of bar
Adds EndTime to BaseData
Adds Period to TradeBar
Now filling data forward on days missing files/data
Some performance enhancements
Removed sorted dictonary in DataStream/AlgorithmManager

We round down fill forward data in the data stream since if we were to perform this in the data feed we would continually produce data at the same time and it would all go into the algorithm at once.
2015-05-01 19:23:57 -04:00
bizcad fde1ce0750 wording change evenly to linearly in QCAlgorithm.Indicators 2015-05-01 14:11:07 -07:00
bizcad e27a93ee60 Added WeightedMovingAverage Indicator including, MovingAverageType, tests and registration. 2015-05-01 12:14:25 -07:00
snugs 3959bb5218 Adds a period to the TradeBar 2015-04-30 18:46:36 -04:00
QuantConnect b652895ede Updates to QC Algorithm to allow all messages in live mode 2015-04-30 14:33:25 -04:00
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