Skip to content

17865

  • 17865
  • c24860a
  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
  • Choose a tag to compare

  • 17865
  • c24860a
  • Choose a tag to compare

  • Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature.
@Martin-Molinero Martin-Molinero tagged this 19 Jun 20:37
TastytradeBrokerageModel and TradeStationBrokerageModel declared
NotSupportedCrossZeroOrderTypes as an expression-bodied property, allocating a
new constant HashSet on every CanSubmitOrder call (used per order in
BrokerageExtensions.ValidateCrossZeroOrder). Make it a static readonly field,
built once, matching the existing BrokerageExtensions.DefaultNotSupportedCrossZeroOrderTypes
pattern. Set contents are unchanged, so cross-zero validation behavior is identical.

Co-authored-by: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Assets 2
Loading