Skip to content

Commit a1302d2

Browse files
authored
fix: missed orderProps when create MerketOnOpen (#8693)
1 parent 020cf01 commit a1302d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Algorithm/QCAlgorithm.Trading.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ public OrderTicket MarketOrder(Security security, decimal quantity, bool asynchr
257257
// For futures and FOPs, market orders can be submitted on extended hours, so we let them through.
258258
if ((security.Type != SecurityType.Future && security.Type != SecurityType.FutureOption) && !security.Exchange.ExchangeOpen)
259259
{
260-
var mooTicket = MarketOnOpenOrder(security.Symbol, quantity, tag);
260+
var mooTicket = MarketOnOpenOrder(security.Symbol, quantity, tag, orderProperties);
261261
if (!_isMarketOnOpenOrderWarningSent)
262262
{
263263
var anyNonDailySubscriptions = security.Subscriptions.Any(x => x.Resolution != Resolution.Daily);

0 commit comments

Comments
 (0)