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

Alerter error #81

Open
RohanG-a1 opened this issue Jun 5, 2023 · 0 comments
Open

Alerter error #81

RohanG-a1 opened this issue Jun 5, 2023 · 0 comments

Comments

@RohanG-a1
Copy link

[2023-06-05 17:45:41,333] MainProcess MainThread INFO pump-and-dump-alerter Extracting loop started at 1685951141 and finished at 1685951141. Taking 0.258993 seconds.
Traceback (most recent call last):
File "c:\Users\zohan\OneDrive\Desktop\binance-pump-alerts-master\pumpAlerts.py", line 91, in
main()
File "c:\Users\zohan\OneDrive\Desktop\binance-pump-alerts-master\pumpAlerts.py", line 87, in main
alerter.run()
File "c:\Users\zohan\OneDrive\Desktop\binance-pump-alerts-master\alerter\BinancePumpAndDumpAlerter.py", line 375, in run
self.update_all_monitored_assets_and_send_news_messages(
File "c:\Users\zohan\OneDrive\Desktop\binance-pump-alerts-master\alerter\BinancePumpAndDumpAlerter.py", line 176, in update_all_monitored_assets_and_send_news_messages
exchange_asset = self.extract_ticker_data(asset["symbol"], exchange_assets)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "c:\Users\zohan\OneDrive\Desktop\binance-pump-alerts-master\alerter\BinancePumpAndDumpAlerter.py", line 81, in extract_ticker_data
if asset["symbol"] == symbol:
~~~~~^^^^^^^^^^
TypeError: string indices must be integers, not 'str'
PS C:\Users\zohan\OneDrive\Desktop\binance-pump-alerts-master>

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

1 participant