Ed West
Ed West
TA-Lib and Riskfolio-Lib do not yet support Numpy 2.0. Rolling back this change since these libraries are referenced in notebooks. There will be nothing to stop people from forcing an...
Upgraded to NumPy 2 in 63f810dbfae0023dbe2a2a5bd3d149ac4860d6f7 on dev.
Thank you @MythicalDJ! Can you commit this to the dev branch instead?
Added in https://github.com/edtechre/pybroker/commit/27422dee242d129b4e59a03b9c3812d34a51e741
Thanks for the info @darkknight9394. I will think about how to support modifying stops that have not yet triggered. Let me know if you have any suggestions on what the...
Hi @river-walras, I believe the problem is that you need an if/else statement, and also check whether the current symbol has a long/short position: ``` if not ctx.long_pos(): ctx.buy_shares =...
I gave this more thought. This is a common use-case, so it would make sense to add two new fields to ExecContext: long_score short_score I will add these in the...
Thanks for the suggestion @none2003, I will add this for the next release.
Added in [c024c4e](https://github.com/edtechre/pybroker/commit/c024c4eee39dc7a4198d38cc89b325f34ed5cd92)
Thanks @none2003. I looked at this again, but I think adding *args and **kwargs to the set_before_exec and set_after_exec signatures make them convoluted since a Mapping of [str, ExecContext] is...