发布

  • 13658 3e52816f6e

    Fixes GetBuyingPowerModel Method of DefaultBrokerageModel (#6215)

    frostbyte_neo 发布于 2022-02-17 22:41:55 +00:00 | 1986 次提交 在此版本后已推送到 master

    CashBuyingPowerModel, which reflected on AlphaStreamBrokerageModel, a margin-only brokerage.

    It also didn't consider the account type, so InteractiveBrokersBrokerageModel was using the margin model even if AccountType.Cash was selected.

    Removes GetBuyingPowerModel method from other Brokerage Models when their cases are covered by DefaultBrokerageModel

    Fixes some typoes in TradierBrokerageModel

    Fixes unit and regression tests. For the regression tests, we have explicitly set the brokerage model.

    下载附件