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

collab can not connect to server #90

Closed
macd2 opened this issue Nov 23, 2020 · 2 comments
Closed

collab can not connect to server #90

macd2 opened this issue Nov 23, 2020 · 2 comments

Comments

@macd2
Copy link
Contributor

macd2 commented Nov 23, 2020

im running the example:

import matplotlib.pyplot as plt
from pandas.plotting import register_matplotlib_converters

from jesse import research
research.init()
import jesse.indicators as ta
eth_candles = research.get_candles('Binance', 'ETHUSDT', '4h', '2019-07-28', '2019-09-28')```

But im getting: 

```OperationalError: could not connect to server: Connection refused
	Is the server running on host "127.0.0.1" and accepting
	TCP/IP connections on port 5432?```
@saleh-mir
Copy link
Member

Please ask questions either in the forum, or the discord server's support channel.

Are you running this on Google Collab? If so, it won't work. You don't have PostgreSQL in there. It only works with Jupiter notebooks on your local machine

@macd2
Copy link
Contributor Author

macd2 commented Nov 24, 2020

ok thanks

@macd2 macd2 closed this as completed Nov 24, 2020
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