Welcome to the README for the Binance Spot Market Trading Discord Bot!
The Binance SPOT market does not have a built-in interface or a way to track trades, so this bot was created to fill that gap.
The purpose of this bot is to allow users to open trades, track their PNL and current prices, and even DCA if needed and close them.
follow these steps to install and run the bot:
- Clone the project's GitHub repository to your VPS using the git clone command. git clone https://github.com/TZacksEG/Discord-Binance-SPOT-Trader
- Navigate to the directory.
- Install the required Python packages by running pip install -r requirements.txt
- open "config.ini" and fill its required data
- Run the bot by executing the main.py file in the terminal using the python3 main.py command.
[settings]:
timezone = Africa/Cairo
debug = False
logrotate = 7
database-name = binance-discord
apikey = Binance apikey
apisecret = Binance secret
discord-token = Discord bot token
allowed = 0
to get a discord bot token go to Discord Developer Portal then click on NEW APPLICATION
Then click on ADD BOT
then make sure message intent is active and click on RESET TOKEN
COPY THE TOKEN and add it to discord-token in config.ini file .
then create a private discord server , add the bot and start trading
once your bot is up send !info copy userid
add this to in config.ini and restart your discord bot
this will allow you only to use the BOT so , no one can miss with your bot or trades
it Open trades and save them into a database
it Track PNL and current price
it DCA if needed
it Show status of trades
it Close deals
!buy <symbol without USDT> <trade value> - example : **!buy btc 1000** -- it will buy BTC market order for $1000
!dca <symbol> <trade value> - example : **!dca btc 2000** -- it will DCA BTC at market order for $2000
!sell <symbol> - Close a specific symbol example : **!sell btc** this will sell all your position which is saved in database
!stats - Show the current status of all open trades
Please note that trading is inherently risky and users should exercise caution when using this bot. I'm not responsible for any losses incurred through its use.