Nelson Torres 2025-01-28 18:44:06 -03:00
parent 671b4ea02d
commit c7c9e37a57
2 changed files with 15 additions and 1 deletions

View File

View File

@ -23,7 +23,21 @@ def check_if_complete(
async def max_pain_daemon(
) -> None:
expiry_date: str = input('Please enter a valid expiration date (7feb25): ').upper()
oi_by_strikes: dict[str, dict[str, Decimal | None]]
expiry_dates: list[str]
currency: str = 'btc'
kind: str = 'option'
async with get_client(
) as client:
expiry_dates: list[str] = await client.get_expiration_dates(
currency=currency,
kind=kind
)
print(f'Available expiration dates for {currency}-{kind}:')
print(f'{expiry_dates}')
expiry_date: str = input('Please enter a valid expiration date: ').upper()
print('Starting little daemon...')
instruments: list[Symbol] = []
oi_by_strikes: dict[str, dict[str, Decimal]]