Skip to content

Downloading History Ticks Handling Behaviour #55

@dominiontrading

Description

@dominiontrading

Hi,

I was testing out the history ticks functionality, I know from doing pyrithmic if you request history covering a span of time that is more than 10000 ticks, Rithmic truncates the data, you have to then request more until you reach the end timestamp you intended. It appears this functionality is missing from async_rithmic, if I ask for tick data on ES from midday until 7pm, it will only retrieve the first 10000 ticks.

Is this on the radar to be addressed and a full implementation done? Would be happy to help.

`async def main():
client = create_rithmic_client(RithmicConnectionType.PAPER_TRADING)
await client.connect()

# Fetch historical tick data
try:
    ticks = await client.get_historical_tick_data(
        "ESM6",
        "CME",
        datetime(2026, 4, 24, 12, 25, tzinfo=pytz.utc),
        datetime(2026, 4, 24, 20, 10, tzinfo=pytz.utc),
    )
except Exception as e:
    print("An exception occurred", e)
    await client.disconnect()
    return

print(f"Received {len(ticks)} ticks")
print(f"Last tick timestamp: {ticks[-1]['datetime']}")`

Output:

Received 9999 ticks
Last tick timestamp: 2026-04-24 12:40:33.093553+00:00

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