Advertisement
Guest User

Untitled

a guest
Jun 20th, 2017
15
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.68 KB | None | 0 0
  1. # Need help configuring? View the Documentation: https://poloniexlendingbot.readthedocs.io/en/latest/configuration.html
  2.  
  3. [API]
  4. apikey = [snip]
  5. secret = [snip]
  6.  
  7. [BOT]
  8. #Sleeps between active iterations, time in seconds (1-3600)
  9. sleeptimeactive = 60
  10.  
  11. #Sleeps between inactive iterations, time in seconds (1-3600)
  12. #Set to the same value as sleeptimeactive to disable
  13. sleeptimeinactive = 300
  14.  
  15. #Minimum daily lend rate in percent (0.0031-5)
  16. #Setting to 0.0031 is about 1% a year, not worth it.
  17. mindailyrate = 0.005
  18.  
  19. #Maximum lending rate. 2% is good choice because it's default at margin trader interface.
  20. #5% is the maximum rate accepted by the exchange (0.003-5)
  21. maxdailyrate = 5
  22.  
  23. #The number of offers to split the available balance across the [gaptop, gapbottom] range. (1-20)
  24. spreadlend = 3
  25.  
  26. #The depth of lendbook to move through before placing the first (gapbottom) and last (gaptop) offer.
  27. #If gapbottom is set to 0, the first offer will be at the lowest possible rate.
  28. #However some low value is recommended to skip dust offers.
  29. # Gap modes: Raw, RawBTC, Relative
  30. gapMode = Relative
  31. gapbottom = 10
  32. gaptop = 200
  33.  
  34. #Daily lend rate threshold after which we offer lends for x days as opposed to 2.
  35. #If set to 0 all offers will be placed for a 2 day period (0.003-5)
  36. xdaythreshold = 0.2
  37. xdays = 60
  38.  
  39. #Auto-transfer of funds from exchange to lending balance.
  40. #Enter ALL to transfer all coins, enter ACTIVE to transfer any coins you have in your lending account when the bot starts, these can be mixed.
  41. #The currencies you enter below (comment it out to disable entirely, just leaving empty will result in an error) will be automatically transferred from your exchange balance to your lending bala
  42. nce whenever you deposit them.
  43. #transferableCurrencies = STR,BTC,BTS,CLAM,DOGE,DASH,LTC,MAID,XMR,XRP,ETH,FCT
  44.  
  45. #Minimum loan size, the minimum size of offers to make, bigger values prevent the bot from loaning small available amounts but reduce loan fragmentation.
  46. minloansize = 0.01
  47.  
  48. #Keep Stuck Orders - Sometimes an order gets partially filled. When this happens it may leave the remainder of your coin under the set minloansize.
  49. #If this happens, KeepStuckOrders will keep your order where it is so maybe it can be filled. Otherwise it will be canceled and held until orders expire.
  50. keepstuckorders = True
  51.  
  52. #Hide coins - Instead of keeping your coins lent out at minlendrate when it is not met, the bot will hold them and wait for the rate to surpass it.
  53. hideCoins = True
  54.  
  55. #End date for lending, bot will try to make sure all your loans are done by this date so you can withdraw or do whatever you need.
  56. #Uncomment to enable.
  57. #Format: YEAR,MONTH,DAY
  58. endDate = 2017,7,25
  59.  
  60. #Raw maximum amount to lend if under maxtolendrate.
  61. #If set to 0 or commented: the bot will check for maxpercenttolend.(0+)
  62. #maxtolend = 0
  63.  
  64. #Maximum percent to lend if under maxtolendrate.
  65. #If set to 0 or commented: the bot will lend 100% of your balance regardless of rate. (0-100)
  66. maxpercenttolend = 96
  67.  
  68. #Max to lend conditional rate.
  69. #If set to more than 0: the maxtolend or maxpercenttolend will be used when the rate is less than or equal to the maxtolendrate.
  70. #If set to 0 or commented: the bot will use the maxtolend or maxpercenttolend all the time. (0.0031-5)
  71. #maxtolendrate = 0
  72.  
  73. # Local Market Analysis: Choose which coins to record the market of in order to analyse them and compute a recommended lending rate.
  74. # Enter ALL to analyse all coins, enter ACTIVE to analyse the markets of any coins you have in your lending account when the bot starts, these can be mixed.
  75. analyseCurrencies = ALL
  76.  
  77. # Choose how long to keep market data. (In days) (1-365)
  78. analyseMaxAge = 30
  79. # Choose how often to record a market's rate. (In seconds.) (10-3600)
  80. analyseUpdateInterval = 60
  81. # Choose how aggressive to lend at based on a market's performance. (As a percentile of the market's rate.) (1-99)
  82. # Recommendations: Conservative = 50, Moderate = 75, Aggressive = 90, Very Aggressive = 99
  83. lendingStyle = 85
  84.  
  85. #Syntax: ["COIN:mindailyrate:maxactiveamount:maxtolend:maxpercenttolend:maxtolendrate",...]
  86. #If maxactive amount is 0: stop lending this coin. in the future you'll be able to limit amount to be lent.
  87. #If maxtolend is 0: check for maxpercenttolend.
  88. #If maxpercenttolend is 0: 100% is going to be lent.
  89. #If maxtolendrate is set to more than 0: the maxtolend or maxpercenttolend will be used when then rate is less or equal to the maxtolendrate. if set to 0 the bot will use the maxtolend or maxper
  90. centtolend all the time.
  91. # Please configure via the coinconfig line below OR individual coins in the [BTC], [CLAM], etc section. NOT both.
  92. # coinconfig takes precedence
  93. #coinconfig = ["BTC:0.18:1:0:0:0","CLAM:0.6:1:0:0:0"]
  94.  
  95. #This option creates a json log file instead of console output which includes the most recent status.
  96. #Uncomment both jsonfile and jsonlogsize to enable.
  97. #Keep this in the default location if you want to use the webserver.
  98. jsonfile = www/botlog.json
  99.  
  100. #Limits the amount of log lines to save.
  101. #jsonlogsize = 200
  102.  
  103. #Enables a webserver for the www folder, in order to easily use the lendingbot.html with the .json log.
  104. startWebServer = true
  105.  
  106. #Customize the IP and port that the webserver is hosted on. Defaults to 0.0.0.0:8000
  107. #0.0.0.0 will point to your default IP (Local IP on LAN as well as localhost), set to 127.0.0.1 if you want it to be only accessible by host computer.
  108. #Do not set to a reserved port
  109. #Advanced users only.
  110. customWebServerAddress = 10.0.0.159:8001
  111.  
  112. #The currency that the HTML Overview will present the earnings summary in.
  113. #Options are BTC, USDT, ETH or anything as long as it has a direct BTC market. The default is BTC.
  114. #outputCurrency = BTC
  115.  
  116. #Plugins allow extending Bot functionality with extra features.
  117. plugins = AccountStats
  118.  
  119. # Currencies can be configured here, or in the coinconfig. Coinconfig takes precedence.
  120. #[BTC]
  121. #minloansize = 0.01
  122. #mindailyrate = 0.18
  123. #maxactiveamount = 1
  124. #maxtolend = 0
  125. #maxpercenttolend = 0
  126. #maxtolendrate = 0
  127.  
  128. #[CLAM]
  129. #minloansize = 1
  130. #mindailyrate = 0.6
  131. #maxactiveamount = 1
  132. #maxtolend = 0
  133. #maxpercenttolend = 0
  134. #maxtolendrate = 0
  135.  
  136. #[BTC]
  137. #minloansize = 0.01
  138. #mindailyrate = 0.25
  139. #maxactiveamount = 1
  140. #maxtolend = 0
  141. #maxpercenttolend = 95
  142. #maxtolendrate = 0
  143.  
  144. #[BTS]
  145. #minloansize = 0.01
  146. #mindailyrate = 0.25
  147. #maxactiveamount = 1
  148. #maxtolend = 0
  149. #maxpercenttolend = 95
  150. #maxtolendrate = 0
  151.  
  152. #[CLAM]
  153. #minloansize = 0.01
  154. #mindailyrate = 0.2
  155. #maxactiveamount = 1
  156. #maxtolend = 0
  157. #maxpercenttolend = 95
  158. #maxtolendrate = 0
  159.  
  160. #[DASH]
  161. #minloansize = 0.01
  162. #mindailyrate = 0.0028
  163. #maxactiveamount = 1
  164. #maxtolend = 0
  165. #maxpercenttolend = 85.5
  166. #maxtolendrate = 0
  167.  
  168. #[DOGE]
  169. #minloansize = 0.01
  170. #mindailyrate = 0.002
  171. #maxactiveamount = 1
  172. #maxtolend = 0
  173. #maxpercenttolend = 85.5
  174. #maxtolendrate = 0
  175.  
  176. #[ETH]
  177. #minloansize = 0.01
  178. #mindailyrate = 0.00005
  179. #maxactiveamount = 1
  180. #maxtolend = 0
  181. #maxpercenttolend = 95.5
  182. #maxtolendrate = 0
  183.  
  184. #[STR]
  185. #minloansize = 0.01
  186. #mindailyrate = 0.003
  187. #maxactiveamount = 1
  188. #maxtolend = 0
  189. #maxpercenttolend = 95.5
  190. #maxtolendrate = 0
  191.  
  192. [notifications]
  193. notify_new_loans = False
  194. notify_tx_coins = False
  195. notify_xday_threshold = False
  196. notify_summary_minutes = 0
  197. notify_caught_exception = False
  198.  
  199. email = False
  200. email_login_address = me@gmail.com
  201. email_login_password = secretPassword
  202. email_smtp_server = smtp.gmail.com
  203. email_smtp_port = 465
  204. email_smtp_starttls = False
  205. email_to_addresses = me@gmail.com,you@gmail.com
  206.  
  207. slack = False
  208. slack_token = 1234567890abcdef
  209. slack_channels = #cryptocurrency,@someUser
  210.  
  211. telegram = False
  212. telegram_bot_id = 1234567890abcdef
  213. telegram_chat_ids = @polopolo,@cryptocurrency
  214.  
  215. pushbullet = False
  216. pushbullet_token = 1234567890abcdef
  217. pushbullet_deviceid = 1234567890abcdef
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement