undo
parent
671b4ea02d
commit
c7c9e37a57
|
@ -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]]
|
Loading…
Reference in New Issue