-
Fixes GetBuyingPowerModel Method of DefaultBrokerageModel (#6215)
发布于
2022-02-17 22:41:55 +00:00 | 1986 次提交 在此版本后已推送到 masterCashBuyingPowerModel, which reflected onAlphaStreamBrokerageModel, a margin-only brokerage.It also didn't consider the account type, so
InteractiveBrokersBrokerageModelwas using the margin model even ifAccountType.Cashwas selected.Removes
GetBuyingPowerModelmethod from other Brokerage Models when their cases are covered byDefaultBrokerageModelFixes some typoes in
TradierBrokerageModelFixes unit and regression tests. For the regression tests, we have explicitly set the brokerage model.
下载附件