doki03164/stock-options ? reverse-engineered prompt

Reverse engineered prompt

Build me an options scanner and trading bot in Python that looks for good US stock options setups, checks if they make sense on a risk and expected value basis, sizes the trade based on my account, and then logs everything cleanly.

I want it to be smart about what a broker can actually do, so if a venue cannot place certain strategies, it should skip those and explain why instead of failing later. It should support scanning chains, filtering for liquidity, ranking the best candidates, and handling both long option ideas and spread style ideas depending on the venue. For Bitget, if that means only long call and long put alerts for now, that is fine, but keep the design flexible so I can switch to a broker that supports full execution later.

Please include a simple demo flow, a config file for settings, and a journal or database so I can review quotes, signals, orders, fills, and performance afterward. If you need to check current broker docs online, do that.

Are you gonna build this?

make sure you review the code using coderabbit

Try freeSponsored — opens CodeRabbit in a new tab