Skip to content

Commit

Permalink
Update FuturesExpiryFunctions
Browse files Browse the repository at this point in the history
- Update FuturesExpiryFunctions to be keyed by symbol. Updating unit
  tests
  • Loading branch information
Martin-Molinero committed Apr 28, 2020
1 parent ebf7084 commit cd2ef13
Show file tree
Hide file tree
Showing 6 changed files with 216 additions and 193 deletions.
2 changes: 1 addition & 1 deletion Common/Brokerages/DefaultBrokerageModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ public class DefaultBrokerageModel : IBrokerageModel
{SecurityType.Base, Market.USA},
{SecurityType.Equity, Market.USA},
{SecurityType.Option, Market.USA},
{SecurityType.Future, Market.CBOE},
{SecurityType.Future, Market.CME},
{SecurityType.Forex, Market.FXCM},
{SecurityType.Cfd, Market.FXCM},
{SecurityType.Crypto, Market.GDAX}
Expand Down
2 changes: 1 addition & 1 deletion Common/Brokerages/InteractiveBrokersBrokerageModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public class InteractiveBrokersBrokerageModel : DefaultBrokerageModel
{SecurityType.Base, Market.USA},
{SecurityType.Equity, Market.USA},
{SecurityType.Option, Market.USA},
{SecurityType.Future, Market.CBOE},
{SecurityType.Future, Market.CME},
{SecurityType.Forex, Market.Oanda},
{SecurityType.Cfd, Market.Oanda}
}.ToReadOnlyDictionary();
Expand Down
Loading

0 comments on commit cd2ef13

Please sign in to comment.