Changes between Version 9 and Version 10 of design
- Timestamp:
- 02/27/26 01:46:51 (29 hours ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
design
v9 v10 13 13 - portfolios(**__id__**, balance, **user_id* (User)**) 14 14 15 - portfolio_holdings(**__id__**, **quantity**, **avg_price**, **portfolio_id* (Portfolio)**, **stock_id* *)15 - portfolio_holdings(**__id__**, **quantity**, **avg_price**, **portfolio_id* (Portfolio)**, **stock_id*(Stock)**) 16 16 17 17 - stock(**__id__**, **symbol**, name, current_price, last_price, percentage, turnover, last_updated) 18 18 19 - stock_history(**__id__**, **price**, **timestamp**, **stock_id*(Stock) )19 - stock_history(**__id__**, **price**, **timestamp**, **stock_id*(Stock)**) 20 20 21 - trade_request(**__id__**, **type**, **status**, **quantity**, **price_per_unit**, timestamp, **portfolio_id*(Portfolio), **stock_ id**)21 - trade_request(**__id__**, **type**, **status**, **quantity**, **price_per_unit**, timestamp, **portfolio_id*(Portfolio), **stock_symbol**) 22 22 23 23 - transaction(**__id__**, **type**, **quantity**, **price**, **timestamp**, **origin**, **user_id* (User)**, **stock_id* (Stock)**)
