Bull Call Spread, Options Trading, Options Strategy, Python.
targetdate="2023-02-17" interestrate=0.045 minstock=stockprice-100.0 maxstock=stockprice+100.0 # The strategy is defined. Pay attention to the 'prevpos' key in the first dictionary strategy=[{"type":"call","strike":165.0,"premium":12.65,"n":100,"action":"buy","prevpos":7.5},