jmholzer / probabilistic

Generate probability curves for the future price of publicly traded securities using options chain data.
3 stars 1 forks source link

Optimise and refactor `core/tvr.py` #29

Open jmholzer opened 1 year ago

jmholzer commented 1 year ago

There is scope to optimise and refactor the code in core/tvr.py, by doing at least the following:

  1. Vectorising array operations where possible.
  2. Reformatting it with a linter.
  3. Reordering function definitions to match the execution path in the module.