I get (os error 10061) when I run my python script through Anaconda on local. I’ve checked that the firewall is disabled. I verified questdb 2.0.3 is installed. Here is my script:
import pandas as pd
from questdb.ingress import Sender, TimestampNanos
qp=pd.DataFrame({'last': [price], 'Symbol': ['NQ'], 'time':time.time()})
conf = f'http::addr=localhost:9000;'
with Sender.from_conf(conf) as sender:
sender.dataframe(qp, table_name="Nlastry", at=TimestampNanos.now())
You need to sign in to view this answers
Leave feedback about this