Commit Graph

86 Commits

Author SHA1 Message Date
Stefano Raggi 751b0b37c2 Remove obsolete IB config settings 2019-05-08 12:10:30 +02:00
Alexandre Catarino 3f00762bfd Adds Custom Data from US Energy Information Administration (eia.gov) (#3136)
New custom data class USEnergyInformation with new demonstration algorithms, the updated config file for users to set their EIA token.

Adds `CloseTime` to represent the time that the data period end. `EndTime` represents, in turn, the time the data is emitted. There is an offset between `CloseTime` and `EndTime` that is defined by the difference between the last bar as emitted and its time. 

In live mode, if the `USEnergyInformation.Reader` returns null, the `CollectionSubscriptionDataSourceReader.Read` method will pull for new data constantly. Therefore it should return an empty `BaseDataCollection` object.
2019-04-30 17:22:11 -07:00
smartchris84 f317387bae configuration parameter adjust 2018-10-19 10:42:53 +02:00
smartchris84 566e3d0c2d Configuration parameters adjustment 2018-10-19 10:42:52 +02:00
smartchris84 83a225cfd0 configuration change 2018-10-19 10:42:52 +02:00
smartchris84 79b5bae957 config.json format fix 2018-10-19 10:42:51 +02:00
smartchris84 ce10907c82 configuration, HistoricalQuote test 2018-10-19 10:42:50 +02:00
Adalyat Nazirov 2901618832 Blanked bitfinex brokerage classes 2018-08-27 21:59:07 +03:00
Martin Molinero 17995f4c86 Adding a configuration for maximum data points per chart series. Limit will only apply for backtesting result handler 2018-08-17 18:14:33 -03:00
Stefano Raggi 3d48efcbea Add Tiingo Daily Prices example algorithm 2018-07-24 13:24:52 +02:00
Stefano Raggi 8b69f3d3fa Add IB Delayed Streaming Data config option 2018-06-29 21:14:34 +02:00
AlexCatarino 5f1d118f35 Adds reference to Jupyter project in Launcher
This change enables using binaries from `Launcher` (and starting jupyter notebook from `Lean/Launcher/big/Debug`).
Adds `composer-dll-directory` key to `config.json`.
2018-04-27 21:55:52 +01:00
Juan José D'Ambrosio b2b541483f Intrinio template modified, C# regression test added
Intrinio Python port added


Python regression test added


RateGate implemented in static IntrinioConfig


Clean stuff


Intrinio C# regression test pass


Intrinio working, Python port, C# regression test
2018-03-26 09:41:10 -03:00
Jared d01ac3b980 Merge pull request #1360 from Jay-Jay-D/IntrinioEconomicDataIndices
Intrinio economic data indices
2018-01-12 12:35:09 -05:00
Michael Handschuh 84b1f9df80 Fix alpha handler config and log loaded handler at start 2017-12-28 11:27:40 -05:00
Juan José D'Ambrosio dab155c51d Merge branch 'master' into IntrinioEconomicDataIndices 2017-12-22 13:27:52 -03:00
Michael Handschuh b4b3aae112 Rename Signal -> Alpha
Whoa... I think I got everything :)
2017-12-15 18:24:58 -05:00
Michael Handschuh 5910bc620f Add ISignalHandler
Handles signals generated by the algorithm. The default implementation
sends a SignalPacket to the messaging handler.
2017-12-12 08:56:19 -05:00
Juan José D'Ambrosio e8e7890aaf Intrinio Economic Data 2017-11-30 11:43:34 -03:00
Stefano Raggi 313f3dd613 Refactor GDAX DataQueueHandler out of the GDAXBrokerage class
This PR enables the GDAX brokerage to be instantiated independently of the data queue handler.
2017-11-13 21:52:58 +01:00
Jared ef9a841ae1 Merge branch 'master' into gdax 2017-10-13 21:43:19 -04:00
Michael Handschuh 555bbf2eac Set backtesting env history provider 2017-10-02 12:15:05 -04:00
jameschch@outlook.com 737c8e9ca5 merge from upstream/crypto-gdax 2017-08-25 21:54:01 +01:00
jameschch@outlook.com a0b6dc02f0 Fixes gdax messagiing, fee model, symbol data 2017-08-25 21:25:54 +01:00
Andrew 6d67dbd2a2 Added ILeanManagement.Update() method 2017-07-14 12:40:53 -04:00
AlexCatarino 50e8043038 Updates Algorithm.Python readme 2017-06-02 10:45:45 +01:00
AlexCatarino 60bcfd76ae Fixes UI display
Since debug mode doesn't display UI View reliably, we set Lean to use the release mode version.
2017-03-16 22:13:09 -03:00
Stefano Raggi cf2673f700 Synchronization of GetHistory results with multiple symbols in Live mode
Previously, in Live mode, requesting History for multiple symbols in a single call returned an IEnumerable<Slice> concatenating the results of each request, so every Slice only had one data point and the list was not sorted by time.

