Setting DTE per symbol in toml
Closed this issue · 4 comments
noamagiv commented
Hi,
I would like to set individual DTE per symbol, getting an error while setting DTE under symbols in TOML configuration.
is there any way to configure this?
Thanks !
brndnmtthws commented
Not currently possible, but this should be easy to add.
noamagiv commented
I can try.... do you want to assign it to me?
brndnmtthws commented
Sure thing!
As a hint to get started, take a look at how functions like get_target_delta()
work. It should be as simple as copying that pattern and plugging it into places like this:
thetagang/thetagang/portfolio_manager.py
Line 322 in 18a46e2