Skip to content

Do you know if it is possible to download older data with rithmic ? #28

@olivier-babelcast

Description

@olivier-babelcast
Image

very simple code that works for more recent months (MNQU5)

asyncio.run(async_download_months(symbol='MNQ', months=[
    # {'year': 2025, 'month': 1, 'security_code': 'MNQH25', 'min_day': -1, 'max_day': -1},
    # {'year': 2025, 'month': 2, 'security_code': 'MNQH25', 'min_day': -1, 'max_day': -1},
    # {'year': 2025, 'month': 3, 'security_code': 'MNQH25', 'min_day': -1, 'max_day': 16},
    # {'year': 2025, 'month': 3, 'security_code': 'MNQM25', 'min_day': 17, 'max_day': -1},
    {'year': 2025, 'month': 4, 'security_code': 'MNQM25', 'min_day': -1, 'max_day': -1},
    {'year': 2025, 'month': 5, 'security_code': 'MNQM25', 'min_day': -1, 'max_day': -1},
    {'year': 2025, 'month': 6, 'security_code': 'MNQM25', 'min_day': -1, 'max_day': 19},
    {'year': 2025, 'month': 6, 'security_code': 'MNQU5', 'min_day': 20, 'max_day': -1},
    {'year': 2025, 'month': 7, 'security_code': 'MNQU5', 'min_day': -1, 'max_day': -1},
    {'year': 2025, 'month': 8, 'security_code': 'MNQU5', 'min_day': -1, 'max_day': -1},
]))

but fails for the previous futures contract, anything with MNQM25

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