Closed nayangoswami-liquidnet closed 2 years ago
I have this simple script
q = qconnection.QConnection(host = 'host', port = 789) q.open() print(q) print('IPC version: %s. Is connected: %s' % (q.protocol_version, q.is_connected())) data = q('{`int$ til x}', 10)
which ends up with this exception qpython.qtype.QException: b'not an api call'
qpython.qtype.QException: b'not an api call'
turns out the server was not allowing raw queries. See https://stackoverflow.com/questions/68936089/query-kdb-using-qpython-and-python3-6/68936941#68936941
I have this simple script
which ends up with this exception
qpython.qtype.QException: b'not an api call'