Separate Long logic from Short logic?
retained text
Hi, in your overall trading bots logic/code, do you usually separate all the logic, conditions, filters, etc of the long trades from those of the short trades, hence almost making them two separate bots or do you program everything as a single "package"? I am not asking as in to find additional edge, but mostly for convenience, maintenance and overall complexity, I feel like seperating them (with the downside of some code duplication obviously) makes things easier. What do you think? Any experience on this?
document fetched 2026-08-28 11:29 · canonical https://reddit.com/r/algotrading/comments/1w01531/separate_long_logic_from_short_logic