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

Out of date GDS dictionary #45

Open
matteosantama opened this issue Jul 5, 2019 · 1 comment
Open

Out of date GDS dictionary #45

matteosantama opened this issue Jul 5, 2019 · 1 comment
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@matteosantama
Copy link

When I try to run GDS I get the following error,

12:30:33 PRODUCER.1 | INFO:emerald-havoc-producer:['BITSTAMP_BTC_USD', 'COINBASE_BTC_USD', 'GEMINI_BTC_USD'] 12:30:33 PRODUCER.1 | Traceback (most recent call last): 12:30:33 PRODUCER.1 | File "runt.py", line 80, in <module> 12:30:33 PRODUCER.1 | main() 12:30:33 PRODUCER.1 | File "runt.py", line 68, in main 12:30:33 PRODUCER.1 | TradesPollTask(exchanges=non_orderbook_exchanges).start_task() 12:30:33 PRODUCER.1 | File "/home/matteo/Desktop/gryphon/gryphon/data_service/trades_poll_task.py", line 33, in __init__ 12:30:33 PRODUCER.1 | self.pollers = [exchange_pollers[ex] for ex in exchanges] 12:30:33 PRODUCER.1 | KeyError: 'GEMINI_BTC_USD'

When I checked the code in trades_poll_task.py, it looks like the dictionary contains the key 'GEMINI' but not 'GEMINI_BTC_USD'. I'm not sure if the fix is as simple as updating the key.

@garethdmm garethdmm added the bug Something isn't working label Jul 5, 2019
@garethdmm
Copy link
Owner

The cause of this is a dictionary with exchange keys in gryphon/data_service/trades_poll_task.py that needs updating. Should be a simple fix if anyone wants to take it on.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants