Skip to content

Instantly share code, notes, and snippets.

@raypulver
Created January 1, 2018 20:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save raypulver/2f787ea6c7996e68c1b5b16c7d4839eb to your computer and use it in GitHub Desktop.
Save raypulver/2f787ea6c7996e68c1b5b16c7d4839eb to your computer and use it in GitHub Desktop.
parameters for market making bot
- Selectable markets
- For each market
-- percentage of total ETH appropriated for market
-- percentage of total coin balance appropriated for market making with
-- For both buy and sell side
--- Amount of orders
--- Curve to use for setting prices
--- Curve to use for setting amount of total supply (spread out across orders)
- Curves
- For each curve
-- Type of curve (linear or exponential)
-- Points which are used in a regression of said type (x coordinate is a ratio of how many orders have been posted vs the target total amount, y coordinate is either the ratio of the total supply to have posted at this point in the ordermaking process or percentage difference from the fair value of market when pricing)
-- Y-intercept (offset)
- Interval at which to poll external exchange API for fair value of asset
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment