
paper_trading_view is project written for simulate trade in Demo it use trading view when bar reply is enable.
as you know trading view doesn't have paper trading on bar reply and we prepare it for you in this project, PTV provide you a demo account for upgrade your skill in trading
this feature does not exist in TradingView . you can use it for train , backtest youre strategies

1- Download project
you can easily download executable version of this project from this Link
2- make sure you installed chrome browser on your device . go to tradingview.com and login into your account .
3- Extract .rar file and Run ptv.exe
Notice: Every time you want to run ptv.exe make sure chrome is closed before.
Limit or Market order in 2 side "long", "Short" .PTV and when price is changing open positions and open orders will be check. make sure you installed python3.7+
# you can clone project from github
git clone https://github.com/xibalbas/paper_trading_view.git
cd paper_trading_view/src
# or
# you can download project zip file and extract
https://github.com/xibalbas/paper_trading_view/archive/refs/heads/master.zip
cd paper_trading_view-master/src
pip install virtualenv
python -m venv venv
# Linux Users
source venv/bin/activate
# Windows Users
.\venv\Scripts\activate.bat
pip install -r requirements.txt
python app.py
Contributions are very welcome. There are a number of requirements: * See Issues tab, and feel free to submit your own issues * Add PRs if you discover a solution to an existing issue * The code should be Pep8 compliant. * Comments are required for every class and function and they should be a clear description. * At least one broad test case and a set of unit tests must be provided for every function. * Avoid very pythonic construction
PTV is freely available under the MIT license.
$ claude mcp add paper_trading_view \
-- python -m otcore.mcp_server <graph>