Browse Source

Refactor TradingStats to use SQLite for data management - Transitioned from JSON file storage to an SQLite database for improved data integrity and performance. Enhanced methods for recording trades, balances, and adjustments, ensuring robust handling of transactions. Updated statistics calculations to leverage database queries, streamlining data retrieval and improving overall efficiency.

Carles Sentis 4 days ago
parent
commit
7c5d17afb9
1 changed files with 518 additions and 459 deletions
  1. 518 459
      src/trading/trading_stats.py

File diff suppressed because it is too large
+ 518 - 459
src/trading/trading_stats.py


Some files were not shown because too many files changed in this diff