piker/examples
Nelson Torres f0fd447af7 Extract logic from get_max_pain()
All the max pain math now is in this two functions:

- get_total_intrinsic_values(): calculate the total value for all strike_prices and stores then in a dict[str, Decimal]

- `get_intrinsic_value_and_max_pain()` given the `intrinsic_values` dict, returns the `max_pain` strike price and the `total_intrinsic_value` for that `strike_price`
2025-02-03 22:39:06 -03:00
..
derivs Max pain daemon: 2025-02-03 22:33:33 -03:00
basic_order_bot.py basic bot: iter latest ticks first to decide new submission price per quote 2023-06-27 15:47:23 -04:00
max_pain.py Extract logic from get_max_pain() 2025-02-03 22:39:06 -03:00
max_pain_readme.rst Max pain daemon: 2025-02-03 22:33:33 -03:00