Buffet is part of a sophisticated Trading AI trained to perform and outperform human traders. Buffet V2 is an advanced trading algorithm that derives, tests, and optimizes trading strategies. It can perform paper trading or live trading on actual accounts, utilizing different optimizations to find the best parameters for trading.
Clone the repository:
git clone https://github.com/KenSu2003/Buffet.git
cd Buffet
git checkout branchForV2
Install the required dependencies:
pip install -r requirements.txt
If the installation does not work follow these steps:
< Install TA-Lib >
pip install numpy==1.26.4
brew install ta-lib
pip install TA-Lib
< Install Bayesian Optimization >
pip install bayesian-optimization
< Install Alapaca API >
pip install alpaca-py
< Install Other Tools >
pip install pandas
pip install matplotlib
pip install apscheduler
To use Buffet, follow these steps:
Strategy Selection: Pick the strategy model you want to use for testing and trading. The strategies should be in strategies.py.
Strategy Testing: Test the selected strategy with set timeframe. Use the tester in tester.py to create testing objects for testing basic (given) parameters and opimized paratemers derived from optimizers.py
python
python train_model.py
Simulated Trading: Test the model in a simulated trading environment.
python paper_trading.py
Live Trading: Deploy the model for live trading (ensure all safety checks and risk management protocols are in place).
To be rolled out.
Contributions are welcome! Please follow these steps to contribute:
git checkout -b feature-branch
).git commit -m 'Add some feature'
).git push origin feature-branch
).This project is licensed under the MIT License. See the LICENSE file for details.