Commit Graph

978 Commits

Author SHA1 Message Date
AlexCatarino e7680d0b25 Fixes BasicTemplateFxcmVolumeAlgorithm
The previous version was using unexisting data. At the moment, we only have hour and daily-resolution data for forex volume.
Once the resolution is changed, we have to modify the resolution of the indicator since both indicators in WeightedBy must have the same resolution.
2017-11-30 15:07:19 +00:00
Juan José D'Ambrosio e8e7890aaf Intrinio Economic Data 2017-11-30 11:43:34 -03:00
Juan José D'Ambrosio d795b99715 First Algo working 2017-11-30 06:57:49 -03:00
Jared de724c325b Merge pull request #1339 from Jay-Jay-D/patch-1
Change property Value to Volume
2017-11-22 12:10:07 -05:00
Juan José D'Ambrosio 71b8e46d60 Use of Volume property
Use of try catch in Reader method
2017-11-21 20:41:45 -03:00
Jared f0faebaa48 Merge pull request #1337 from Jay-Jay-D/patch-1
Fxcm Real Volume same symbol issue fix
2017-11-21 15:30:31 -05:00
Juan José D'Ambrosio 8e1d33bf84 small fixes 2017-11-21 17:27:33 -03:00
Juan José D'Ambrosio 49afee6e6a same ticker value issue fix 2017-11-16 11:16:40 -03:00
Jing Wu 50ff079ad6 fix typo 2017-11-15 14:03:49 -05:00
Jing Wu 49ef6185ca change the start and the end date of futures history algorithm 2017-11-15 13:07:11 -05:00
Stefano Raggi a24164ecec Refactor OrderProperties class to IOrderProperties interface
This change will make it easier to add other planned brokerage features:
for Interactive Brokers, besides Financial Advisor support, we will be adding IB algorithmic orders soon (PR #1203).
2017-10-26 18:22:11 +02:00
Stefano Raggi b6bccfccc9 Add FinancialAdvisorDemoAlgorithm for Python 2017-10-26 18:15:09 +02:00
Stefano Raggi a244e5186a Add FinancialAdvisor example algorithm 2017-10-26 18:15:08 +02:00
Andrew e6ec577a04 Set BrokerageModel to GDAX in FractionalQuantityRegressionAlgorithm
In order to test the GDAX FillModel and FeeModel that respects both lot size, the fractionalQuantityRegressionModel was changed to use the GDAX Brokerage. This drastically changed the regression statistics for the regression test. These statistics have been updated
2017-10-23 14:32:35 -04:00
Andrew 3786b351c9 Updated GDAX currency pair lot sizes to 1/100m in symbol-properties-db
Decreasing the fractional quantity of the gdax lot sizes required test corrections for BrokerageTransactionHandlerTests specifically RoundOff_LessThanLotSize_Fractional_Orders, RoundOff_Short_Fractional_Orders, RoundOff_Long_Fractional_Orders order. The quantity of the test orders needed to be reduced in order to comply with the updated lot order sizes

Also needed to change the FractionalQuantityRegressionAlgorithm - which is supposed to have one order fail because the quantity is too small. This order needed a smaller quantity in order to fail with the new lot sizes

Updated FactionionalQuantityRegressionAlgorithm tests
2017-10-23 13:56:35 -04:00
Jared ef9a841ae1 Merge branch 'master' into gdax 2017-10-13 21:43:19 -04:00
Jared 355f37d122 Merge pull request #1207 from andrewhart098/remove-btc-from-indicator-suite
Replaced BTC with Nifty in IndicatorSuiteAlgorithm
2017-10-13 12:20:41 -04:00
Andrew 2f8e3e7129 Replaced BTC for Quandl data in IndicatorSuiteAlgorithm
The quandl data used is FB data from the WIKI dataset
2017-10-13 11:28:05 -04:00
Jared b78897c6cf Merge pull request #1198 from AlexCatarino/setsecinit-py
Implements SetSecurityInitializer for Python algorithms
2017-10-12 16:33:17 -04:00
AlexCatarino 9536123160 Updates pythonnet
In this update, we have changed our version of pythonnet to give precedence to methods that include a PyObject parameter.
2017-10-12 16:41:50 +01:00
AlexCatarino ebb8f499f3 Adds CustomSecurityInitializerAlgortihm for python
This algorithm serves as an example for the SetSecurityInilializer for python feature
The date range for the C# version is changed to match existing data
2017-10-11 10:38:18 +01:00
Jared db5f75470b Update MACDTrendAlgorithm.cs 2017-10-08 16:03:03 -04:00
Jared a092da7bf8 Merge pull request #1179 from QuantConnect/bugfix/live-btc
Bugfix/live btc
2017-10-04 11:36:54 -04:00
Michael Handschuh 5700f9be51 Fix custom live Bitcoin example
Since the Bitcoin type derives directly from BaseData and BaseData
uses the same storage space for both the Time and EndTime properties,
the 'coin.Time =' line was constantly rewinding the EndTime far enough
into the past such that the FastForwardEnumerator would attempt to
skip and fast forward to more current data. This caused a never ending
loop of rewinding the time in Bitcoin and fast forwarding the time
from the live trading enumerator stack.
2017-10-03 17:48:25 -04:00
andrewhart098 8bc187f38e Merge pull request #1171 from AlexCatarino/pythonnet-update
Updates pythonnet nuget version
2017-10-03 17:07:06 -04:00
AlexCatarino 751a66a36a Refactors Custom Models for python
Moves custom model setters from QCAlgorithm class to Security class.
Modifies algorithm examples to reflect the change.
2017-09-29 22:56:52 +01:00
AlexCatarino 099e871afd Updates pythonnet nuget version
In this new nuget package, we have included two versions Python.Runtime.dll for macOS
We also add the instructions to compile pythonnet for different operational systems
2017-09-29 17:59:38 +01:00
AlexCatarino 9998e65df9 Adds support for custom models for python
Adds support for fee, fill and slippage custom modelling.
Adds CustomModelsAlgorithm to showcase the new feature
Modifies C# version of CustomModelsAlgorithm to match existing data in github
2017-09-28 16:47:58 +01:00
Jing Wu 9a6a224baf fixed no trade bug in bubble algorithm(C#) 2017-09-26 10:47:54 -04:00
Gustavo 96d47ab192 Remove importing data tag
It got replace by `custom data` in the case that it wasn't there.
2017-09-22 15:12:06 -04:00
Gustavo b35b307181 Rename tag strategy examples to strategy example 2017-09-22 14:33:11 -04:00
Gustavo 2fd23efdb3 Fix typo in tag 2017-09-22 11:45:39 -04:00
AlexCatarino 992d8b458f Adds RollingWindowAlgorithm (C#) 2017-09-21 17:32:33 +01:00
Jared Broad dc27c4e3d6 Added tags to python algorithms 2017-09-21 08:27:41 -04:00
Jared Broad fb7d1994ff Tidy and add tags 2017-09-20 17:14:44 -04:00
Jared Broad 61043d9d98 Tagged algorithms for QCU 2017-09-20 15:44:51 -04:00
Jared ffec40e82d Merge branch 'master' into minor-algo-fix 2017-09-20 08:29:56 -04:00
AlexCatarino 52d0baa3f9 Fixes BasicTemplateForexAlgorithm
The previous version has an uneccessary Linq operation to order the results from a Historical Data request.
Also changes the algorithm period to match locally available data.
2017-09-20 13:18:37 +01:00
Jared Broad 4ebc44de44 Added tags to some C# algorithms 2017-09-19 17:45:04 -04:00
jameschch@outlook.com 7fab872927 Integrates with crypto security 2017-09-15 13:42:51 +01:00
jameschch@outlook.com d6f5fb2a33 merge from master 2017-09-15 12:55:06 +01:00
Jared 72b66501eb Merge pull request #1131 from QuantConnect/crypto-security
Crypto security
2017-09-14 10:48:31 -04:00
AlexCatarino d7f2411fcd Upgrades pythonnet version
In this version, we have fixed a bug that led to System.AccessViolationException when we add timezone information in the datetime.datetime object.
2017-09-12 17:33:52 +01:00
AlexCatarino ea83e68674 Use UTC for Bitcoin custom data
Since Bitcoin custom data is UTC, it is set with AddData and we can use DateTime.UtcNow for EndTime.
2017-09-07 20:56:44 +01:00
AlexCatarino 4eb02f6a0c Fixes example of live custom data
In this example, the custom data Time was set to Datetime.Now and it was not passing the FrontierAwareEnumerator. Now, EndTime is set to the current time of the default exchange.
2017-09-07 18:22:31 +01:00
jameschch@outlook.com 564e0c3d95 Removes obsolete references to bitfinex 2017-09-01 15:16:46 +01:00
jameschch@outlook.com 6c06413fe4 Moves existing bitfinex to crypto and updates crypto tests 2017-08-30 13:46:30 +01:00
Juan José D'Ambrosio f2bcad3451 FXCM Forex Real volume and Transactions ToolBox Project (#1025)
Create ForexVolume.cs

ForexVolumeDownloader added

* testing

Retrieving all resolution data.

* Writer WIP

Writing volume data with LeanDataWriter

* hour and minute data correctly saved

* algorithm added

* all working!

Downloader slices big requests working!

Cleaning made, documentation added.

* vwma qcalgorithm

VWMA QCalgorithm done.

* small fix

* Small changes.
Typo fix

* Duplicated dates issue fixed

* QC sid added.
feed changed.

* code cleaning

* data correctness test implemented

* First review changes.

* Review changes

* LeanData.cs reseted

* Forex volume writer hour and daily data tests passed.

* Cleaning tests WIP

* All test pass.

* Tests refactoring done.
All tests pass.

* config.json reverted

* FxcmDD reverted

* program.cs clean
namespace fixed

* Resolution and Symbol argument check added.

* Start date fix.

* end date request fixed

* Update Program.cs

market fixed

Update Program.cs

* New path implemented and working.
Reading tests deleted.

* Update Program.cs

* ForexVolume renamed to FxcmForexVolume

Rename classes and files to FxcmVolume
2017-08-28 16:25:52 -04:00
Jared Broad 8281911bd0 Revert "Upgrades pythonnet version"
This reverts commit 310e5c4211.
2017-08-22 16:11:54 -04:00
AlexCatarino 310e5c4211 Upgrades pythonnet version
In this version, we have fixed a bug that led to System.AccessViolationException when we add timezone information in the datetime.datetime object.
2017-08-21 21:59:59 +01:00