All Projects → 51bitquant → Binance_grid_trader

51bitquant / Binance_grid_trader

Licence: mit
A grid trading strategy and trading-bot for Binance Exchange. 币安交易所的网格交易

Programming Languages

python
139335 projects - #7 most used programming language
python3
1442 projects

Projects that are alternatives of or similar to Binance grid trader

Machine Learning And Ai In Trading
Applying Machine Learning and AI Algorithms applied to Trading for better performance and low Std.
Stars: ✭ 258 (+95.45%)
Mutual labels:  trading-bot, bitcoin, trading-strategies, quantitative-finance, trading-algorithms
tradingview-alert-binance-trader
This trading bot listens to the TradingView alert emails on your inbox and executes trades on Binance based on the parameters set on the TD alerts.
Stars: ✭ 153 (+15.91%)
Mutual labels:  trading-bot, trading-strategies, trading-algorithms, binance
Bitmex Simple Trading Robot
Simple BitMEX trading robot.
Stars: ✭ 100 (-24.24%)
Mutual labels:  bitcoin, trading-strategies, trading-algorithms, strategy
Jesse
An advanced crypto trading bot written in Python
Stars: ✭ 1,038 (+686.36%)
Mutual labels:  trading-bot, bitcoin, trading-strategies, trading-algorithms
Tradingview Alert Binance Trader
This trading bot listens to the TradingView alert emails on your inbox and executes trades on Binance based on the parameters set on the TD alerts.
Stars: ✭ 100 (-24.24%)
Mutual labels:  trading-bot, trading-strategies, binance, trading-algorithms
Krypto Trading Bot
Self-hosted crypto trading bot (automated high frequency market making) written in C++
Stars: ✭ 2,589 (+1861.36%)
Mutual labels:  trading-bot, bitcoin, trading-strategies, binance
quick trade
convenient script for trading with python.
Stars: ✭ 63 (-52.27%)
Mutual labels:  trading-bot, strategy, trading-strategies, trading-algorithms
LickHunterPRO
Cryptocurrency Trading Bot that looks for large pools of liquidity getting liquidated on margin trading, when it finds these it counter trades them!
Stars: ✭ 114 (-13.64%)
Mutual labels:  trading-bot, trading-strategies, trading-algorithms, binance
Crypto Signal
Github.com/CryptoSignal - #1 Quant Trading & Technical Analysis Bot - 3,100+ stars, 900+ forks
Stars: ✭ 3,690 (+2695.45%)
Mutual labels:  trading-bot, bitcoin, trading-strategies, binance
Wolfbot
Crypto currency trading bot written in TypeScript for NodeJS
Stars: ✭ 335 (+153.79%)
Mutual labels:  trading-bot, bitcoin, trading-strategies, trading-algorithms
Socktrader
🚀 Websocket based trading bot for 💰cryptocurrencies 📈
Stars: ✭ 152 (+15.15%)
Mutual labels:  trading-bot, bitcoin, trading-strategies, trading-algorithms
Quant
Codera Quant is a Java framework for algorithmic trading strategies development, execution and backtesting via Interactive Brokers TWS API or other brokers API
Stars: ✭ 104 (-21.21%)
Mutual labels:  trading-bot, trading-strategies, quantitative-finance, trading-algorithms
Quant Trading
Python quantitative trading strategies including VIX Calculator, Pattern Recognition, Commodity Trading Advisor, Monte Carlo, Options Straddle, Shooting Star, London Breakout, Heikin-Ashi, Pair Trading, RSI, Bollinger Bands, Parabolic SAR, Dual Thrust, Awesome, MACD
Stars: ✭ 2,407 (+1723.48%)
Mutual labels:  trading-bot, trading-strategies, quantitative-finance, trading-algorithms
Cryptotrader
A cryptocurrency trader for all famous exchanges
Stars: ✭ 228 (+72.73%)
Mutual labels:  trading-bot, bitcoin, binance, strategy
AutoTrader
A Python-based development platform for automated trading systems - from backtesting to optimisation to livetrading.
Stars: ✭ 227 (+71.97%)
Mutual labels:  trading-bot, trading-strategies, trading-algorithms, quantitative-finance
Awesome Quant
A curated list of insanely awesome libraries, packages and resources for Quants (Quantitative Finance)
Stars: ✭ 8,205 (+6115.91%)
Mutual labels:  trading-bot, trading-strategies, quantitative-finance, trading-algorithms
Turingtrader
The Open-Source Backtesting Engine/ Market Simulator by Bertram Solutions.
Stars: ✭ 132 (+0%)
Mutual labels:  trading-bot, trading-strategies, quantitative-finance, trading-algorithms
Arbitrader
A market neutral cryptocurrency trading bot.
Stars: ✭ 66 (-50%)
Mutual labels:  trading-bot, bitcoin, btc
Goex
Exchange Rest And WebSocket API For Golang Wrapper support okcoin,okex,huobi,hbdm,bitmex,coinex,poloniex,bitfinex,bitstamp,binance,kraken,bithumb,zb,hitbtc,fcoin, coinbene
Stars: ✭ 1,188 (+800%)
Mutual labels:  bitcoin, btc, binance
Crypto Trading Bot
Cryptocurrency trading bot in javascript for Bitfinex, Bitmex, Binance, FTX, Bybit ... (public edition)
Stars: ✭ 1,089 (+725%)
Mutual labels:  trading-bot, trading-strategies, binance

