Advertisement
Guest User

Untitled

a guest
Feb 21st, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.47 KB | None | 0 0
  1. // Notes: These settings should work for any budget since this is based on percentage and not absolute amount.
  2. // In order for these settings to work properly
  3. // SET in hostsettings.json:
  4. // "UseMinBuyBalancePercentage": "true",
  5. // "UseMaxCostPercentage": "true",
  6. // "CalculateTrailingValues": "false",
  7. ////////////////////////
  8. // //
  9. // General Settings //
  10. // //
  11. ////////////////////////
  12. {
  13. "General": {
  14. "BaseCurrency": "ETH",
  15. // A-Value - This is your base currency which you will use to trade on the exchange
  16. // Strategy - BTC currently has the most amount of pairs available to trade with
  17. "MaxCost": "7",
  18. // %-Value - This is the most you will spend on one pair, value is a %
  19. // Strategy - This is a good balance, too high a % the more capital it will take to DCA, too low a % the more pairs you have to have to turn profit
  20. "ExcludedCoins": "BNB",
  21. // A-Value - coins you don't want PTF to create settings for. These will have no config generated and will appear in watchmode
  22. // Strategy - A good place to put your coin used for fees
  23. "SomOnlyCoins": "BLITZ,ERC,EGC,FAIR,2GIVE,BITB,QRL,GRS,EMC2,BTG,RCN,GBG,QWARK,CLUB,1ST,SPHR,RISE,FLO,PKB,XMY,SYNX,SLS,BLK,EXCL,AMP,NBT,GBYTE,DOGE,XMG,GLD,AUR,BCY,ETHD,COVAL,FLDC,CPC,DCT,BURST,ZEC,CHAT,NANO,BLZ,STEEM,AE,VIA,RPX",
  24. // A-Value - these are coins where BASE_COIN_sell_only_mode will be true
  25. // Strategy - A good idea to put newly added coins to an exchange as they typically pump the first day and spend a week or so gradually dumping
  26. "EnabledPairsOnly": "",
  27. // A-Value - coins that you only want to trade. If pairs are in here and the ExcludedList, they will not be traded
  28. // Strategy - I want to trade all coins
  29. "MinutesForLongerTermTrend": "720",
  30. // A-Value - minutes to measure trend for LongerTermPriceChange
  31. // Strategy -
  32. "MinutesToMeasureTrend": "60",
  33. // %-Value - minutes to measure trend for base coin trend, PriceTrendChange and volatility calc
  34. // Strategy -
  35. "MaxTradingPairs": "7",
  36. // A-Value - The maximum amount of trading pairs you have combined in pairs log and DCA log
  37. // Strategy - 7 is a good balance between profit and DCA
  38. "TopCurrenciesToCheck": "50",
  39. // A-Value - number of pairs to check from your exchange for MaxTopCoinAverageChange
  40. // Strategy -
  41. ////////////////////
  42. // //
  43. // DCA Settings //
  44. // //
  45. ////////////////////
  46. "DcaEnabled": "-2.5",
  47. // %-Value - This setting is the initial look trigger to start your DCA
  48. // Strategy - 2.5% down is a good amount of decline to show a trend downward
  49. //"DcaExcludedCoins": "", (DISABLED)
  50. // A-Value - coins you don't want DCA enabled for no matter what
  51. // Strategy - I want all coins to DCA
  52. "DcaMaxBuySpread": "1",
  53. // %-Value - If the spread between buy orders and sell orders is greater than 1% DCA will not trigger
  54. // Strategy - 1% is conservative, however we want to avoid pumps and dumps, we are trailing trends
  55. "DcaMaxBuyTimes": "3",
  56. // A-Value - The max amount of times a DCA buy will trigger per pair
  57. // Strategy - I hope you don't need this more than 3 times!
  58. "DcaMaxCost": "0",
  59. // %-Value - This is the most the bot will spend per DCA buy
  60. // Strategy - We do not want to limit DCA purchases, unless you like bags?
  61. "DcaMinBuyBalance": "0",
  62. // %-Value - The minimum amount of capital you must have in your account in order for a DCA buy to trigger
  63. // Strategy - This allows you to use all available capital to DCA with
  64. "DcaSellStrategy": "GAIN",
  65. // A-Value - The strategy used to sell
  66. // Strategy -
  67. //"DcaSellTrigger": "", (DISABLED)
  68. // %-Value - This is the minimum value for a BB sell to trigger
  69. // Strategy - not used for our strategy
  70. "DcaSellValue": "1",
  71. // %-Value - This value triggers the bot to potentially sell and the DCA pair is sold once the trailing profit value is exceeded.
  72. // Strategy - 1% is a good base to start a sell trigger
  73. "DcaTrailingBuy": "1.25",
  74. // %-Value - Once this value is exceeded, a DCA purchase is initiated
  75. // Strategy - This is the bread and butter setting of DCA. We want to tie up as little capital as possible, DCA as few times as possible
  76. // and buy as low as possible. This will allow a trail based on trend and not volatility. Downside is you will buy DCA potentially
  77. // 1.25% higher than the lowest, upside is you will be buying as the coin is trending upward and should have fewer DCA buy times
  78. "DcaTrailingProfit": "0.3",
  79. // %-Value - Once this value is exceeded your sell order is placed
  80. // Strategy - The higher the setting the longer you are likely to hold onto the bag but a better chance to make more money, personally I want to get rid of DCA quickly
  81. ////////////////////
  82. // //
  83. // Buy Settings //
  84. // //
  85. ////////////////////
  86. "BuyStrategy": "LOWBB",
  87. // A-Value - The Strategy used to trigger a potential buy
  88. // Strategy - LOWBB with 15 minute candles showed the most upswings compared to other strategies
  89. "BuyValue": "-0.2",
  90. // %-Value - This setting is the initial look trigger to start your pair purchase
  91. // Strategy - Once a coin starts to go below the LOWBB line we want to start trailing it
  92. "BuyValueLimit": "3",
  93. // %-Value - ALL_buy_value_limit used for SPREAD and CROSS strategies only
  94. // Strategy - Not sure what this does but I read a higher value is more conservative!
  95. "MaxBuySpread": "1",
  96. // %-Value - If the spread between the buy and sell orders is higher than this number, a buy will not trigger
  97. // Strategy - we want to be conservative and trail trends not pumps
  98. "MaxTrailingBuy": "0.8",
  99. // %-Value - Once this value is exceeded a buy order will trigger
  100. // Strategy - This helps remove volatility being a higher number and helps ensure we are buying a coin on an uptrend
  101. "MinBuyBalance": "25",
  102. // %-Value - This is the minimum amount of your trading pair you must have available in order to place a buy for new coins
  103. // Strategy - 30% is a good amount to always leave available for DCA.
  104. // It wont be enough to max out every coin but it will cover the majority should all your coins dump
  105. "MinBuyPrice": "0",
  106. // A-Value - Any coin valued below this setting will not trigger a buy order
  107. // Strategy - I dont care what a coin is worth individually, willing to trade all
  108. "MinBuyVolume": "600",
  109. // %-Value - This is the minimum 24 hour trade volume (in your trading pair, BTC) in order for there to be a potential buy
  110. // Strategy - Anything above 1000 for me started limiting coins, anything under 350 was getting harder to DCA out of YMMV
  111. "MinTrailingBuy": "0.15", //
  112. // %-Value - minimum the trailing buy after offsets can be
  113. // Strategy - this is a baseline of a trail in order for it to start initiating a buy
  114. /////////////////////
  115. // //
  116. // Sell Settings //
  117. // //
  118. /////////////////////
  119. "SellStrategy": "GAIN",
  120. // A-Value - The strategy used to sell
  121. // Strategy -
  122. "MinTrailingProfit": "0.1",
  123. // %-Value - minimum the trailing profit after offsets can be
  124. // Strategy - this is a baseline of a trail in order for it to start initiating a sell
  125. "MaxTrailingProfit": "0.25",
  126. // %-Value - Once this value is exceeded your sell order is placed
  127. // Strategy - The higher the setting the longer you are likely to hold onto the bag but a better chance to make more money and avoid volatility
  128. "MinProfit": "0.75",
  129. // %-Value - This is the least amount of profit you will make per sell
  130. // Strategy -
  131. "SellValue": "1.1",
  132. // %-Value - The value in which the bot starts to look at selling
  133. // Strategy -
  134. ///////////////////////////////////////////////////
  135. // These are your offsets per market conditions //
  136. }, //
  137. "MarketConditions": { //
  138. "Configs": [ //
  139. ///////////////////////////////////////////////////
  140. ///////////////////////////////////////////////////////////////
  141. // Steady //
  142. // Strategy - default settings used from above, no offsets //
  143. ///////////////////////////////////////////////////////////////
  144. {
  145. "FolderName": "Steady", // This uses general settings
  146. "MaxTopCoinAverageChange": "1.5",
  147. // "MinutesToMeasureTrend": "120", - this is not implemented yet
  148. // "Priority": "7", - this is not implemented yet - this will give priority to 2,1 (medium bear and big bear respectively) This prevents conflict with MinutesToMeasureTrend
  149. },
  150. ///////////////////////////////////////////////////////////////////////
  151. // Little Bear //
  152. // Strategy: If the top coins average is less than -0.10%, //
  153. // Increase DCA capital/take DCA profits sooner and buy less pairs //
  154. ///////////////////////////////////////////////////////////////////////
  155. {
  156. "FolderName": "Little Bear",
  157. "MaxTopCoinAverageChange": "-0.10",
  158. // "MinutesToMeasureTrend": "60", - this is not implemented yet
  159. // "Priority": "6", - this is not implemented yet - this will give priority to 2,1 (medium bear and big bear respectively) This prevents conflict with MinutesToMeasureTrend
  160. "BuyStrategy": {
  161. "BuyValue": "-.4",
  162. "BuyStrategy": "LOWBB",
  163. "Weight": "55"
  164. },
  165. "DcaMaxBuyTimesOffset": "33", // increasing the amount of DCA bags we can buy +1 (4 DCA's total per coin)
  166. "DcaSellValueOffset": "-33", // lowers the profit of DCA bags to sell quicker
  167. "DcaTrailingProfitOffset": "-25", // even though there is probably more volatility during a sell off (larger trail spreads) we want to get rid of DCA bags with a profit sooner to free up capital
  168. "MaxPairsOffset": "-15", // reduces the number of trading pairs we can have to leave more capital for DCA (6 pairs)
  169. //"MinBuyBalanceOffset": "33", // increases the amount of capital we must have to buy new pairs leaving more capital for DCA (40%)
  170. "SellValueOffset": "-10", // triggers selling pairs quicker during downtrend
  171. "TrailingProfitOffset": "-17", // this reduced the trailing profit. Even though the market is more volatile we want to sell pairs quicker
  172. },
  173. /////////////////////////////////////////////////////////////////////////////////
  174. // Medium Bear //
  175. // Strategy: If the top coins average is less than -0.20%, //
  176. // Increase DCA capital more/take DCA profits sooner and buy even less pairs //
  177. /////////////////////////////////////////////////////////////////////////////////
  178. {
  179. "FolderName": "Medium Bear",
  180. "MaxTopCoinAverageChange": "-0.20",
  181. // "MinutesToMeasureTrend": "90", - this is not implemented yet
  182. // "Priority": "4", - this is not implemented yet - this will give priority to 2,1 (medium bear and big bear respectively) This prevents conflict with MinutesToMeasureTrend
  183. "BuyStrategy": {
  184. "BuyValue": "-.6",
  185. "BuyStrategy": "LOWBB",
  186. "Weight": "60"
  187. },
  188. "DcaMaxBuyTimesOffset": "66", // increasing the amount of DCA bags we can buy +2 (5 DCA's total per coin)
  189. "DcaSellValueOffset": "-46", // lowers the profit of DCA bags to sell quicker
  190. "DcaTrailingProfitOffset": "-25", // even though there is probably more volatility during a sell off (larger trail spreads) we want to get rid of DCA bags with a profit sooner to free up capital
  191. "MaxPairsOffset": "-28", // reduces the number of trading pairs we can have to leave more capital for DCA (5 pairs)
  192. //"MinBuyBalanceOffset": "66", // increases the amount of capital we must have to buy new pairs leaving more capital for DCA (50%)
  193. "SellValueOffset": "-20", // triggers selling pairs quicker during downtrend
  194. "TrailingProfitOffset": "-33", // this reduced the trailing profit. Even though the market is more volatile we want to sell pairs quicker
  195. },
  196. /////////////////////////////////////////////////////////////////////////////////
  197. // Big Bear //
  198. // Strategy: If the top coins average is less than -2%, //
  199. // Increase DCA capital more/take DCA profits sooner and buy even less pairs //
  200. /////////////////////////////////////////////////////////////////////////////////
  201. {
  202. "FolderName": "Big Bear",
  203. "MaxTopCoinAverageChange": "-2",
  204. // "MinutesToMeasureTrend": "120", - this is not implemented yet
  205. // "Priority": "2", - this is not implemented yet - this will give priority to 2,1 (medium bear and big bear respectively) This prevents conflict with MinutesToMeasureTrend
  206. "BuyStrategy": {
  207. "BuyValue": "-.8",
  208. "BuyStrategy": "LOWBB",
  209. "Weight": "65"
  210. },
  211. "DcaMaxBuyTimesOffset": "100", // increasing the amount of DCA bags we can buy +2 (6 DCA's total per coin)
  212. "DcaSellValueOffset": "-60", // lowers the profit of DCA bags to sell quicker
  213. "DcaTrailingProfitOffset": "-25", // even though there is probably more volatility during a sell off (larger trail spreads) we want to get rid of DCA bags with a profit sooner to free up capital
  214. "MaxPairsOffset": "-43", // reduces the number of trading pairs we can have to leave more capital for DCA (4 pairs)
  215. //"MinBuyBalanceOffset": "100", // increases the amount of capital we must have to buy new pairs leaving more capital for DCA (60%)
  216. "SellValueOffset": "-30", // triggers selling pairs quicker during downtrend
  217. "TrailingProfitOffset": "-33", // this reduced the trailing profit. Even though the market is more volatile we want to sell pairs quicker
  218. },
  219. //////////////////////////////////////////////////////////////////////////////////////////
  220. // Little Bull //
  221. // Strategy: If the top coins average is between 1.5% & 3%, //
  222. // Decrease DCA capital and start DCA at a bigger %, increase pairs, take more profit //
  223. // //
  224. //////////////////////////////////////////////////////////////////////////////////////////
  225. {
  226. "FolderName": "Little Bull",
  227. "MaxTopCoinAverageChange": "3",
  228. // "MinutesToMeasureTrend": "120", - this is not implemented yet
  229. // "Priority": "7", - this is not implemented yet - this will give priority to 2,1 (medium bear and big bear respectively) This prevents conflict with MinutesToMeasureTrend
  230. "BuyStrategy": {
  231. "BuyValue": ".3",
  232. "BuyStrategy": "EMACROSS",
  233. "Weight": "55"
  234. },
  235. "DcaEnabled": "-25", // Market is good, Dont DCA to soon tying up capital
  236. "DcaMaxBuyTimesOffset": "-33", // decrease the amount of DCA bags we can buy -1 (2 DCA's total per coin)
  237. "DcaSellValueOffset": "33", // increases the profit of DCA bags
  238. "CostOffset": "15", // more per pair (8% total)
  239. "MaxPairsOffset": "14", // increase the number of pairs on an uptrend, lets get trading! (8 total pairs)
  240. //"MinBuyBalanceOffset": "-33", // decreases the amount of capital we must have to buy new pairs leaving less capital for DCA (20%)
  241. "SellValueOffset": "10", // Triggers profit, Lets make more money on the uptrend! (1.1%)
  242. //"TrailingProfitOffset": "17", // market is more volatile, trail increased (needs testing)
  243. },
  244. //////////////////////////////////////////////////////////////////////////////////////////
  245. // Medium Bull //
  246. // Strategy: If the top coins average is between 3% & 9%, //
  247. // Decrease DCA capital and start DCA at a bigger %, increase pairs, take more profit //
  248. //////////////////////////////////////////////////////////////////////////////////////////
  249. {
  250. "FolderName": "Medium Bull",
  251. "MaxTopCoinAverageChange": "9",
  252. // "MinutesToMeasureTrend": "180", - this is not implemented yet
  253. // "Priority": "5", - this is not implemented yet - this will give priority to 2,1 (medium bear and big bear respectively) This prevents conflict with MinutesToMeasureTrend
  254. "BuyStrategy": {
  255. "BuyValue": ".5",
  256. "BuyStrategy": "EMACROSS",
  257. "Weight": "60"
  258. },
  259. "DcaEnabled": "-50", // Market is good, Dont DCA to soon tying up capital
  260. "DcaMaxBuyTimesOffset": "-33", // decrease the amount of DCA bags we can buy -1 (2 DCA's total per coin)
  261. "DcaSellValueOffset": "46", // increases the profit of DCA bags
  262. "CostOffset": "15", // more per pair (8% total)
  263. "MaxPairsOffset": "43", // increase the number of pairs on an uptrend, lets get trading! (12 total pairs)
  264. //"MinBuyBalanceOffset": "-33", // decreases the amount of capital we must have to buy new pairs leaving less capital for DCA (20%)
  265. "SellValueOffset": "100", // Triggers profit, Lets make more money on the uptrend! (2%)
  266. //"TrailingProfitOffset": "200", // market is more volatile, trail increased (needs testing)
  267. },
  268. //////////////////////////////////////////////////////////////////////////////////////////
  269. // Big Bull //
  270. // Strategy: If the top coins average over 9%, //
  271. // Decrease DCA capital and start DCA at a bigger %, increase pairs, take more profit //
  272. //////////////////////////////////////////////////////////////////////////////////////////
  273. {
  274. "FolderName": "Big Bull",
  275. "MaxTopCoinAverageChange": "10000",
  276. // "MinutesToMeasureTrend": "240", - this is not implemented yet
  277. // "Priority": "3", - this is not implemented yet - this will give priority to 2,1 (medium bear and big bear respectively) This prevents conflict with MinutesToMeasureTrend
  278. "BuyStrategy": {
  279. "BuyValue": ".5",
  280. "BuyStrategy": "EMACROSS",
  281. "Weight": "60"
  282. },
  283. "DcaEnabled": "-100", // Market is good, Dont DCA to soon tying up capital
  284. "DcaMaxBuyTimesOffset": "-66", // decrease the amount of DCA bags we can buy -2 (1 DCA total per coin)
  285. "DcaSellValueOffset": "60", // increases the profit of DCA bags
  286. "CostOffset": "-15", // less per pair, more pairs (6% per pair)
  287. "MaxPairsOffset": "114", // increase the number of pairs on an uptrend, lets get trading! (14 total pairs)
  288. //"MinBuyBalanceOffset": "-67", // decreases the amount of capital we must have to buy new pairs leaving less capital for DCA (10%)
  289. "SellValueOffset": "200", // Triggers profit, Lets make more money on the uptrend! (3%)
  290. //"TrailingProfitOffset": "550", // market is more volatile, trail increased (1.95% trail)
  291. },
  292. ]
  293. },
  294. "Volume": {
  295. "Configs": [
  296. {
  297. // For any coins with a volume of less than 500 BTC, then increase the trailingbuy by 10% and reduce the trailing profit by -20%
  298. "MaxVolume": "500",
  299. "TrailingBuyOffset": "10",
  300. "TrailingProfitOffset": "-20",
  301. "DcaEnabled": "-20"
  302. }
  303. ]
  304. },
  305. "PriceTrendChange": {
  306. "Configs": [
  307. {
  308. // if a coin has dropped more than -5% in "MinutesToMeasureTrend": "60", then go sell only mode and drop the SellValue by 20%
  309. "MaxPriceTrendPercentageChange": "-5",
  310. "SellOnlyMode": "true",
  311. "SellValueOffset": "-20"
  312. },
  313. {
  314. // if a coin has changed between -5% and 0.5% then increase the TrailingProfit by 5% and reduce the TrailingBuy by -70%
  315. "MaxPriceTrendPercentageChange": "0.5",
  316. "TrailingBuyOffset": "-70",
  317. "TrailingProfitOffset": "5"
  318. }
  319. ]
  320. }
  321. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement