Skip to content

Configurable Rolling Date With DataMappingMode #9440

@AlexCatarino

Description

@AlexCatarino

Expected Behavior

We can configure the behavior of DataMappingMode.LastTradingDate to roll the contract x days before. Also, restrict the contracts to the selected few. For example, Gold listed months include Feb, Apr, Jun, Aug, Oct, Dec, but Oct historically has weak open interest. Most systematic traders only hold Feb, Apr, Jun, Aug, Dec.

Actual Behavior

We are locked to the LastTradingDate, and most brokers, such as Interactive Brokers or TradeStation, will force liquidate physically settled futures many days prior to expiry during live trading.

Potential Solution

N/A

Checklist

  • I have completely filled out this template
  • I have confirmed that this issue exists on the current master branch
  • I have confirmed that this is not a duplicate issue by searching issues

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions