Advertisement
Guest User

Untitled

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