In this project, we're building a cryptocurrency trading bot using Rust and Bash scripting. The bot will interact with the Binance API to fetch real-time market data and execute trades based on predefined thresholds.
- Rust compiler: Install Rust from rustup.rs if you haven't already.
- Binance API key and secret: Obtain your API key and secret from the Binance website.
- Clone the repository
git clone https://github.com/your-username/btc-bot.git
cd btc-bot
- Set up the Rust environment:
rustup update
- Compile the Rust program:
cargo build --release
- Create a directory for scripts:
mkdir scripts
- Clone this repository
git clone
- Move and set execute permissions for the script:
cd crypto-bot/src/
chmod +x scripts/run_bot.sh