Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/hasnocool/tradingview-pine-scripts
This project simulates trading strategies using Pine Editor scripts on TradingView and visualizes performance metrics.
https://github.com/hasnocool/tradingview-pine-scripts
analysis btcusdt cryptocurrency data pandas python simulation trading tradingview
Last synced: 3 months ago
JSON representation
This project simulates trading strategies using Pine Editor scripts on TradingView and visualizes performance metrics.
- Host: GitHub
- URL: https://github.com/hasnocool/tradingview-pine-scripts
- Owner: hasnocool
- License: gpl-3.0
- Created: 2023-09-02T22:06:28.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-18T10:39:34.000Z (5 months ago)
- Last Synced: 2024-09-19T05:37:28.180Z (5 months ago)
- Topics: analysis, btcusdt, cryptocurrency, data, pandas, python, simulation, trading, tradingview
- Language: Python
- Homepage:
- Size: 4.37 MB
- Stars: 5
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
Here's your comprehensive README.md file:
**Tradingview Pine Scripts**
==========================Hey there! I'm super excited to share this project with you. **Tradingview Pine Scripts** is an experimental trading simulation tool built using Python and Pandas.
**Description**
---------------I built this to create a simple yet effective way to simulate trading strategies using TradingView's 1-minute data for the BTCUSDT pair. The script loads historical price data, simulates buying and selling based on closing prices, and prints out key metrics at each step of the simulation.
One cool feature is... well, there isn't one yet! But I'm thinking about adding more advanced trading logic, support for multiple assets, or even integrating with a TradingView API. Stay tuned!
**Features**
------------* Simple trading simulation using TradingView's 1-minute BTCUSDT data
* Uses Pandas for efficient data manipulation and analysis
* Prints out key metrics at each step of the simulation (BTC bought/sold, USDT balance, etc.)
* Supports basic buy/sell logic based on closing prices**Installation**
---------------To get started, simply clone this repository and install the required dependencies using pip:
```bash
git clone https://github.com/hasnocool/tradingview-pine-scripts.git
cd tradingview-pine-scripts
pip install pandas
```
That's it! You're now ready to run the script.**Usage**
---------To run the simulation, simply execute the `trade_simulation.py` file using Python:
```bash
python src/trade_simulation.py
```
This will load the historical price data and start the simulation. Follow the output in your terminal to see how the script progresses.**Contributing**
---------------I'm always excited to collaborate with fellow developers! If you have ideas for features, bug fixes, or improvements, please feel free to open a pull request or submit an issue.
**License**
----------This project is licensed under the MIT License. See `LICENSE.txt` for details.
**Tags/Keywords**
-----------------trading simulation, tradingview, python, pandas, btcusdt, cryptocurrency
That's it! I hope you enjoy this project and find it useful for your own experimental endeavors. Don't hesitate to reach out if you have any questions or suggestions.