new chartview class, updated db locations

This commit is contained in:
Simon Moisy committed 2025-03-25 08:15:27 +08:00
1 parent 19f1aa36f1
commit 8dfe81ab61
7 files changed
+1288 -4

No files matched your search

+1 -1
View File
@@ -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: