Commit Graph

21 Commits

Author SHA1 Message Date
AlexCatarino a96d6725aa Fixes SecurityCache tick update
Trade ticks are not allowed to update quote variables and vice-versa.
Explicitly define the `TickType` of the tick with the subscription type.
2018-10-05 21:59:54 +01:00
Michael Handschuh ddcbc66cf8 Add SecurityCache.StoreData and use to store universe data
We never want universe data to impact a security's price or other cache
properties. To that end, this change adds another way of adding data to
the cache that simply stores the data for retrieval and does NOT update
any of the security cache properties. The check for aux data was left in
to prevent aux data from setting security prices as well.
2018-04-26 14:18:34 -04:00
Michael Handschuh 58efd4ae6a Store universe data in security cache
Universe data is piped through the TimeSlice and saved in the
security cache in the algorithm manager for consumption by the
algorithm.

This change includes an update to SecurityCache.AddData to preclude
us from setting the security price using auxiliary data. Tests were
updated accordingly.
2018-04-24 18:23:01 -04:00
Stefano Raggi c75cab6001 Remove unnecessary cast to Tick in SecurityCache.AddData
Also cleaned up unit tests
2018-04-18 11:18:09 +02:00
Stefano Raggi c203ff4c93 Fix open interest tick handling in SecurityCache
Fixes #1873
2018-04-16 17:03:22 +02:00
Michael Handschuh df48212dad Fixes security.Volume for options/futures
This change aims to keep the quote bar preference for values in the cache
while also ensuring that the volume data is properly being updated. Tests
were added to provide coverage around expected property changes from different
starting configurations (last data type) and a data update.
2018-03-28 06:23:08 -04:00
Juan José D'Ambrosio 60daa65d3f Update SecurityCache.cs 2018-03-21 14:46:15 -03:00
Juan José D'Ambrosio af8fb9f20e SecurityCacheTests added. 2018-03-20 08:45:16 -03:00
Juan José D'Ambrosio e22ca5ae6a BasicTemplateCrytpoAlgoruthm changed. 2018-03-17 23:57:53 -03:00
Juan José D'Ambrosio 45834d87c5 Option tests pass 2018-03-17 20:46:28 -03:00
Juan José D'Ambrosio dc048e2c10 SecurityCache doesn't cache fill-forward data.
version 8


version 10


PR version
2018-03-17 20:46:28 -03:00
Andrew 01487bbf90 Add return statement to SecurityCache when tick arrives 2017-09-11 14:10:57 -04:00
Andrew e69022ce17 Update SecurityCache.Volume when Tick passed to SecurityCache.AddData() 2017-09-11 13:11:38 -04:00
Stefano Raggi 508e63af4d Update Bar types Volume and Bid/AskSize from long to decimal
This PR is another required step towards crypto-currency support.
2017-06-26 21:14:55 +02:00
quant1729 586c2b4006 Fixing issue with invalid data in portfolio holdings for futures 2016-12-09 14:40:53 +01:00
quant1729 1305d96edd Open interest support: backtesting, converters, live data handlers (IQFeed/IB), live trading (IB). First cut. Regression Test. 2016-11-15 21:33:33 +01:00
Michael Handschuh 5b4b5326d1 Updates ImmediateFillModel/SecurityCache to properly respect bid/ask in all cases 2016-04-07 07:04:01 -04:00
Michael Handschuh 4f7908019d Improve SecurityCache to hold different types of data 2016-03-31 20:00:48 -04:00
QuantConnect fde0cbed3a Strip out block quote section header comments 2015-06-13 16:04:27 -04:00
snugs 89b6e98af8 Fixes warnings mostly relating to xml comments
Also cleans up some block comments

Via PR#72 - thanks @ammachado!
2015-05-13 10:56:47 -04:00
Jared Broad b3de520915 Initial commit 2015-01-12 12:03:33 -03:00