En cours d'écriture....
TradeSim is a web application that allows users to simulate trading stocks, and other financial instruments. The application is built using Dash. Reasearchers can use this application to simulate trading strategies and export datas to analyze the results.
Run the following command in the root folder:
pip install -r requirements.txt
Run the following command in the root folder:
cd trade
python app.py
- Python 3.10
- Packages in
requirements.txt
app.py
: main file to run the application and contains the storescallbacks
: folder containing all the callbacks (dynamic functions, user interactions)components
: folder containing all the static & reusable front-end elementslayouts
: folder containing all the layouts of the applicationassets
: folder containing all the static files (css, images, etc.)locales
: folder containing all the translations for each languagepages
: folder containing all the pages of the application. import the layouts and specific callbacks files.utils
: folder containing all the static & utility functionsdefaults.py
: file containing all the default values for the application
Tailwind CSS
is used for the styling of the application. (https://tailwindcss.com/)Dash Mantine Components
is used for the visual components. (version 1.12) (https://dmc-docs-0-12.onrender.com/)
Each callback is sorted by the page it is used in. Actually there is 2 main pages :
dashboard
settings
Dashboard is divided in 5 main sections :
portfolio
: all the callbacks related to the portfolio (updated by requests too)graph
: all the callbacks related to the graph (market_data and revenue)news
: all the callbacks related to the newsrequest
: all the callbacks related to the requests (update the portfolio too)export
: all the callbacks related to the export of the data
Settings is divided in 6 sections :
charts
: all the callbacks related to the charts and their generationnews
: all the callbacks related to the generation of the newsrevenues
: all the callbacks related to the revenues and their generationstocks
: all the callbacks related to the tickersadvanced
: all the callbacks related to the advanced settingsupload
: all the callbacks related to the upload of the data
In the financial laboratories of the University of Mons, a study has been launched to analyse the reactions of traders to the stock markets. To better understand which factors are most important in their choices, what is the "human" part of this equation, and many other questions. To improve their results, the researchers needed to create a controlled, automated data-gathering environment. tradesim is an independent part of this environment, to which several sensors have been added. To find out more, have a look at the corresponding repository here.
Feel free to create an issue/PR if you want to see anything else implemented.
tradesim is distributed under the Apache License 2.0. See the LICENSE file in the release for details.