Compare commits

..

2 Commits

Author SHA1 Message Date
Nelson Torres 01a9dc3f4f This script contains the necessary logic to calculate the max pain for a given
expiration date.
2025-01-28 15:04:47 -03:00
Nelson Torres cf36779ecb Here are the necessary fuctions to fetch the data
from deribit, using cryptofeed library, this functions are located
in the deribit's api module.

Changes:
1. Add and fix auxiliar functions for handling cryptofeed data.
2. Add aio open interest functions for context management and cryptofeed conexions.
3. Some typos and format fixes too.
2025-01-28 15:01:45 -03:00
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ def check_if_complete(
async def max_pain_daemon(
) -> None:
expiry_date: str = input('Please enter a valid expiration date (7feb25): ').upper()
print('Initializing...')
print('Starting little daemon...')
instruments: list[Symbol] = []
oi_by_strikes: dict[str, dict[str, Decimal]]