All Projects → 51bitquant → multi_pairs_martingle_bot

51bitquant / multi_pairs_martingle_bot

Licence: MIT license
A muti pairs martingle trading bot for Binance exchange.

Programming Languages

python
139335 projects - #7 most used programming language
shell
77523 projects

Projects that are alternatives of or similar to multi pairs martingle bot

Benzaiboten-spot-trading-bot
A trading bot easy to use to be linked to your favorite exchange to automatize the trading on cryptocurrencies
Stars: ✭ 20 (-63.64%)
Mutual labels:  trading, trading-bot, binance, binance-exchange, binance-trader, binance-bot
binance-downloader
Python tool to download Binance Candlestick (k-line) data from REST API
Stars: ✭ 44 (-20%)
Mutual labels:  trading, trading-bot, binance, binance-exchange, binance-api
binance-rs-async
Async client for the Binance APIs
Stars: ✭ 74 (+34.55%)
Mutual labels:  trading, binance, binance-exchange, binance-api, binance-futures
howtrader
Howtrader is a crypto currency quant framework, you can easily develop, backtest and run your own strategy in real market. It also supports tradingview or other 3rd party signals, just simply send a post request and it will help trade automatically. Now it only support binance spot, futures and inverse futures exchange. It will support okex, ftx…
Stars: ✭ 294 (+434.55%)
Mutual labels:  trading, binance, binance-api, binance-trader, binance-bot
Bybit-Auto-Trading-Bot-Ordes-placed-via-TradingView-Webhook
Python based Trading Bot that uses TradingView.com webhook JSON alerts to place orders(buy/sell/close/manage positions/TP/SL/TS etc.) on Bybit.com. Hire me directly here https://www.freelancer.com/u/Beannsofts for any assistance
Stars: ✭ 235 (+327.27%)
Mutual labels:  trading, trading-bot, binance, binance-exchange, binance-api
Twitter Activated Crypto Trading Bot
Buys crypto through keyword detection in new tweets. Executes buy in 1 second and holds for a given time (e.g. Elon tweets 'doge', buys Dogecoin and sells after 5 minutes). Tested on Kraken and Binance exchanges
Stars: ✭ 92 (+67.27%)
Mutual labels:  trading, trading-bot, binance, binance-api
Crypto Signal
Github.com/CryptoSignal - #1 Quant Trading & Technical Analysis Bot - 3,100+ stars, 900+ forks
Stars: ✭ 3,690 (+6609.09%)
Mutual labels:  trading, trading-bot, binance, binance-api
algotrading-example
algorithmic trading backtest and optimization examples using order book imbalances. (bitcoin, cryptocurrency, bitmex, binance futures, market making)
Stars: ✭ 169 (+207.27%)
Mutual labels:  trading, trading-bot, binance-bot, binance-futures
PancakeSwapPredictionBot
PancakeSwap V2 Prediction Bot With Machine Learning | Automated Strategy, Auto Betting, Auto Claim
Stars: ✭ 21 (-61.82%)
Mutual labels:  trading, trading-bot, binance
Mida
The open-source and cross-platform trading framework
Stars: ✭ 263 (+378.18%)
Mutual labels:  trading, trading-bot, binance
pancakeswap-prediction-winner
🔥 PancakeSwap is afraid of this CHROME EXTENSION (and CLI)! This bot wins almost every 5 minute BNB-USD option on PancakeSwap (and Candle Genie).
Stars: ✭ 229 (+316.36%)
Mutual labels:  trading, trading-bot, binance
TradeBot
Crypto trading bot using Binance API (Java)
Stars: ✭ 292 (+430.91%)
Mutual labels:  trading, trading-bot, binance-api
Blankly
🚀 💸 Easily build, backtest and deploy your algo in just a few lines of code. Trade stocks, cryptos, and forex across exchanges w/ one package.
Stars: ✭ 1,456 (+2547.27%)
Mutual labels:  trading, trading-bot, binance
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 (+178.18%)
Mutual labels:  trading, trading-bot, binance
ninjabot
A fast trading bot platform for cryptocurrency in Go (Binance)
Stars: ✭ 1,021 (+1756.36%)
Mutual labels:  trading, trading-bot, binance
twitter-crypto-bot
This is a Twitter bot that tweets about cryptocurrencies prices every certain amount of minutes
Stars: ✭ 21 (-61.82%)
Mutual labels:  trading, binance, binance-api
unicorn-binance-suite
The UNICORN Binance Suite is a Python Meta Package of unicorn-fy, unicorn-binance-local-depth-cache, unicorn-binance-rest-api, unicorn-binance-trailing-stop-loss and unicorn-binance-websocket-api.
Stars: ✭ 35 (-36.36%)
Mutual labels:  binance, binance-exchange, binance-api
binance-technical-algorithm
Technical trading algorithm for Binance
Stars: ✭ 44 (-20%)
Mutual labels:  trading-bot, binance, binance-api
Cryptotrader
A cryptocurrency trader for all famous exchanges
Stars: ✭ 228 (+314.55%)
Mutual labels:  trading, trading-bot, binance
java-binance-api
Java Binance API Client
Stars: ✭ 72 (+30.91%)
Mutual labels:  binance, binance-exchange, binance-api

币安强势币多交易对马丁策略机器人

币安多交易对强势币马丁格尔策略。支持币安现货或者合约,目前只支持做多的马丁策略。

