Skip to content

Error running redistimeseries/StockPrice/redisTimeSeriesQuerySamples.py - rts.range( ... #13

@igoralves1

Description

@igoralves1

I am using env Python 3.10.6. When I run python3 redisTimeSeriesQuerySamples.py located at redistimeseries/StockPrice/redisTimeSeriesQuerySamples.py I am getting the following error:

Traceback (most recent call last):
  File "/home/igor/vhosts/redis-datasets/redistimeseries/StockPrice/redisTimeSeriesQuerySamples.py", line 23, in <module>
    dailyRSI15MinRange = rts.range(  'DAILYRSI15MINRNG:GS'
  File "/home/igor/vhosts/redis-datasets/redistimeseries/StockPrice/env/lib/python3.10/site-packages/redistimeseries/client.py", line 447, in range
    return self.redis.execute_command(self.RANGE_CMD, *params)
  File "/home/igor/vhosts/redis-datasets/redistimeseries/StockPrice/env/lib/python3.10/site-packages/redis/client.py", line 901, in execute_command
    return self.parse_response(conn, command_name, **options)
  File "/home/igor/vhosts/redis-datasets/redistimeseries/StockPrice/env/lib/python3.10/site-packages/redis/client.py", line 915, in parse_response
    response = connection.read_response()
  File "/home/igor/vhosts/redis-datasets/redistimeseries/StockPrice/env/lib/python3.10/site-packages/redis/connection.py", line 756, in read_response
    raise response
redis.exceptions.ResponseError: TSDB: wrong toTimestamp

Does someone know what could be this issue?
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions