In example of Rotational Trading, ctx.score was used to pair with ctx.buy_shares, can it work with ctx.sell_shares?
As a counterexample, how to achieve: "We cover the currently held stock short position if it is no longer ranked among the bottom five 20-day ROCs. Otherwise, we rank all stocks by their 20-day ROC and sell the bottom two ranked. "
Hi @edtechre,
In example of Rotational Trading, ctx.score was used to pair with ctx.buy_shares, can it work with ctx.sell_shares?
As a counterexample, how to achieve: "We cover the currently held stock short position if it is no longer ranked among the bottom five 20-day ROCs. Otherwise, we rank all stocks by their 20-day ROC and sell the bottom two ranked. "