Skip to content

BitMEX market bot based primarily on funding rates

Notifications You must be signed in to change notification settings

wthueb/fundonebot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fundonebot

bitmex market bot based on funding rate, with option for hedges in between positions

uses (heavily modified) https://github.com/BitMEX/sample-market-maker framework

notes:

  • cannot build sample-market-maker directly; there are changes to market_maker/market_maker.py, market_maker/bitmex.py, and market_maker/ws/ws_thread.py
  • has stops implemented to prevent drastic losses in positions
  • not particularly fast latency-wise, wouldn't be wise to adapt to quick trading strategies

usage:

  • setup settings.py from settings_example.py with your api key and secret
    • modify variables in settings.py to desired values
  • pip3 install -r requirements.txt
  • python3 strat.py

About

BitMEX market bot based primarily on funding rates

Topics

Resources

Stars

Watchers

Forks