This problem has been solved in the following steps:
- Added a new BrokerageHistoryProvider, to be used in live mode with all brokerages
- Removed IHistoryProvider implementations from IB, Oanda, FXCM brokerages
- Added new GetHistory(request) method to IBrokerage interface and implementations
- Moved CreateSliceEnumerableFromSubscriptions method from SubscriptionDataReaderHistoryProvider to the new abstract base class SynchronizingHistoryProvider, to enable reuse in BrokerageHistoryProvider
2017-03-13 00:56:42 +01:00
Andrew d57df1abb8 Changed config key name to 'data-provider' 2017-02-17 16:23:46 -05:00
Andrew b6171cc9d5 Renamed IDataFileProvider to IDataProvider using resharper
Refactored IDataProvider interface to return stream. The IDataProvider
Fetch method now only takes a key.  The IDataProvider
has been reshuffled to be at the bottom of the LeanDataStack.  It provides
data to the rest of the Lean stack. The default implementation of IDataProvider reads
data from disc.

All IDataCacheProviders now have constructors which take IDataProviders
and use them to find data on disc.

Renamed DataCacheProvider to ZipDataCacheProvider

Added comments to IDataProvider and it's implementations

Added comments to IDataCacheProvider and it's implementations
2017-02-15 12:16:50 -05:00
AlexCatarino acbb6b17f8 Changes UserInterface path
Changes UserInterface path in live-desktop environment to Debug from Release
2017-02-14 18:02:44 -02:00
Stefano Raggi 86f1fe805d Add history-provider config entries for live-fxcm and live-oanda 2017-02-02 17:17:57 +01:00
quant1729 1e578487fa Reverted changes in live paper config, that was merged incorrectly 2017-02-02 19:18:01 +08:00
Jared 89254db694 Fixing issues from futures-options merge (#692)
* Swallow bug in QuoteBar.Reader() if an error is thrown during parsing

Following the pattern in TradeBar.Reader(), the QuoteBar.Reader() method will now swallow a parsing error, log the error message and line number and then proced to return a default instance of Quotebar.  The current implementation of QuoteBar.Reader() will stop the executation of the program if a parsing error is found.  Given the amount of data Lean may parse during the execuation of an algorithm, it is better to be resiliant to small errors in the data than to stop the execuation of the program because of a malformated line of csv.

* Added QuoteBar.Reader tests

* Minor changes to config.json; back to proper defaults

Remove QLLib.NET reference

Added date to QuoteBar.Reader() error message

* Incorrect timezone specified on consolidator filter
2017-01-15 16:41:09 -05:00
quant1729 48721125dc Revert "Fixed bug with static zip archive caching. Added new caching data file provider. Refactored IDataFileProvider interface."
This reverts commit c59743dc42.
2017-01-11 11:27:28 +08:00
quant1729 2a7d8d6b33 Revert "Refactored zip cache as discussed"
This reverts commit 61e92e18c0.
2017-01-11 11:27:16 +08:00
quant1729 61e92e18c0 Refactored zip cache as discussed 2017-01-10 17:02:44 +08:00
quant1729 c59743dc42 Fixed bug with static zip archive caching. Added new caching data file provider. Refactored IDataFileProvider interface. 2017-01-08 09:25:26 +08:00
quant1729 3819561a82 Merge branch 'futures' into master-futures-merged
Conflicts:
	Common/QuantConnect.csproj
	Tests/RegressionTests.cs
2016-12-01 17:32:40 +01:00
Jared f1143e424a Merge pull request #620 from andrewhart098/websocket
ApiDataQueueHandler
2016-11-30 10:51:49 -05:00
Andrew Hart 920ba77096 Update live-data url and port in config.json
Remove noise added by visual studio. Includes one minor change to
ApiDataQueueHandlerTests.
2016-11-30 09:48:41 -05:00
quant1729 b6cd0b0b8c Added support for derivatives history. Tested: IQFeed, IB. First cut. Added history sample algos. Added config.json. 2016-11-21 15:50:55 +01:00
jaredbroad 1138b5ee3b Added Trading Mode to IB Required Credentials 2016-11-14 23:55:11 -05:00
Andrew Hart 2fa1397a9d Default websocket connection now uses wss://* over port 443 2016-11-08 08:30:43 -05:00
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
Andrew Hart 5067d097dc Adding config options for symbol-*-limit 2016-11-02 13:35:50 -04:00
Andrew Hart 2d47d5de1a Added live-data-url and live-data-port to config.json 2016-11-01 15:43:50 -04:00
Stefano Raggi cf05663361 Add config setting to save list of trades in csv local file 2016-10-23 16:31:57 +02:00
Andrew fdea52a933 Renamed XxxFileProvider to XxxDataFileProvider 2016-10-20 08:36:36 -04:00
Andrew 0740f6a233 Config.json set to indent/tab size of 2. 2016-10-18 13:35:01 -04:00