Skip to content

Latest commit

 

History

History
88 lines (52 loc) · 3.22 KB

README.md

File metadata and controls

88 lines (52 loc) · 3.22 KB

Welcome to the README for the Binance Spot Market Trading Discord Bot!

Trade on Binance's SPOT market directly from your Discord server with your own discord bot.

WHY it was created ?

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.

Getting Started

follow these steps to install and run the bot:

  1. Clone the project's GitHub repository to your VPS using the git clone command. git clone https://github.com/TZacksEG/Discord-Binance-SPOT-Trader
  2. Navigate to the directory.
  3. Install the required Python packages by running pip install -r requirements.txt
  4. open "config.ini" and fill its required data
  5. Run the bot by executing the main.py file in the terminal using the python3 main.py command.

config.ini file

image

[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

image

Then click on ADD BOT

image

then make sure message intent is active and click on RESET TOKEN

image

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

image

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

Features:

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

Commands:

!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

image

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.

support

https://discord.gg/RWtT7Nx9jh