Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The watched ohlcvs cache in OKX exchange not updated #22194

Closed
eurekawild opened this issue Apr 18, 2024 · 2 comments
Closed

The watched ohlcvs cache in OKX exchange not updated #22194

eurekawild opened this issue Apr 18, 2024 · 2 comments
Assignees

Comments

@eurekawild
Copy link

eurekawild commented Apr 18, 2024

Operating System

centos8

Programming Languages

python

CCXT Version

4.2.100

Description

I used ccxt.pro. the cache of ohlcvs in OKX exchange are not updated after function watch_ohlcv() langched for a while(about 1 hour in my program), however the same code for Binance is well. I tried running it for several times and got the same fault in OKX and the right result in Binance.

Code

   await ex.watch_ohlcv(symbol, timeframe)
   while True:
       ohlcvs = ex.ohlcvs[symbol][timeframe]  # the candles info is not updated after the program running a while
         print(ohlcvs)

@eurekawild
Copy link
Author

Nobody can help me?

@pcriadoperez pcriadoperez self-assigned this Apr 23, 2024
@pcriadoperez
Copy link
Contributor

Hi @eurekawild , thanks for reporting. I'll close this issue as it's a duplicate of #22228, and will keep updates through there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants