piker/examples/max_pain_readme.rst

1.0 KiB

## Max Pain Calculation for Deribit Options

This feature, which calculates the max pain point for options traded on the Deribit exchange using cryptofeed library.

### How to test it?

Before start: in order to get this working with uv, you must use my tractor [fork](https://pikers.dev/ntorres/tractor/src/branch/aio_abandons) and this branch: aio_abandons, the reason is that I cherry-pick the uv_migration that guille made, for some reason that a didn't dive into, in my system y need tractor using uv too. quite hacky I guess.

  1. uv lock
  2. uv run --no-dev python examples/max_pain.py
  3. A message should be display, enter one of the expiration date available.
  4. The script should be up and running.