Skip to content
This repository has been archived by the owner on Oct 13, 2023. It is now read-only.

waiting 5 seconds per every update? #24

Closed
mixtale opened this issue Jan 15, 2018 · 3 comments
Closed

waiting 5 seconds per every update? #24

mixtale opened this issue Jan 15, 2018 · 3 comments

Comments

@mixtale
Copy link

mixtale commented Jan 15, 2018

I want to get every ticker_update data but it always take some delays about 5 seconds.
below is that I tried basic example and printed in on_ticker_update(self, msg) def.

[BTC-XRP] 0.00013021 / 2018-01-15T11:38:46.023
[BTC-XRP] 0.00013021 / 2018-01-15T11:38:51.63
[BTC-XRP] 0.00013014 / 2018-01-15T11:38:56.003
[BTC-XRP] 0.00013014 / 2018-01-15T11:39:01.347
[BTC-XRP] 0.00013009 / 2018-01-15T11:39:06.673
[BTC-XRP] 0.00013017 / 2018-01-15T11:39:16.92
[BTC-XRP] 0.00013017 / 2018-01-15T11:39:21.76
[BTC-XRP] 0.00013021 / 2018-01-15T11:39:26.34
[BTC-XRP] 0.00013021 / 2018-01-15T11:39:31.697

is there a way to get real time ticker_update msg ?

@slazarov
Copy link
Owner

What exactly do you want to get? Because ticket update gives you general information and it is delayed.

@mixtale
Copy link
Author

mixtale commented Jan 15, 2018

oh I'm sorry i miss understood on_trade and on_ticker method.
thanks for your answer.

@slazarov
Copy link
Owner

You are welcome. Closing.

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

No branches or pull requests

2 participants