new chartview class, updated db locations
This commit is contained in:
@@ -12,7 +12,7 @@ df.set_index('Timestamp', inplace=True)
|
||||
df = df[~df.index.isna()]
|
||||
|
||||
# Create a connection to the SQLite database
|
||||
engine = create_engine('sqlite:///bitcoin_historical_data.db')
|
||||
engine = create_engine('sqlite:///databases/bitcoin_historical_data.db')
|
||||
|
||||
# Check if the table already exists and get the last timestamp from the database
|
||||
with engine.connect() as connection:
|
||||
|
||||
Reference in New Issue
Block a user