SHARE
TWEET

Untitled

a guest Nov 18th, 2019 80 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {
  2.   "init": {
  3.     "description": "clean overrides when no position",
  4.     "pairs": {
  5.       "exclude": "",
  6.       "include": "XBT-USD",
  7.       "exchange": "bitmex_testnet"
  8.     },
  9.     "filters": {
  10.       "noposition": {
  11.         "type": "biggerThan",
  12.         "currentQty": -2
  13.       },
  14.       "noposition2": {
  15.         "type": "smallerThan",
  16.         "currentQty": 2
  17.       }
  18.     },
  19.     "overrides": {
  20.       "TRADING_LIMIT": 60
  21.     },
  22.     "clearOverrides": true,
  23.     "setVariable": {
  24.       "lowQty": true,
  25.       "mediumQty": false,
  26.       "highQty": false,
  27.       "liquidationStop": false
  28.     },
  29.     "schedule": "0,10,20,30,40,50 * * * * *",
  30.     "type": "manageOverrides"
  31.   },
  32.   "Liquidation_stop_short": {
  33.     "pairs": {
  34.       "exclude": "",
  35.       "include": "XBT-USD",
  36.       "exchange": "bitmex_testnet"
  37.     },
  38.     "filters": {
  39.       "positionShort": {
  40.         "type": "smallerThan",
  41.         "currentQty": 0
  42.       },
  43.       "liquidationDistance": {
  44.         "type": "differenceSmaller",
  45.         "avgEntryPrice": 1,
  46.         "liquidationPrice": 1,
  47.         "delta": 65
  48.       }
  49.     },
  50.     "overrides": {
  51.       "MAX_SELL": 0,
  52.       "MAX_BUY": 5,
  53.       "TRADING_LIMIT": 35
  54.     },
  55.     "clearOverrides": false,
  56.     "setVariable": {
  57.       "liquidationStop": true
  58.     },
  59.     "schedule": "*/30 * * * * *",
  60.     "type": "manageOverrides"
  61.   },
  62.   "Liquidation_stop_long": {
  63.     "pairs": {
  64.       "exclude": "",
  65.       "include": "XBT-USD",
  66.       "exchange": "bitmex_testnet"
  67.     },
  68.     "filters": {
  69.       "positionLong": {
  70.         "type": "biggerThan",
  71.         "currentQty": 0
  72.       },
  73.       "liquidationDistance": {
  74.         "type": "differenceBigger",
  75.         "avgEntryPrice": 1,
  76.         "liquidationPrice": 1,
  77.         "delta": -50
  78.       }
  79.     },
  80.     "overrides": {
  81.       "MAX_SELL": 5,
  82.       "MAX_BUY": 0,
  83.       "TRADING_LIMIT": 35
  84.     },
  85.     "clearOverrides": false,
  86.     "setVariable": {
  87.       "liquidationStop": true
  88.     },
  89.     "schedule": "*/30 * * * * *",
  90.     "type": "manageOverrides"
  91.   }
  92. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top