Trend trading bot
Experiments repo about (crypto) trend trading. By "trend" I mean trading following the trend using technical indicators (vs other kinds of trading bots and strategies). I'm not quite sure about the destination of this project, maybe send signals on the Telegram channel, maybe draw charts, maybe trade. Let's start playing!
This repository is a cargo workspace with some packages:
app: The only one binary crate used at "entry point" and providing an access to the programme features (see the
# Launch the Telegram bot cargo run --bin telegram_bot # Fetch price on binance and return RSI, MACD... cargo run --bin ta_binance # Fetch the BTC-USDT price cargo run --bin get_btc_price # test read/write vec
in a CSV filecargo run --bin csv # Script to download historical data into csv files # Requires config in the file before cargo run --bin get_historical
ta: Technical analysis library crate, calculates indicators like SMA, RSI, MACD...
You want to dive into? Run
cargo doc --open.
To create a telegram bot, speak with @BotFather on Telegram.
.env file at the root with:
TELOXIDE_TOKEN="insertValue" # Ask to @BotFather on Telegram