fix generating two orders at the same time in mean reversion
merge conflict