| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Naive Market Maker Bot for Binance exchange.
Solution contains two console projects:
In picture below BinanceBot create order to Order Book only if price spread by ETH/BTC greater than 0.2%.
Warn: BinanceBot uses test order create API by default (without real order creation). Turn off TEST_ORDER_CREATION_MODE compilation symbol in MarketMakerBot.cs to create real order in order book.
Both console applications (BinanceBot.MarketBot.Console and BinanceBot.MarketViewer.Console) now support environment variables for API credentials using .env files.
Copy the example file:
# For MarketBot
cp src/BinanceBot.MarketBot.Console/.env.example src/BinanceBot.MarketBot.Console/.env
# For MarketViewer
cp src/BinanceBot.MarketViewer.Console/.env.example src/BinanceBot.MarketViewer.Console/.envEdit the .env file with your actual Binance API credentials:
BINANCE_API_KEY=your_actual_api_key_here
BINANCE_SECRET=your_actual_secret_key_hereRun the application - it will automatically load the credentials from the .env file.
⚠️ Never commit/share your .env file to version control! It contains sensitive credentials.
| Back | FazBrowse Home | New Git URL |