Open sameershaik-coder opened 4 months ago
Each user should be allowed to create a trade:
Trade Model has following fields:
buy_price : decimal amount stoploss : decimal amount exit_price : decimal amount status : choices [inactive , open, closed] comments : text instrument : foreign key of instrument object setup : foreign key of setup object
Additional models information below, you do not need to create any pages for below models they are linked to your above task.
Instrument model has following fields: symbol : char code : char description : char
Setup Model has following fields: name, riskmanagement [Foreign key of Risk Management model] user [foreign key to Django user]
Risk Management Model has following fields: total_capital_amount[numeric field] total_risk_per_trade[This is % field, value must be between 1 to 100]
Each user should be allowed to create a trade:
Trade Model has following fields:
buy_price : decimal amount stoploss : decimal amount exit_price : decimal amount status : choices [inactive , open, closed] comments : text instrument : foreign key of instrument object setup : foreign key of setup object
Additional models information below, you do not need to create any pages for below models they are linked to your above task.
Instrument model has following fields: symbol : char code : char description : char
Setup Model has following fields: name, riskmanagement [Foreign key of Risk Management model] user [foreign key to Django user]
Risk Management Model has following fields: total_capital_amount[numeric field] total_risk_per_trade[This is % field, value must be between 1 to 100]