Skip to content

sashasochka/bitmex-adaptive-limit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bitmex-adaptive-limit

Purpose

Allows making a market maker limit order that would automatically up your bids or decrease your asks to guarantee fast rebateable orders.

Installation & setup

  1. npm install -g bitmex-adaptive-limit
  2. Setup BITMEX_API_KEY_ID and BITMEX_API_KEY_SECRET env variables to bitmex api key and secret.
  3. Optionally change BITMEX_CONTRACT to a different contract name, by default it's XBTUSD.
  4. Optionally change BITMEX_TESTNET to true.

Usage

  1. bitmex buy 3000
  2. bitmex sell 4000