jameschch@outlook.com
befbfc20ca
merge latest upstream
2016-07-26 20:03:03 +01:00
jaredbroad
1642aed05a
Refactor PreOrderChecksImpl() and add lot size check for 0-quantity orders
2016-07-13 16:00:37 -04:00
jameschch@outlook.com
464e2a1a15
Remove obsolete comment
2016-07-03 18:57:57 +01:00
jameschch@outlook.com
0e8755dc48
Changes related to #330 order quantity decimalized
2016-06-24 11:53:29 +01:00
jameschch@outlook.com
7763efdc83
Changes related to #330 order quantity decimalized
2016-06-24 11:28:21 +01:00
devalkeralia
5387f9403d
Added logic for Rounding off Order Quantity for SetHolding method
2016-06-15 18:17:44 -04:00
Michael Handschuh
a95b4c722a
Remove remaining single sub assumptions from Algorithm projects
2016-04-12 19:06:46 -04:00
Michael Handschuh
ae8c68f99c
Adds Security.IsTradable flag
...
By default, all internal feeds are considered non-tradable, but this value can be overriden via public get/set
2016-04-06 19:15:50 -04:00
Stefano Raggi
46a82a8a91
QCAlgorithm.Liquidate now liquidates holdings in symbol order
2016-04-01 01:00:42 +02:00
Michael Handschuh
a221f35743
Revert "Fixes CalculateOrderQuantity regression bug from 5301d81"
...
This reverts commit 08181aa8c8 .
This commit broke several regression tests relating to the SetHoldings function and should be reviewed further.
2016-03-29 09:50:59 -04:00
Michael Handschuh
08181aa8c8
Fixes CalculateOrderQuantity regression bug from 5301d81
2016-03-28 23:49:24 -04:00
Michael
0d720cedef
Merge pull request #327 from StefanoRaggi/set-holdings-review
...
SetHoldings/CalculateOrderQuantity bug fixes + new tests
2016-03-28 13:41:42 -04:00
Stefano Raggi
bf80c482e6
Reduces number of iterations in CalculateOrderQuantity when fees high relative to price
2016-03-23 11:00:22 +01:00
Stefano Raggi
12f1a16c2c
Changed time buffer for MarketOnClose order submit from 11 to 16 minutes
2016-03-18 18:49:38 +01:00
Stefano Raggi
5301d81149
Fixes bug in QCAlgorithm.CalculateOrderQuantity
2016-03-16 00:36:32 +01:00
Stefano Raggi
2e8cb0c4aa
Fixes CalculateOrderQuantity to use remaining/required margins
...
This change should fix insufficient margin errors in many situations, especially when reversing trade direction and/or when using various order fee structures
2016-03-15 00:52:54 +01:00
Michael Handschuh
dbcc672540
Simplify PreOrderChecksImpl
2016-02-16 13:26:08 -05:00
Michael Handschuh
a6a6699b3a
Removes Cfd.QuoteCurrencySymbol/Forex.QuoteCurrencySymbol
2016-02-16 13:26:03 -05:00
Michael Handschuh
b4ab2bba80
Fixes bug in CalculateOrderQuantity
...
This method wasn't taking into account contract multipler or conversion rates, now uses a 'unitPrice' instead of the price of the security for the iteration
2016-02-04 20:45:55 -05:00
Michael Handschuh
7a7b77cae1
Update Order.GetValue to take a Security
...
Previously the get value functions were not respecting various conversion rates and contract multipliers
2016-02-04 19:56:26 -05:00
Michael Handschuh
983e5fd20b
Remove redundant SecurityType Order.ctor argument
2016-02-04 17:59:35 -05:00
Stefano Raggi
49a8dd73ed
Resolved merge conflicts
2016-01-30 00:26:54 +01:00
Michael Handschuh
5e97017fe3
Remove usages of SecurityExchange.MarketOpen/MarketClose properties
2016-01-29 12:29:03 -05:00
Stefano Raggi
932b757a1b
Remove Cfd.GetQuoteCurrency(Symbol)
2016-01-24 16:29:52 +01:00
Stefano Raggi
1374a7985f
Adds CFD support to QCAlgorithm.PreOrderChecksImpl
2016-01-20 22:12:42 +01:00
Michael Handschuh
5200791de0
Remove some usages of Security.TransactionModel
...
We should prefer the FillModel/FeeModel/SlippageModel properties instead
2016-01-18 19:22:07 -05:00
Stefano Raggi
56e6bdee04
Reverted market order fill behavior
2016-01-07 22:03:23 +01:00
Stefano Raggi
fb45abd718
Delayed order fills one time step
2016-01-07 21:24:55 +01:00
snugs
5e691bb907
Use Transactions.GetOpenOrders(Symbol) in Liquidate
2015-12-30 12:44:09 -05:00
Stefano Raggi
e21e6f55f0
Added Status.IsOpen check
2015-12-30 12:43:11 -05:00
Stefano Raggi
f4c4c2f9ce
Algorithm.Liquidate method now also cancels open orders
2015-12-30 12:43:10 -05:00
snugs
6383cc8bcf
Properly pass tag through in SetHoldings overloads
2015-11-23 13:40:02 -05:00
snugs
fd74b6f60f
Use symbol from security object in MarketOrder
2015-11-19 20:39:03 -05:00
snugs
9e660ffcbe
Remove usages of Symbol implicits from non-algorithm projects
2015-11-18 18:15:31 -05:00
snugs
b870c55328
Adds Symbol(string) function shortcut for SymbolCache.Get(string)
2015-11-12 13:55:44 -05:00
snugs
7b6c82841f
Initial implementation of SecurityIdentifier
2015-11-12 13:55:42 -05:00
snugs
d696f09b28
Adds IAlgorithm.Status
...
AlgorithmManager._algorithmState was removed and replaced with
pass through to IAlgorithm.Status
2015-11-09 11:18:41 -05:00
snugs
1c40263d69
Fixes bug in SetHoldings with liquidate=true
2015-10-28 21:10:53 -04:00
snugs
c67ff638f4
Renames Symbol.SID to Symbol.Permtick
...
Coming soon we'll have a full SID system, so renames to make backwards compatibility easier
2015-09-20 23:14:53 -04:00
snugs
e1938baafe
Clean up using directives
2015-09-01 22:17:35 -04:00
snugs
df79ce30c2
Adds the Symbol type
...
This includes updating all usages of symbol as a security identifier to use the new type.
The type includes a unique field, SID, as well as the current ticker's value. This allows
for consistent addressability while also allowing the ticker to evolve over time with the
mapping changes.
Effort was made to maintain compile and runtime backwards compatibility.
2015-09-01 22:17:10 -04:00
snugs
ed957a74a7
Produce symbol changed events
2015-08-25 21:22:42 -04:00
QuantConnect
770d89e532
Tweak CalculateOrderQuantity to use same price variable for error detection and math
2015-08-05 18:09:43 -04:00
snugs
0a74f6fe24
Fixes bug in order time stamps
...
This also resolves an issue of filling daily orders on open of same bar
2015-07-27 18:52:32 -04:00
Michael
0a43624549
Adds check for data in CalculateOrderQuantity
...
Adds check to verify we have data for the security
2015-07-27 13:09:45 -04:00
QuantConnect
6064662514
Improves SetHolding implementation and provides tests
2015-07-21 11:14:19 -04:00
snugs
9bc0c8e450
Updates order field to properties with internal set
...
This is to compile break user algorithms trying to set order properties to perform order updates
2015-07-16 00:53:38 -04:00
QuantConnect
fea7d4de25
Rework setholdings to allow multiple calls. Changed behavior to be VALUE not BUYING POWER
2015-07-14 15:58:44 -04:00
snugs
4cc5c1daf7
Use fill price for order value when filled
2015-07-09 18:24:03 -04:00
snugs
d636b10dca
Remove market price as parameter to SubmitOrderRequest
2015-07-09 11:12:18 -04:00