new chartview class, updated db locations

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

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: