Advertisement
Guest User

Untitled

a guest
Sep 18th, 2017
943
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.30 KB | None | 0 0
  1. # Need help configuring? View the Documentation: https://poloniexlendingbot.readthedocs.io/en/latest/configuration.html
  2.  
  3. [API]
  4. # Where to work? "Poloniex" or "Bitfinex". Default is "Poloniex"
  5. exchange = Bitfinex
  6. apikey =
  7. secret =
  8.  
  9. [POLONIEX]
  10. # Full list of supported currencies
  11. all_currencies = STR,BTC,BTS,CLAM,DOGE,DASH,LTC,MAID,XMR,XRP,ETH,FCT
  12.  
  13. [BITFINEX]
  14. # Full list of supported currencies
  15. all_currencies = USD,BTC,BCH,ETH,XRP,IOT,XMR,LTC,OMG,ETC,EOS,DSH,ZEC
  16.  
  17. [BOT]
  18. #Custom name of the bot, that will be displayed in html page
  19. label = Lending Bot
  20.  
  21. #Sleeps between active iterations, time in seconds (1-3600)
  22. sleeptimeactive = 60
  23.  
  24. #Sleeps between inactive iterations, time in seconds (1-3600)
  25. #Set to the same value as sleeptimeactive to disable
  26. sleeptimeinactive = 300
  27.  
  28. #Timeout in seconds, the bot shall wait for a response during each request
  29. #timeout = 30
  30.  
  31. #Minimum daily lend rate in percent (0.0031-5)
  32. #Setting to 0.0031 is about 1% a year, not worth it.
  33. mindailyrate = 0.015
  34.  
  35. #Maximum lending rate. 2% is good choice because it's default at margin trader interface.
  36. #5% is the maximum rate accepted by the exchange (0.003-5)
  37. maxdailyrate = 5
  38.  
  39. #The number of offers to split the available balance across the [gaptop, gapbottom] range. (1-20)
  40. spreadlend = 10
  41.  
  42. #The depth of lendbook to move through before placing the first (gapbottom) and last (gaptop) offer.
  43. #If gapbottom is set to 0, the first offer will be at the lowest possible rate.
  44. #However some low value is recommended to skip dust offers.
  45. # Gap modes: Raw, RawBTC, Relative
  46. gapMode = Relative
  47. gapbottom = 40
  48. gaptop = 500
  49.  
  50. #Daily lend rate threshold after which we offer lends for x days as opposed to 2.
  51. #If set to 0 all offers will be placed for a 2 day period (0.003-5)
  52. # Poloniex max lending period: 60 days
  53. # Bitfinex max lending period: 30 days
  54. xdaythreshold = 0.2
  55. xdays = 7
  56. #When xdayspread is set, lending days will be incremented linear from 2 days at (xdaythreshold/xdayspread) lent rate
  57. #to (xdays) days at (xdaythreshold) lent rate. (0-10)
  58. xdayspread = 2
  59.  
  60. #Auto-transfer of funds from exchange to lending balance.
  61. #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.
  62. #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 balance whenever you deposit them.
  63. #transferableCurrencies = STR,BTC,BTS,CLAM,DOGE,DASH,LTC,MAID,XMR,XRP,ETH,FCT
  64. #transferableCurrencies = USD,BTC,BCH,ETH,XRP,IOT,XMR,LTC,OMG,ETC,EOS,DSH,ZEC
  65.  
  66. #Minimum loan size, the minimum size of offers to make, bigger values prevent the bot from loaning small available amounts but reduce loan fragmentation.
  67. minloansize = 0.01
  68.  
  69. #Keep Stuck Orders - Sometimes an order gets partially filled. When this happens it may leave the remainder of your coin under the set minloansize.
  70. #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.
  71. keepstuckorders = True
  72.  
  73. #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.
  74. hideCoins = True
  75.  
  76. #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.
  77. #Uncomment to enable.
  78. #Format: YEAR,MONTH,DAY
  79. #endDate = 2016,12,25
  80.  
  81. #Raw maximum amount to lend if under maxtolendrate.
  82. #If set to 0 or commented: the bot will check for maxpercenttolend.(0+)
  83. #maxtolend = 0
  84.  
  85. #Maximum percent to lend if under maxtolendrate.
  86. #If set to 0 or commented: the bot will lend 100% of your balance regardless of rate. (0-100)
  87. #maxpercenttolend = 0
  88.  
  89. #Max to lend conditional rate.
  90. #If set to more than 0: the maxtolend or maxpercenttolend will be used when the rate is less than or equal to the maxtolendrate.
  91. #If set to 0 or commented: the bot will use the maxtolend or maxpercenttolend all the time. (0.0031-5)
  92. #maxtolendrate = 0
  93.  
  94. #Syntax: ["COIN:mindailyrate:maxactiveamount:maxtolend:maxpercenttolend:maxtolendrate",...]
  95. #If maxactive amount is 0: stop lending this coin. in the future you'll be able to limit amount to be lent.
  96. #If maxtolend is 0: check for maxpercenttolend.
  97. #If maxpercenttolend is 0: 100% is going to be lent.
  98. #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 maxpercenttolend all the time.
  99. # Please configure via the coinconfig line below OR individual coins in the [BTC], [CLAM], etc section. NOT both.
  100. # coinconfig takes precedence
  101. #coinconfig = ["BTC:0.18:1:0:0:0","CLAM:0.6:1:0:0:0"]
  102.  
  103. #This option creates a json log file instead of console output which includes the most recent status.
  104. #Uncomment both jsonfile and jsonlogsize to enable.
  105. #Keep this in the default location if you want to use the webserver.
  106. jsonfile = www/botlog.json
  107.  
  108. #Limits the amount of log lines to save.
  109. jsonlogsize = 200
  110.  
  111. #Enables a webserver for the www folder, in order to easily use the lendingbot.html with the .json log.
  112. #startWebServer = true
  113.  
  114. #Customize the IP and port that the webserver is hosted on. Defaults respectively to 0.0.0.0 and 8000
  115. #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.
  116. #Do not set to a reserved port
  117. #Advanced users only.
  118. #customWebServerAddress = 0.0.0.0
  119. #customWebServerPort = 8000
  120.  
  121. #Customize or select the desired template for the webserver. Default to 'www'.
  122. #customWebServerTemplate = www
  123.  
  124. #The currency that the HTML Overview will present the earnings summary in.
  125. #Options are BTC, USDT (USD on Bitfinex), ETH or anything as long as it has a direct BTC market. The default is BTC.
  126. #outputCurrency = BTC
  127.  
  128. #Plugins allow extending Bot functionality with extra features.
  129. plugins = AccountStats,Charts
  130.  
  131. #[ACCOUNTSTATS]
  132. ReportInterval = 86400
  133.  
  134. #[CHARTS]
  135. DumpInterval = 21600
  136. HistoryFile = www/history.json
  137.  
  138. # Currencies can be configured here, or in the coinconfig. Coinconfig takes precedence.
  139. [BTC]
  140. minloansize = 0.01
  141. mindailyrate = 0.015
  142. maxactiveamount = 1
  143. maxtolend = 0
  144. maxpercenttolend = 0
  145. maxtolendrate = 0
  146.  
  147. [ZEC]
  148. minloansize = 0.01
  149. mindailyrate = 0.01
  150. maxactiveamount = 1
  151. maxtolend = 0
  152. maxpercenttolend = 0
  153. maxtolendrate = 0
  154.  
  155. [notifications]
  156. notify_new_loans = False
  157. notify_tx_coins = False
  158. notify_xday_threshold = False
  159. notify_summary_minutes = 0
  160. notify_caught_exception = False
  161. #notify_prefix = [Polo]
  162.  
  163. email = False
  164. email_login_address = me@gmail.com
  165. email_login_password = secretPassword
  166. email_smtp_server = smtp.gmail.com
  167. email_smtp_port = 465
  168. email_smtp_starttls = False
  169. email_to_addresses = me@gmail.com,you@gmail.com
  170.  
  171. slack = False
  172. slack_token = 1234567890abcdef
  173. slack_channels = #cryptocurrency,@someUser
  174.  
  175. #telegram = False
  176. #telegram_bot_id = 1234567890abcdef
  177. #telegram_chat_ids = @polopolo,@cryptocurrency
  178. telegram = True
  179. telegram_bot_id = 393267616:AAGhA90lxGXP_JAwoX3Ish9TJXJwNl9Ift0
  180. telegram_chat_ids = 292007897
  181.  
  182. pushbullet = False
  183. pushbullet_token = 1234567890abcdef
  184. pushbullet_deviceid = 1234567890abcdef
  185.  
  186. irc = False
  187. irc_host = irc.freenode.net
  188. irc_port = 6667
  189. irc_nick = LendingBot
  190. irc_ident = ledningbot
  191. irc_realname = Poloniex lending bot
  192. irc_target = #bitbotfactory
  193.  
  194. [MarketAnalysis]
  195. # PLEASE refer to the docs before attempting to use any of this. There are a lot of things here that will not work
  196. # correctly unless you understand what you are doing.
  197. #analyseCurrencies = STR,BTC,BTS,CLAM,DOGE,DASH,LTC,MAID,XMR,XRP,ETH,FCT
  198. analyseCurrencies = BTC,
  199.  
  200. lendingStyle = 75
  201. MACD_long_win_seconds = 1800
  202. #MACD_short_win_seconds = 150
  203. # 3 days = 60 * 60 * 24 * 3 = 259200
  204. percentile_seconds = 259200
  205. # keep_history_seconds > (greater of (percentile_seconds, MACD_long_win_seconds) * 1.1)
  206. #keep_history_seconds = 285120
  207. #recorded_levels = 10
  208. # 15 % means we need one data point every 9 seconds. You probably don't need to change this.
  209. #data_tolerance = 15
  210. #delete_thread_sleep = 60
  211. #ma_debug_log = False
  212.  
  213. [Daily_min]
  214. # This defaults to percentile, MACD is the moving average calc and should give better rates
  215. #method = MACD
  216. multiplier = 1.05
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement