Commit Graph

8 Commits

Author SHA1 Message Date
Jared Broad fb7d1994ff Tidy and add tags 2017-09-20 17:14:44 -04: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
AlexCatarino b145521c72 Changes quantity calculation in algorithm examples
In some examples, we have been using Portfolio.Cash to calculate the quantity of shares in orders. This is a bad advice for users, since Portfolio.Cash does not account loses in other positions and its use can lead to invalid orders due to insufficient capital. Instead, users should use Portfolio.MarginRemaining.

FuzzyInferenceAlgorithm and LiveFeaturesAlgorithm had minor changes to perform backtests with available data
2017-04-28 18:08:53 +01:00
snugs e447b4453b Update Bitcoin url to more current quandl file 2015-12-07 11:58:31 -05:00
snugs 0d48732546 Misc fixes
Send isLiveMode directly into data readers instead of resolving from data feed endpoint
Added some expression extensions, AsEnumerable()  :)
Fixed Identity names, added optional name parameter for deconflicting
2015-07-09 22:44:12 -04:00
snugs 76e4ed6836 Use CultureInfo.InvariantCulture in parse routines 2015-07-09 18:50:02 -04:00
QuantConnect 55a6215da6 Split QCAlgorithm and Algorith,CSharp into separate projects, added FSharp project for algorithms 2015-06-17 17:44:02 -04:00