Update code to include sma manage script and notebook with chart

This commit is contained in:
thecodebranch 2024-07-01 15:44:51 -06:00
parent f351633a05
commit 3b300d6d71
2 changed files with 833 additions and 1 deletions

View File

@ -83,7 +83,7 @@ def create_sma():
database.session.add(row) database.session.add(row)
database.session.commit() database.session.commit()
count += 1 count += 1
print(f"finished {symbol[0]}: {count} of {len(symbols)}") print(f"finished {symbol[0]}: {count} of {len(symbols)}: time: {datetime.now()}")
except Exception as e: except Exception as e:
print(e) print(e)
database.session.rollback() database.session.rollback()

832
notebooks/sma.ipynb Normal file

File diff suppressed because one or more lines are too long