# Separate Long logic from Short logic? — retained record

> Retained reddit record from reddit:algotrading.

Canonical: https://highsignal.app/data/records/e71ce78b7c795e88

[← sources](https://highsignal.app/data)


source: [reddit](https://highsignal.app/data/reddit) (reddit:algotrading)  published 2026-08-27 17:52 ingested 2026-08-28 11:38

[original source ↗](https://www.reddit.com/r/algotrading/comments/1w01531/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