51bitquant网格交易策略

使用 how to use

  1. 修改配置文件, config your config file.
{
  "platform": "binance_spot",  
  "symbol": "BTCUSDT",
  "api_key": "replace your api key here",
  "api_secret": "replace your api secret here",
  "gap_percent": 0.001,
  "quantity": 0.001,
  "min_price": 0.01,
  "min_qty": 0.001,
  "max_orders": 1,
  "proxy_host": "127.0.0.1",
  "proxy_port": 1087
}

  1. platform 是交易的平台, 填写 binance_spot 或者 binance_future, 如果交易的是合约的,就填写binance_future.

  2. symbol 交易对: BTCUSDT, BNBUSDT等

  3. api_key : 从交易所获取

  4. api_secret: 交易所获取

  5. gap_percent: 网格交易的价格间隙

  6. quantity : 每次下单的数量

  7. min_price: 价格波动的最小单位, 用来计算价格精度: 如BTCUSDT 是0.01, BNBUSDT是0.0001, ETHUSDT 是0.01, 这个价格要从交易所查看,每个交易对不一样。

  8. min_qty: 最小的下单量, 现货B要求最小下单是10USDT等值的币, 而对于合约来说, BTCUSDT要求是0.001个BTC

  9. max_orders: 单边的下单量

  10. proxy_host: 如果需要用代理的话,请填写你的代理 your proxy host, if you want proxy

  11. proxy_port: 代理端口号 your proxy port for connecting to binance.

修改完配置文件后,用shell 命令运行下面的shell 命令:

sh start.sh

网格交易的原理视频讲解链接: https://www.bilibili.com/video/BV1Jg4y1v7vr/

交易所注册推荐码

网格交易策略使用行情

  • 震荡行情
  • 适合币圈的高波动率的品种
  • 适合现货, 如果交易合约,需要注意防止极端行情爆仓。

服务器购买

推荐ucloud的服务器

  • 价格便宜
  • 网络速度和性能还不错
  • 推荐链接如下:可以通过下面链接够买服务器,可以享受打折优惠:

https://www.ucloud.cn/site/global.html?invitation_code=C1x2EA81CD79B8C#dongjing

视频讲解如下: https://www.bilibili.com/video/BV1eK4y147HT/

部署服务器

参考我的博客

linux 常用命令

  • cd # 是切换工作目录, 具体使用可以通过man 指令 | 指令 --help
  • clear
  • ls # 列出当前文件夹的文件
  • rm 文件名 # 删除文件
  • rm -rf 文件夹 # 删除文件
  • cp # 拷贝文件 copy
  • scp scp binance_grid_trader.zip [email protected]:/home/ubuntu
  • pwd
  • mv # 移动或者剪切文件
  • ps -ef | grep main.py # 查看进程
  • kill 进程id # 杀死当前进程

部署

直接把代码上传到服务器, 通过scp命令上传

  • 先把代码压缩一下
  • 通过一下命令上传到自己的服务器, xxx.xxx.xxx.xxx为你的服务器地址, :/home/ubuntu表示你上传到服务器的目录

scp binance_grid_trader.zip [email protected]:/home/ubuntu

安装软件 sudo apt-get install 软件名称 | 库

sudo apt-get install unzip # pip install requests 解压文件 unzip binance_grid_trader.zip

进入该文件夹目录

cd binance_grid_trader

安装依赖包

pip install -r requirements.txt

执行运行脚本

sh start.sh

查看程序运行的id

ps -ef | grep main.py

杀死进程, 关闭程序

kill <进程ID>

linux服务器指令和网格策略实盘部署过程如下 https://www.bilibili.com/video/BV1mK411n7JW/

更多课程内容

请参考网易云课堂的视频

联系我

可以添加我的微信,如果你有什么量化问题、python学习、课程咨询等方面的问题,都可以咨询我。

51bitquant个人微信

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].