Skip to content

Commit

Permalink
Brokerage.Eze, launcher config (#7593)
Browse files Browse the repository at this point in the history
* feature: eze config in launcher

* feat: add support IndexOption
  • Loading branch information
Romazes authored Nov 22, 2023
1 parent 4b1f751 commit 4c034bd
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Common/Brokerages/EzeBrokerageModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@ public class EzeBrokerageModel : DefaultBrokerageModel
SecurityType.Option,
SecurityType.Future,
SecurityType.FutureOption,
SecurityType.Index
SecurityType.Index,
SecurityType.IndexOption
});

/// <summary>
Expand Down
15 changes: 15 additions & 0 deletions Launcher/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -639,6 +639,21 @@
"data-feed-handler": "QuantConnect.Lean.Engine.DataFeeds.LiveTradingDataFeed",
"real-time-handler": "QuantConnect.Lean.Engine.RealTime.LiveTradingRealTimeHandler",
"transaction-handler": "QuantConnect.Lean.Engine.TransactionHandlers.BrokerageTransactionHandler"
},

// defines the 'live-eze' environment
"live-eze": {
"live-mode": true,

// real brokerage implementations require the BrokerageTransactionHandler
"live-mode-brokerage": "QuantConnect.EzeBrokerage.EzeBrokerage",
"data-queue-handler": [ "QuantConnect.EzeBrokerage.EzeBrokerage" ],
"setup-handler": "QuantConnect.Lean.Engine.Setup.BrokerageSetupHandler",
"result-handler": "QuantConnect.Lean.Engine.Results.LiveTradingResultHandler",
"data-feed-handler": "QuantConnect.Lean.Engine.DataFeeds.LiveTradingDataFeed",
"real-time-handler": "QuantConnect.Lean.Engine.RealTime.LiveTradingRealTimeHandler",
"transaction-handler": "QuantConnect.Lean.Engine.TransactionHandlers.BrokerageTransactionHandler",
"history-provider": [ "BrokerageHistoryProvider", "SubscriptionDataReaderHistoryProvider" ]
}
}
}

0 comments on commit 4c034bd

Please sign in to comment.