'Operational Error in SQL; syntax error- but I can't find it?
I have been trying for days to figure out what is causing the following bug in my code:
import sqlalchemy
import pandas as pd
from binance.client import Client
client = Client(API_KEY,API_SECRET)
engine = sqlalchemy.create_engine('sqlite:///BTCUSDTstream.db')
df = pd.read_sql('BTCUSDT', engine)
print(df)
Prior to the above code, I have added data into my SQL database, but when I run the above I get the following error message:
OperationalError: (sqlite3.OperationalError) near "BTCUSDT": syntax error
[SQL: BTCUSDT]
(Background on this error at: https://sqlalche.me/e/14/e3q8)
I am following this tutorial and have followed exactly what the presented has done yet I get the above error?: https://www.youtube.com/watch?v=rc_Y6rdBqXM
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
