vectorbt
vectorbt copied to clipboard
ma crossover buy sell entries reverse position
in the example code entries = fast_ma.ma_crossed_above(slow_ma), exits = fast_ma.ma_crossed_below(slow_ma)
this just creates buy on entry and exits position on exit condition i want to buy on ma_crossed_above and want to exit buy and create a net sell postion on ma_crossed_below and sqaure up positions at 3:25 pm intraday . how do i execute this