Skip to content

Webbull API not fetching volume data for next week expiry #458

@rammohandream85

Description

@rammohandream85

hi team, im using this but not working ...

earlier it was working ...

print('before(login)')

wb = webull()
wb.login('test@test.com', 'pa$$w0rd')

current_datetime = datetime.now()
current_date = current_datetime.date() # Only date part for comparison
s_date = current_datetime.strftime('%Y-%m-%d')
s_time = current_datetime.strftime('%H:%M:%S')

Get available expiry dates

expiry_dates = wb.get_options_expiration_dates('TSLA', 'Expirydate')
print(' After(login)')

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions