Closed VarshitaTP closed 2 months ago
The main page layout is defined in app/page.tsx. It consists of 6 components:
app/page.tsx
The code for these components is located in the components/Main folder.
components/Main
The code for the password and dialogue box is in main/loo.tsx.
main/loo.tsx
profile
portfolio view
portfolioview.tsx
monthlyreturns.tsx
weeklycummulativereturns.tsx
equity
derivative
debt
Note: Only user/client selected segments will be displayed in their respective user profiles. This is achieved in the sidebar.tsx file.
sidebar.tsx
The entire user dashboard page setting is in user-profile/page.tsx.
user-profile/page.tsx
The admin dashboard page layout is defined in admin/page.tsx.
admin/page.tsx
Dashboard/dashboard.tsx
admin/userprofile.tsx
admin/strategy.tsx
user profile/startegy parameter
tradestate.tsx
orderexecutor.tsx
completeorder.tsx
repairorder.tsx
errorlog.tsx
signals/signals.tsx
chart/chart.tsx
The register page is defined in app/register/page.tsx (progress stepper is called here).
app/register/page.tsx
register.tsx
personalinfo.tsx
broker.tsx
riskprofile.tsx
margindistribution.tsx
strategy.tsx
register.service.tsx contains register process endpoints provided by the backend to store data in the database/firebase.
register.service.tsx
Documented the Knowledge Transfer meeting related to trademan.ai frontend code base.
Trademan.ai Project Documentation
Table of Contents
Main Page
The main page layout is defined in
app/page.tsx
. It consists of 6 components:The code for these components is located in the
components/Main
folder.Password and Dialogue Box
The code for the password and dialogue box is in
main/loo.tsx
.User Dashboard
Profile
profile
folder.Portfolio View
portfolio view
folder.portfolioview.tsx
: Contains Graph datamonthlyreturns.tsx
: Contains monthly returns dataweeklycummulativereturns.tsx
: Contains weekly return dataSegments/Strategy
equity
folder: Contains equity segment/strategy dataderivative
folder: Contains derivative segment/strategy datadebt
folder: Contains debt segment/strategy dataNote: Only user/client selected segments will be displayed in their respective user profiles. This is achieved in the
sidebar.tsx
file.The entire user dashboard page setting is in
user-profile/page.tsx
.Admin Dashboard
The admin dashboard page layout is defined in
admin/page.tsx
.Dashboard/dashboard.tsx
admin/userprofile.tsx
admin/strategy.tsx
user profile/startegy parameter
foldertradestate.tsx
orderexecutor.tsx
completeorder.tsx
repairorder.tsx
errorlog.tsx
signals/signals.tsx
chart/chart.tsx
Register Page
The register page is defined in
app/register/page.tsx
(progress stepper is called here).Components
register.tsx
personalinfo.tsx
broker.tsx
riskprofile.tsx
margindistribution.tsx
strategy.tsx
Register Service
register.service.tsx
contains register process endpoints provided by the backend to store data in the database/firebase.