adding position and trade endpoints
This commit is contained in:
@@ -30,6 +30,7 @@ func InitDB(db *sql.DB) {
|
||||
CREATE TABLE IF NOT EXISTS position (
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
company_id INTEGER NOT NULL,
|
||||
currency_id INTEGER NOT NULL,
|
||||
shares INTEGER NOT NULL,
|
||||
weight REAL NOT NULL,
|
||||
CostBases REAL NOT NULL,
|
||||
|
||||
Reference in New Issue
Block a user