###配置文件参数说明

 {
  "platform": "binance_spot",
  "api_key": "",
  "api_secret": "",
  "max_pairs": 4,
  "pump_pct": 0.026,
  "pump_pct_4h": 0.045,
  "initial_trade_value": 200,
  "stop_loss_pct": 0,
  "trade_value_multiplier": 1.5,
  "increase_pos_when_drop_down": 0.05,
  "exit_profit_pct": 0.01,
  "profit_drawdown_pct": 0.01,
  "trading_fee": 0.0004,
  "max_increase_pos_count": 5,
  "turnover_threshold": 100000,
  "blocked_lists": [],
  "allowed_lists": [],
  "proxy_host": "",
  "proxy_port": 0,
  "taker_price_pct": 0.005
}

配置文件的参数说明。

  1. platform: 可选的值有两个,分别是binance_future和binance_spot, 如果你想交易现货,就填写binance_spot, 合约就写binance_future

  2. api_key: 币安交易所的api key

  3. api_secret: 币安交易所的api secret

  4. max_pairs: 交易对的最大数量,如果你想同时持仓10个交易对,那么这里就写10.

  5. pump_pct: 1小时线暴涨百分之多少后入场, 当然你可以修改源码,修改你的入场逻辑。这个策略的思路是挑选小时暴涨的币,然后用马丁格尔的策略去交易。

  6. pump_pct_4h: 4小时线暴涨百分之多少后入场

  7. initial_trade_value: 每个交易对的初始交易金额

  8. stop_loss_pct: 设置止损百分比, 0.2 表示亏损20%后出场。

  9. trade_value_multiplier: 马丁格尔加仓系数,如果是2表示下一次交易的金额是上一次交易金额的两倍。

  10. increase_pos_when_drop_down: 回调多少后加仓。

  11. exit_profit_pct: 盈利百分之多少后出场点

  12. profit_drawdown_pct: 最高值回调多少后,且有利润的时候才出场.

  13. trading_fee: 交易的资金费率。

  14. max_increase_pos_count: 最大的加仓次数.

  15. turnover_threshold: 这个是过滤值,就是要求一小时的最低成交量不能低于多少,默认是值 100,000 USDT.

  16. blocked_lists: 这个是禁止交易的交易对,如果你想过滤某写不想交易的山寨币,你可以把他们放在这个列表上如: ['XMLUSDT', 'XRPUSDT'],

  17. allowed_lists: 如果你只想交易某一些交易对,那么放这里: ['BTCUSDT', 'ETHUSDT', 'ADAUSDT', 'BNBUSDT']

  18. proxy_host: 代理主机ip地址: 如'132.148.123.22'

  19. proxy_port: 代理主机的端口号如: 8888, 9999 ect.

  20. taker_price_pct: 当前盘口吃价比例,类似市价单效果

如何使用

  1. 把代码下载下来,然后编辑config.json文件,它会读取你这个配置文件,记得填写你的交易所的api key 和 secret, 然后保存该配置文件,配置文件选项的说明如上面描述。
  2. 直接运行main.py文件或者通过shell脚本运行, 执行 sh start.sh 就可以运行。

联系我

如果关于代码任何有问题,可以提交issues, 或者联系我微信: bitquant51

multi_pairs_martingle_bot English Documentation

Binance exchange muti pairs martingle trading bot for Binance exchange.

Configuration

 {
  "platform": "binance_future",
  "api_key": "xxxx",
  "api_secret": "xxxxx",
  "max_pairs": 4,
  "pump_pct": 0.026,
  "pump_pct_4h": 0.045,
  "initial_trade_value": 200,
  "stop_loss_pct": 0,
  "trade_value_multiplier": 1.5,
  "increase_pos_when_drop_down": 0.05,
  "exit_profit_pct": 0.01,
  "profit_drawdown_pct": 0.01,
  "trading_fee": 0.0004,
  "max_increase_pos_count": 5,
  "turnover_threshold": 100000,
  "blocked_lists": [
    "BTCUSDT",
    "ADAUSDT"
  ],
  "allowed_lists": [],
  "proxy_host": "",
  "proxy_port": 0,
  "taker_price_pct": 0.005
}


  1. platform: binance_future for Binance Future Exchange, binance_spot for Binance Spot Exchange

  2. api_key: api key from Binance exchange api key

  3. api_secret: api secret from Binance exchange.

  4. max_pairs: the max number of pair you want to trade.

  5. pump_pct: when the price pump some percent in one hour, will enter position.

  6. pump_pct_4h: when the price pump some percent in four hour, will enter position.

  7. initial_trade_value: the first order you want to trade.

  8. stop_loss_pct: set the stop loss, 0.2 means 20%

  9. trade_value_multiplier: the martingle ratio, if the value is 2, then the next trading value will multiply the last trading value.

  10. increase_pos_when_drop_down: after entering a position, you want to increase your position when the price go down some percentage.

  11. exit_profit_pct: exit your position when you get some profit percent.

  12. profit_drawdown_pct: drawdown some percent of your profit, then you will exit your position(also need to meet the requirement of the exit_profit_pct).

  13. trading_fee: trading fee rate.

  14. max_increase_pos_count: how many times you want to increase your positions

  15. turnover_threshold: the pair's trading value should be over this value, the default value is 100,000 USDT.

  16. blocked_lists: if you don't want to trade the symbols/pairs, put it here likes ['XMLUSDT', 'XRPUSDT'],

  17. allowed_lists: if you only want to trade some specific pairs, put it here, like : ['BTCUSDT', 'ETHUSDT', 'ADAUSDT', 'BNBUSDT']

  18. proxy_host: proxy host ip location like '132.148.123.22'

  19. proxy_port: proxy port like : 8888, 9999 ect.

  20. taker_price_pct: the taker price

how-to use

  1. just config your config.json file, past your api key and secret from Binance, and modify your settings in config.json file.
  2. run the main.py file, or you can use shell script by sh start.sh

contact me

Wechat: bitquant51

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].