This repository contains a Python script designed to perform arbitrage trading between the buying and selling of gold and the Bahar Azadi coin in Iran. The script analyzes historical price data to identify potential arbitrage opportunities, taking into account the positive and negative bubbles that frequently occur in the market.
- Import and process historical price data from provided text files.
- Analyze price trends to identify arbitrage opportunities.
- Visualize historical price trends and current bubble status.
gram18d.txt
: Contains historical price data for gold in grams.seke_Bahar_d.txt
: Contains historical price data for the Bahar Azadi coin.
- Python 3.x
- pandas library
- numpy library
- matplotlib library
Clone the repository and navigate to the project directory:
git clone https://github.com/amirdarvishi/gold_vs_coin.git
cd gold_vs_coin