Bitcoin Forum
May 05, 2024, 11:58:47 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: [1] 2 3 4 5 »
1  Economy / Digital goods / Re: |_-_- | ELEVARA POLONIEX LENDING BOT |-_-_|[BitcoinTalk Member Vouched] {Python} on: March 18, 2017, 01:48:39 AM
Elevara Micro Trading System


Hi guys,

We are offering a chance to make some micro earnings with the possibility of additional trading profit shares from my Loan & margin trading platfom on poloniex

Rates

LTC - 0.2025% above 1.11161136 LTC - 2 Days
CLAM - 0.0191% above 0.06178380 CLAM - 2 Days
ETH - 0.0067% above 0.08567636 ETH - 2 Days
BTC - 0.0268% above 0.04102987 BTC - 2 Days

Like we say we want this to be a community project so your input is valuable to the process.

How it works

The bot places micro loans across the poloniex platform, Taking into account masses of market data it places percentile loans baces upon market trends
and as of the market's rate.

user deposits Amount = X ($5 Minimum / Maximum  $20)

Bot places loans and sets rates based upon the market data.
User receive a list of there loans rate & return time & date.


Exchange / Margin Trades

Code:
Date,Market,Category,Type,Price,Amount,Total,Fee,Order Number,Base Total Less Fee,Quote Total Less Fee
2017-01-11 17:12:33,CLAM/BTC,Settlement,Sell,0.00089625,0.00002231,0.00000001,0.25%,14651313041,0.00000001,-0.00002231
2017-01-11 17:12:33,ETH/BTC,Margin trade,Sell,0.01233902,0.01186554,0.00014640,0.25%,197324047579,0.00014604,-0.01186554
2017-01-11 17:05:52,ETH/BTC,Margin trade,Buy,0.01199999,0.01189527,0.00014274,0.25%,197318707924,-0.00014274,0.01186554
2017-01-10 04:41:02,ETH/BTC,Margin trade,Sell,0.01159373,0.13219705,0.00153265,0.25%,196066417468,0.00152882,-0.13219705
2017-01-10 02:21:10,ETH/BTC,Margin trade,Buy,0.01148907,0.13252838,0.00152262,0.25%,195972216763,-0.00152262,0.13219706
2017-01-10 02:17:17,BCN/BTC,Exchange,Sell,0.00000005,16625.00000000,0.00083125,0.25%,1077318610,0.00082918,-16625.00000000
2017-01-10 02:16:37,HZ/BTC,Exchange,Sell,0.00000022,4987.50000000,0.00109725,0.25%,1377114553,0.00109451,-4987.50000000
2017-01-09 15:31:21,ETH/BTC,Settlement,Buy,0.01191599,0.00250959,0.00002990,0.25%,195410569972,-0.00002990,0.00250332
2017-01-09 15:31:21,CLAM/BTC,Settlement,Sell,0.00092721,0.03233355,0.00002997,0.25%,14629330046,0.00002990,-0.03233355
2017-01-09 15:31:21,ETH/BTC,Margin trade,Buy,0.01191599,1.00000000,0.01191599,0.25%,195410566975,-0.01191599,0.99750000
2017-01-09 14:54:49,ETH/BTC,Margin trade,Sell,0.01197000,1.00000000,0.01197000,0.15%,195361339252,0.01195205,-1.00000000
2017-01-09 13:47:12,ETH/BTC,Settlement,Buy,0.01195000,0.03872966,0.00046281,0.25%,195327719905,-0.00046281,0.03863284
2017-01-09 13:47:12,CLAM/BTC,Settlement,Sell,0.00092609,0.45260179,0.00041914,0.25%,14628886490,0.00041810,-0.45260179
2017-01-09 13:47:12,ETH/BTC,Margin trade,Buy,0.01195000,0.98903670,0.01181898,0.25%,195327718906,-0.01181898,0.98656411
2017-01-09 13:46:14,ETH/BTC,Settlement,Buy,0.01193500,0.00000196,0.00000002,0.25%,195327181444,-0.00000002,0.00000196
2017-01-09 13:46:14,ETH/BTC,Margin trade,Buy,0.01193500,0.08377707,0.00099987,0.25%,195327179446,-0.00099987,0.08356763
2017-01-09 13:13:25,DOGE/BTC,Margin trade,Sell,0.00000024,3324.66750000,0.00079792,0.25%,5753222046,0.00079593,-3324.66750000
2017-01-09 12:18:06,XRP/BTC,Settlement,Buy,0.00000679,0.22312543,0.00000151,0.25%,22887486720,-0.00000151,0.22256762
2017-01-09 12:18:06,CLAM/BTC,Settlement,Sell,0.00093249,0.00163004,0.00000151,0.25%,14628590786,0.00000151,-0.00163004
2017-01-09 12:18:06,XRP/BTC,Margin trade,Buy,0.00000679,88.00000000,0.00059752,0.25%,22887484722,-0.00059752,87.78000000
2017-01-09 07:46:52,ETH/BTC,Margin trade,Sell,0.01163947,1.10874058,0.01290515,0.15%,194779833340,0.01288580,-1.10874058
2017-01-09 03:21:24,XRP/BTC,Margin trade,Sell,0.00000698,88.00000000,0.00061424,0.25%,22858054182,0.00061271,-88.00000000
2017-01-09 02:51:12,XRP/BTC,Exchange,Sell,0.00000703,28.52828111,0.00020055,0.25%,22856932305,0.00020005,-28.52828111
2017-01-09 02:47:20,ETH/BTC,Settlement,Buy,0.01161175,0.00000764,0.00000008,0.25%,194807436709,-0.00000008,0.00000763
2017-01-09 02:47:20,XRP/BTC,Settlement,Sell,0.00000705,0.01276595,0.00000008,0.25%,22856642595,0.00000008,-0.01276595
2017-01-09 02:47:20,XRP/BTC,Settlement,Sell,0.00000705,32.09929078,0.00022629,0.25%,22856641596,0.00022573,-32.09929078
2017-01-09 02:47:20,ETH/BTC,Margin trade,Sell,0.01161170,0.09750000,0.00113214,0.25%,194807435710,0.00112931,-0.09750000
2017-01-09 02:03:25,ETH/BTC,Margin trade,Buy,0.01159994,1.00000000,0.01159994,0.25%,194777415760,-0.01159994,0.99750000
2017-01-09 01:51:36,XRP/BTC,Margin trade,Sell,0.00000704,32.91750000,0.00023173,0.25%,22853581659,0.00023116,-32.91750000
2017-01-09 01:50:45,STR/BTC,Margin trade,Sell,0.00000261,500.16599788,0.00130543,0.25%,15315286472,0.00130217,-500.16599788
2017-01-09 01:50:45,STR/BTC,Margin trade,Sell,0.00000261,0.00000212,0.00000000,0.25%,15315286472,0.00000000,-0.00000212
2017-01-09 01:48:42,CLAM/BTC,Margin trade,Sell,0.00092242,2.99250000,0.00276034,0.25%,14622278105,0.00275344,-2.99250000
2017-01-09 00:12:04,QORA/BTC,Exchange,Sell,0.00000007,12468.75000000,0.00087281,0.25%,1051224802,0.00087063,-12468.75000000
2017-01-08 23:04:12,SYS/BTC,Exchange,Sell,0.00000909,182.47790399,0.00165872,0.15%,5946530609,0.00165624,-182.47790399
2017-01-08 23:03:44,SYS/BTC,Exchange,Sell,0.00000909,153.59560812,0.00139618,0.25%,5946530609,0.00139269,-153.59560812
2017-01-08 23:03:32,FLDC/BTC,Exchange,Sell,0.00000109,766.46788993,0.00083545,0.15%,1748635645,0.00083420,-766.46788993
2017-01-08 23:03:06,FLDC/BTC,Exchange,Sell,0.00000109,183.53211009,0.00020004,0.25%,1748635645,0.00019954,-183.53211009
2017-01-08 22:35:26,XRP/BTC,Margin trade,Buy,0.00000694,33.00000000,0.00022902,0.25%,22842602649,-0.00022902,32.91750000
2017-01-08 22:34:15,STR/BTC,Margin trade,Sell,0.00000258,55.00000000,0.00014190,0.25%,15311300462,0.00014155,-55.00000000
2017-01-08 21:08:13,ETH/BTC,Margin trade,Sell,0.01132101,0.90000000,0.01018890,0.15%,194529122302,0.01017362,-0.90000000
2017-01-08 21:02:58,STR/BTC,Margin trade,Buy,0.00000259,556.00000000,0.00144004,0.15%,15309330434,-0.00144004,555.16600000
2017-01-08 21:01:36,DOGE/BTC,Margin trade,Buy,0.00000025,3333.00000000,0.00083325,0.25%,5737960323,-0.00083325,3324.66750000
2017-01-08 20:32:13,CLAM/BTC,Margin trade,Buy,0.00091600,3.00000000,0.00274800,0.25%,14620105280,-0.00274800,2.99250000
2017-01-08 18:17:40,CLAM/BTC,Exchange,Buy,0.00091200,0.38621199,0.00035222,0.15%,14619265121,-0.00035222,0.38563268
2017-01-08 18:16:52,CLAM/BTC,Exchange,Buy,0.00091200,0.57984633,0.00052881,0.25%,14619265121,-0.00052881,0.57839672
2017-01-08 18:16:52,CLAM/BTC,Exchange,Buy,0.00091200,0.13043290,0.00011895,0.25%,14619265121,-0.00011895,0.13010682
2017-01-08 18:15:03,FLDC/BTC,Exchange,Buy,0.00000105,2.56364048,0.00000269,0.25%,1746644638,-0.00000269,2.55723138
2017-01-08 18:15:03,FLDC/BTC,Exchange,Buy,0.00000105,949.81731190,0.00099730,0.25%,1746644638,-0.00099730,947.44276863
2017-01-08 18:13:12,BCN/BTC,Exchange,Buy,0.00000006,16666.66666666,0.00099999,0.25%,1076234695,-0.00099999,16625.00000000
2017-01-08 18:09:05,QORA/BTC,Exchange,Buy,0.00000008,12500.00000000,0.00100000,0.25%,1050895132,-0.00100000,12468.75000000
2017-01-08 18:08:16,HZ/BTC,Exchange,Buy,0.00000020,5000.00000000,0.00100000,0.25%,1371883789,-0.00100000,4987.50000000
2017-01-08 14:43:36,NAV/BTC,Exchange,Sell,0.00004358,0.00018467,0.00000000,0.15%,12343520185,0.00000000,-0.00018467
2017-01-08 14:43:35,NAV/BTC,Exchange,Sell,0.00004358,20.51904970,0.00089422,0.15%,12343520185,0.00089288,-20.51904970
2017-01-08 14:38:50,BURST/BTC,Exchange,Sell,0.00000056,1495.44235512,0.00083744,0.15%,1815182016,0.00083619,-1495.44235512
2017-01-08 14:38:21,DOGE/BTC,Exchange,Sell,0.00000024,4419.74299195,0.00106073,0.25%,5723383914,0.00105808,-4419.74299195
2017-01-08 14:38:09,NAV/BTC,Exchange,Sell,0.00004358,29.35576563,0.00127932,0.15%,12343520185,0.00127741,-29.35576563
2017-01-08 14:35:50,BURST/BTC,Exchange,Sell,0.00000056,1497.05764488,0.00083835,0.25%,1815182016,0.00083626,-1497.05764488
2017-01-08 14:34:39,SC/BTC,Exchange,Sell,0.00000032,499.25000000,0.00015976,0.25%,3974295876,0.00015937,-499.25000000
2017-01-08 00:59:11,SYS/BTC,Exchange,Buy,0.00000867,286.91580161,0.00248755,0.25%,5933985167,-0.00248755,286.19851211
2017-01-08 00:56:18,BCN/BTC,Exchange,Sell,0.00000005,49875.00000000,0.00249375,0.25%,1075442488,0.00248752,-49875.00000000
2017-01-08 00:29:40,LTC/BTC,Exchange,Buy,0.00441480,1.11329542,0.00491497,0.25%,43342183481,-0.00491497,1.11051219
2017-01-08 00:28:01,DGB/BTC,Exchange,Sell,0.00000037,9975.00000000,0.00369075,0.25%,2895563563,0.00368153,-9975.00000000
2017-01-08 00:23:17,C2/BTC,Exchange,Sell,0.00000100,241.21127430,0.00024121,0.25%,1944200869,0.00024061,-241.21127430
2017-01-08 00:23:17,C2/BTC,Exchange,Sell,0.00000100,756.92000000,0.00075692,0.25%,1944200869,0.00075503,-756.92000000
2017-01-08 00:20:29,DASH/BTC,Exchange,Sell,0.01390025,0.01201130,0.00016696,0.25%,66234077646,0.00016655,-0.01201130
2017-01-07 22:45:14,C2/BTC,Exchange,Buy,0.00000102,451.41668522,0.00046044,0.15%,1943958112,-0.00046044,450.73956020
2017-01-07 22:43:48,C2/BTC,Exchange,Buy,0.00000102,179.85758975,0.00018345,0.15%,1943958112,-0.00018345,179.58780337
2017-01-07 22:29:42,C2/BTC,Exchange,Buy,0.00000102,183.43641597,0.00018710,0.25%,1943958112,-0.00018710,182.97782494
2017-01-07 22:29:42,C2/BTC,Exchange,Buy,0.00000102,185.28930906,0.00018899,0.25%,1943958112,-0.00018899,184.82608579
2017-01-07 22:28:56,BURST/BTC,Exchange,Buy,0.00000057,3000.00000000,0.00171000,0.25%,1812262938,-0.00171000,2992.50000000
2017-01-07 22:23:28,BCN/BTC,Exchange,Buy,0.00000006,50000.00000000,0.00300000,0.25%,1075354576,-0.00300000,49875.00000000
2017-01-07 18:27:20,DGB/BTC,Exchange,Buy,0.00000037,10000.00000000,0.00370000,0.25%,2891134996,-0.00370000,9975.00000000
2017-01-07 18:22:53,POT/BTC,Exchange,Sell,0.00001843,498.75000000,0.00919196,0.25%,6328538201,0.00916899,-498.75000000
2017-01-07 18:20:57,FLDC/BTC,Exchange,Sell,0.00000111,299.25000000,0.00033216,0.15%,1722808498,0.00033167,-299.25000000
2017-01-07 17:48:03,XRP/BTC,Exchange,Buy,0.00000702,60.79231863,0.00042676,0.25%,22732127235,-0.00042676,60.64033784
2017-01-07 17:46:54,FLDC/BTC,Exchange,Buy,0.00000101,119.10283066,0.00012029,0.25%,1722008299,-0.00012029,118.80507359
2017-01-07 17:46:54,FLDC/BTC,Exchange,Buy,0.00000101,180.89716934,0.00018270,0.25%,1722008299,-0.00018270,180.44492642
2017-01-07 17:42:17,SC/BTC,Exchange,Buy,0.00000028,500.00000000,0.00014000,0.15%,3950471724,-0.00014000,499.25000000
2017-01-07 15:19:46,SYS/BTC,Exchange,Buy,0.00000874,50.00000000,0.00043700,0.25%,5926875284,-0.00043700,49.87500000
2017-01-07 15:18:45,NAV/BTC,Exchange,Buy,0.00004319,50.00000000,0.00215950,0.25%,12259426363,-0.00215950,49.87500000
2017-01-07 15:16:24,POT/BTC,Exchange,Buy,0.00001790,500.00000000,0.00895000,0.25%,6320536211,-0.00895000,498.75000000
2017-01-07 15:15:39,DOGE/BTC,Exchange,Buy,0.00000025,5000.00000000,0.00125000,0.25%,5666190165,-0.00125000,4987.50000000
2017-01-07 15:11:54,DASH/BTC,Exchange,Sell,0.01370111,1.00000000,0.01370111,0.25%,66150750057,0.01366686,-1.00000000


Loans

Code:
Currency,Rate,Amount,Duration,Interest,Fee,Earned,Open,Close
CLAM,0.00017851,0.36454250,2.00037037,0.00013017,-0.00001952,0.00011065,2017-01-09 15:37:17,2017-01-11 15:37:49
CLAM,0.00019100,0.18124454,2.00037037,0.00006924,-0.00001038,0.00005886,2017-01-09 15:37:17,2017-01-11 15:37:49
LTC,0.00199600,1.11056603,0.55479166,0.00122980,-0.00018447,0.00104533,2017-01-10 20:44:25,2017-01-11 10:03:19
CLAM,0.00019100,0.06178380,1.34820601,0.00001591,-0.00000238,0.00001353,2017-01-09 15:37:21,2017-01-10 23:58:46
BTC,0.00026700,0.00000005,0.00275462,0.00000001,0.00000000,0.00000001,2017-01-10 20:44:06,2017-01-10 20:48:04
LTC,0.00006530,1.11051289,0.86199074,0.00006251,-0.00000937,0.00005314,2017-01-09 20:48:12,2017-01-10 17:29:28
BTC,0.00028869,0.00028672,0.09032407,0.00000001,0.00000000,0.00000001,2017-01-10 12:10:02,2017-01-10 14:20:06
BTC,0.00028869,0.00043199,0.09028935,0.00000002,0.00000000,0.00000002,2017-01-10 12:10:02,2017-01-10 14:20:03
BTC,0.00028869,0.00038157,0.09027777,0.00000001,0.00000000,0.00000001,2017-01-10 12:10:02,2017-01-10 14:20:02
BTC,0.00028100,0.00193938,0.00009259,0.00000001,0.00000000,0.00000001,2017-01-10 12:56:01,2017-01-10 12:56:09
BTC,0.00023900,0.00109999,1.28437500,0.00000034,-0.00000005,0.00000029,2017-01-09 02:27:15,2017-01-10 09:16:45
ETH,0.00006700,0.11408364,0.05315972,0.00000041,-0.00000006,0.00000035,2017-01-10 01:50:01,2017-01-10 03:06:34
BTC,0.00014399,0.00000953,0.06465277,0.00000001,0.00000000,0.00000001,2017-01-09 22:34:26,2017-01-10 00:07:32
BTC,0.00027289,0.00102983,0.12206018,0.00000004,0.00000000,0.00000004,2017-01-09 20:18:46,2017-01-09 23:14:32
BTC,0.00014399,0.00090305,0.00372685,0.00000001,0.00000000,0.00000001,2017-01-09 22:34:45,2017-01-09 22:40:07
BTC,0.00014399,0.00015863,0.00003472,0.00000001,0.00000000,0.00000001,2017-01-09 22:34:36,2017-01-09 22:34:39
BTC,0.00014399,0.00015863,0.00003472,0.00000001,0.00000000,0.00000001,2017-01-09 22:34:27,2017-01-09 22:34:30
BTC,0.00019500,0.00562402,0.70706018,0.00000078,-0.00000011,0.00000067,2017-01-09 05:12:57,2017-01-09 22:11:07
BTC,0.00023900,0.00116697,0.82216435,0.00000023,-0.00000003,0.00000020,2017-01-09 02:27:12,2017-01-09 22:11:07
BTC,0.00027800,0.00308954,0.01809027,0.00000002,0.00000000,0.00000002,2017-01-09 20:32:31,2017-01-09 20:58:34
LTC,0.00006540,1.11051219,0.01120370,0.00000082,-0.00000012,0.00000070,2017-01-09 20:31:37,2017-01-09 20:47:45
BTC,0.00027399,0.00102984,0.00049768,0.00000001,0.00000000,0.00000001,2017-01-09 20:31:45,2017-01-09 20:32:28
BTC,0.00027600,0.00205968,0.00046296,0.00000001,0.00000000,0.00000001,2017-01-09 20:31:48,2017-01-09 20:32:28
BTC,0.00026400,0.00132566,0.00813657,0.00000001,0.00000000,0.00000001,2017-01-09 20:19:45,2017-01-09 20:31:28
BTC,0.00026499,0.00132565,0.00813657,0.00000001,0.00000000,0.00000001,2017-01-09 20:19:45,2017-01-09 20:31:28
BTC,0.00026800,0.00019703,0.00069444,0.00000001,0.00000000,0.00000001,2017-01-09 20:19:07,2017-01-09 20:20:07
BTC,0.00026800,0.00019708,0.00068287,0.00000001,0.00000000,0.00000001,2017-01-09 20:19:08,2017-01-09 20:20:07
BTC,0.00026800,0.00004405,0.00067129,0.00000001,0.00000000,0.00000001,2017-01-09 20:19:09,2017-01-09 20:20:07
BTC,0.00020498,0.00136089,0.79104166,0.00000022,-0.00000003,0.00000019,2017-01-09 00:07:48,2017-01-09 19:06:54
BTC,0.00020598,0.00272177,0.79104166,0.00000045,-0.00000006,0.00000039,2017-01-09 00:07:48,2017-01-09 19:06:54
BTC,0.00019500,0.00562401,0.00033564,0.00000001,0.00000000,0.00000001,2017-01-09 05:12:24,2017-01-09 05:12:53
BTC,0.00023799,0.00512717,0.11516203,0.00000015,-0.00000002,0.00000013,2017-01-09 02:26:10,2017-01-09 05:12:00
BTC,0.00023900,0.00029663,0.04187500,0.00000001,0.00000000,0.00000001,2017-01-09 02:27:16,2017-01-09 03:27:34
BTC,0.00023900,0.00000001,0.00136574,0.00000001,0.00000000,0.00000001,2017-01-09 02:27:15,2017-01-09 02:29:13
BTC,0.00023900,0.00256359,0.00065972,0.00000001,0.00000000,0.00000001,2017-01-09 02:26:10,2017-01-09 02:27:07
BTC,0.00025499,0.00769075,0.00184027,0.00000001,0.00000000,0.00000001,2017-01-09 02:23:01,2017-01-09 02:25:40
BTC,0.00025400,0.00769074,0.00106481,0.00000001,0.00000000,0.00000001,2017-01-09 02:21:02,2017-01-09 02:22:34
BTC,0.00021100,0.00501019,0.02861111,0.00000004,0.00000000,0.00000004,2017-01-09 01:39:41,2017-01-09 02:20:53
BTC,0.00021199,0.00256356,0.02861111,0.00000002,0.00000000,0.00000002,2017-01-09 01:39:41,2017-01-09 02:20:53
BTC,0.00021100,0.00011692,0.00831018,0.00000001,0.00000000,0.00000001,2017-01-09 01:39:39,2017-01-09 01:51:37
BTC,0.00021300,0.00769066,0.00486111,0.00000001,0.00000000,0.00000001,2017-01-09 01:32:07,2017-01-09 01:39:07
BTC,0.00020699,0.00000002,0.02155092,0.00000001,0.00000000,0.00000001,2017-01-09 00:06:45,2017-01-09 00:37:47
BTC,0.00020699,0.00408265,0.00035879,0.00000001,0.00000000,0.00000001,2017-01-09 00:06:52,2017-01-09 00:07:23

The bot uses the following code to check the market data

Code:
def init(config, api1, data1):
    global currencies_to_analyse, open_files, max_age, update_interval, api, Data, lending_style
    currencies_to_analyse = config.get_currencies_list('analyseCurrencies')
    max_age = int(config.get('BOT', 'analyseMaxAge', 30, 1, 365))
    update_interval = int(config.get('BOT', 'analyseUpdateInterval', 60, 10, 3600))
    lending_style = int(config.get('BOT', 'lendingStyle', 50, 1, 99))
    api = api1
    Data = data1
    if len(currencies_to_analyse) != 0:
        for currency in currencies_to_analyse:

            try:
                api.api_query("returnLoanOrders", {'currency': currency, 'limit': '5'})
            except Exception as cur_ex:
                print "Error: You entered an incorrect currency: '" + currency + \
                      "' to analyse the market of, please check your settings. Error message: " + str(cur_ex)
                exit(1)

            else:
                path = "market_data/" + currency + "_market_data.csv"
                open_files[currency] = path

        thread = threading.Thread(target=update_market_loop)
        thread.deamon = True
        thread.start()


def update_market_loop():
    while True:
        update_markets()
        delete_old_data()
        time.sleep(update_interval)


def update_markets():
    for cur in open_files:
        with open(open_files[cur], 'a') as f:
            writer = csv.writer(f, lineterminator='\n')
            raw_data = api.return_loan_orders(cur, 5)['offers'][0]
            market_data = [Data.timestamp(), raw_data['rate']]
            writer.writerow(market_data)


def delete_old_data():
    for cur in open_files:
        with open(open_files[cur], 'rb') as file_a:
            new_a_buf = StringIO()
            writer = csv.writer(new_a_buf)
            reader2 = csv.reader(file_a)
            for row in reader2:
                if get_day_difference(row[0]) < max_age:
                    writer.writerow(row)

        # At this point, the contents (new_a_buf) exist in memory
        with open(open_files[cur], 'wb') as file_b:
            file_b.write(new_a_buf.getvalue())


def get_day_difference(date_time):  # Will be in format '%Y-%m-%d %H:%M:%S'
    date1 = datetime.datetime.strptime(date_time, '%Y-%m-%d %H:%M:%S')
    now = datetime.datetime.now()
    diff_days = (now - date1).days
    return diff_days


def get_rate_list(cur='all'):
    if cur == 'all':
        all_rates = {}
        for cur in open_files:
            with open(open_files[cur], 'r') as f:
                reader = csv.reader(f)
                rates = []
                for row in reader:
                    rates.append(row[1])
                rates = map(float, rates)
                all_rates[cur] = rates
        return all_rates

    else:
        if cur not in open_files:
            return []
        with open(open_files[cur], 'r') as f:
            reader = csv.reader(f)
            rates = []
            for row in reader:
                rates.append(row[1])
            rates = map(float, rates)
        return rates


def get_rate_suggestion(cur, percentile=lending_style):
    if cur not in open_files:
        return 0
    rates = get_rate_list(cur)
    if use_numpy:
        result = numpy.percentile(rates, int(percentile), interpolation='linear')
    else:
        rates.sort()
        index = int(percentile * len(rates))
        result = rates[index]
    result = float(int(result * 1000000) / 1000000.0)
    return result



To try out the service PM us on the forum or leave a comment,


Thanks


RootCoin
Elevara Dev.


2  Economy / Digital goods / Re: _-_-POLONIEX LENDING BOT-_-_ on: March 18, 2017, 01:46:34 AM
I am interested in testing your bot. If your willing to send me a vouch copy I will test it and leave my feedback as well as some trust feedback for you. My contact info is listed in my profile

Thanks for the review
3  Economy / Digital goods / Re: _-_-POLONIEX LENDING BOT-_-_ on: March 18, 2017, 01:44:25 AM
Can you post screenshots of the bot in action? I'm interested but I'd like to see more.

They are posted thanks.,
4  Economy / Digital goods / Re: |_-_- | ELEVARA POLONIEX LENDING BOT |-_-_|[BitcoinTalk Member Vouched] {Python} on: March 18, 2017, 01:43:11 AM
ok, I see I can buy the lending bot for $5. That's cool, I found the link.

Is there a way to buy the trading bot yet?

You can buy it direct from me here on the forum. Just send me a PM.

Thanks

RootCoin

ok, I'll try the lending bot first. If it's not beyond my ability to use, I'll contact you about the trading bot. Thx

How did you get on with the bot?
lending bot works great. It has been placing many small loans non-stop on Poloniex. I can't imagin lending money on Poloniex without it.

I also set it up to transfer money from the exchange over to lending automatically, so it's doing that also. I deposited some Bitcoin then when enough confirmations went through it started lending it automatically.

The other day I configured the bot to stop lending Bitcoin, so I could transfer some back to the exchange and buy a little bit of MAID. I did that, then reconfigured the bot to start lending everything then, and it did it.

I was a little concerned that some of the loans were 60 day, as that seemed like a long time, so I reconfigured the bot to loan a maximum of 6 days. But the daily rates on a 60 day loan can be a lot higher, so I changed it back, and even though it sometimes makes 60 day loans they seem to get paid back in a few days anyway.

I need to look at the lending page more, to figure out maybe some other coins to start lending. It's difficult to wait for a coin to cycle back down in price to acquire it. I figure I'll just eventually build up a lending stash of different coins to take advantage of when people want to sell them short.

For usage, I run it in a screen session on a VPS server. Then a friend wanted me to run it on his account, so I created a second directory with a different configuration file, started a second screen session, and are now running two lending bot sessions with one VPS on two different screen sessions.

Thanks for making this bot available at such a reasonable price!


There is a new update available
5  Economy / Trading Discussion / Re: did you place all your funds into bitcoin? on: March 18, 2017, 01:40:02 AM
For someone to say I think I am going to put all my money into bitcoin is almost like walking into a bookmakers for the first time lookng at the board of horses runing seeiing I'm a donkey running in the next race at 50/1 shot and chucking all your coin at it... if it pays off yay quids in.. if it stumbles and falls then what...

my advice.. yes buy bitcoin.. but don't go crazy. only invest what your happy to lose.
6  Economy / Trading Discussion / Re: How is trading *not* gambling? on: March 18, 2017, 01:35:19 AM
It's not how much money you make, but how much money you keep, how hard it works for you, and how many generations you keep it for

If you're a millionaire by the time you're 30, but blow it all by age 40, you've gained nothing. Grow and protect your investment portfolio by carefully diversifying it, and you may find yourself funding many generations to come.
7  Economy / Services / Custom Web Design on: February 12, 2017, 12:44:08 AM
Marketplace / Store Scrips

We offer a professional designers and developers specialize in web based applications stores, marketplaces
programming skills
(C/C++, C#, JAVA, PHP, Python, HTML5, CSS, JAVASCRIPT, ASP.NET, Linux, SQL and Bitcoin Development

We offer our clients a full service package from start to finish, including:

•   Designing and developing your website (Marketplaces, Forums, Portals and etc.)
•   Installing market server on a VPS, Dedicated server or Clustered Servers based on your needs.
•   Configuring and Hardening Web Server to maximize your security and anonymity.
•   30 Days free support and bug fixing.

We accept Bitcoins and dash

Price dependent on project please consult with us for a valuation and breakdown of cost for your project.

--Store Scripts Ready To Deploy Store Solutions--

We also have store scripts for sale ready to use and full customization from the admin panels,

Prices are from $100 to $300

Contact :BitDeveloper@protonmail.com

Or send a message via the PM.








8  Economy / Digital goods / Re: |_-_- | ELEVARA POLONIEX LENDING BOT |-_-_|[BitcoinTalk Member Vouched] {Python} on: January 29, 2017, 12:03:17 AM
Isn't that lending bot for free in github?



No its not for free.

There are many lending bots there on github. Trust them? I would not. You need to trust the source when messing with API keys.

This scammer just gave an ultimate proof what he is all about - lies, bullshit and scams. Of course the lending bot on github https://github.com/Mikadily/poloniexlendingbot is incomparably better, has a team of developers and is well documented, but most of all there is no "messing with API keys" whatsoever and there is absolutely no need to "trust the source". Such a blatant lie, in fact totally nonsensical, can be only said knowingly, intentionally and willfully by a pure scammer. Or a real retard. Or both.

First off You add API keys to that bot too that you have posted.  So you are talking utter guff my friend!

2. Its got additional modules compared to the mikadily bot..  Your welcome to check I also offer full support for setting up and building custom config files for my bot? Do mikadily do this? I think not....

3. all my customers have had nothing bad to say about my product in fact every single one has come back to me at some point to say how well my bot works.

4. How can it be incomparably better I offer full support and help setting up I also offer documentation on my bot too so I can't see where your getting your fact's from but they are very very wrong....

5. Before you trash my topic you should have a look at my bot before trying to post others work here they are totally different also throwing that nasty word scam lies and bullshit.. the only bullshit here my friend is the bullshit flying out your mouth and keyboard, May i suggest you grab a piece of toilet paper and wipe your mouth and keyboard and check your attitude before posting a reply...

6. My product is vouched by the bitcoin talk community..  You have no reputation what so ever.. apart from the negative I've left for your outburst.

9  Economy / Digital goods / Re: |_-_- | ELEVARA POLONIEX LENDING BOT |-_-_|[BitcoinTalk Member Vouched] {Python} on: January 28, 2017, 11:44:18 PM
Isn't that lending bot for free in github?



No its not for free.

There are many lending bots there on github. Trust them? I would not. You need to trust the source when messing with API keys.

This bot has custom code for the lending platfom on poloniex currently working on additional versions for other platforms.

Let me know if your interested.

Thanks

RootCoin
10  Economy / Exchanges / Re: Bitcoin debit card on: January 28, 2017, 10:54:55 PM
Why is UK ATM limited to only £160 per transaction?
11  Economy / Securities / Re: Any Safe 1.5% Monthly? on: January 28, 2017, 10:51:53 PM
I don't offer high returns like that as I do micro trading and lending on poloniex,  I have a lending bot written that you could use and make profit yourself or use my own service if your interested links are below.

lending bot
https://bitcointalk.org/index.php?topic=1744380.0

Trading / Lending Service
https://bitcointalk.org/index.php?topic=1766080.0

Let me know if your interested on the lending bot you could make back a decent amount depending on what your planning to loan out on the platform and length of loan and rates.

Thanks

Rootcoin
12  Economy / Securities / Elevara Trading/Lending services on: January 27, 2017, 01:11:52 AM
Elevara Micro Loan Trading


Hi guys,

We are offering a chance to make some micro earnings with the possibility of additional trading profit shares from my Loan & margin trading platform over at poloniex

We can only take on a limited number of participants to begin with but we are looking into a way to expand the idea with help from the community or to help those who do not understand the day trading or lending markets at poloniex but would like to partake in some earnings with us.

As some of you might of seen we have a lending bot running from the forum see link below with a good reputation from the community a number of members are laving fantastic success using this platform to create loans or use the trading bot,

https://bitcointalk.org/index.php?topic=1744380.0
Here is the system we use to generate the loans across the poloniex platform.

Rates

LTC - 0.2025% above 1.11161136 LTC - 2 Days
CLAM - 0.0191% above 0.05178380 CLAM - 2 Days
ETH - 0.0067% above 0.08567636 ETH - 2 Days
BTC - 0.0268% above 0.00102987 BTC - 2 Days

We also offer 60 day terms but we feel its better to have multiple smaller loans on shorter periods.

Like we say we want this to be a community project so your input is valuable to the process.

How it works

The bot places micro loans across the poloniex platform, Taking into account masses of market data it places percentile loans based upon market trends
and as of the market's rate.

user deposits Amount = X ($5 Minimum / Maximum  $100)

Duration - 2 Days to 60 Days

Bot places loans and sets rates based upon the market data.
User receive a list of there loans rate & return time & dates.


Exchange / Margin Trades

Code:
Date,Market,Category,Type,Price,Amount,Total,Fee,Order Number,Base Total Less Fee,Quote Total Less Fee
2017-01-11 17:12:33,CLAM/BTC,Settlement,Sell,0.00089625,0.00002231,0.00000001,0.25%,14651313041,0.00000001,-0.00002231
2017-01-11 17:12:33,ETH/BTC,Margin trade,Sell,0.01233902,0.01186554,0.00014640,0.25%,197324047579,0.00014604,-0.01186554
2017-01-11 17:05:52,ETH/BTC,Margin trade,Buy,0.01199999,0.01189527,0.00014274,0.25%,197318707924,-0.00014274,0.01186554
2017-01-10 04:41:02,ETH/BTC,Margin trade,Sell,0.01159373,0.13219705,0.00153265,0.25%,196066417468,0.00152882,-0.13219705
2017-01-10 02:21:10,ETH/BTC,Margin trade,Buy,0.01148907,0.13252838,0.00152262,0.25%,195972216763,-0.00152262,0.13219706
2017-01-10 02:17:17,BCN/BTC,Exchange,Sell,0.00000005,16625.00000000,0.00083125,0.25%,1077318610,0.00082918,-16625.00000000
2017-01-10 02:16:37,HZ/BTC,Exchange,Sell,0.00000022,4987.50000000,0.00109725,0.25%,1377114553,0.00109451,-4987.50000000
2017-01-09 15:31:21,ETH/BTC,Settlement,Buy,0.01191599,0.00250959,0.00002990,0.25%,195410569972,-0.00002990,0.00250332
2017-01-09 15:31:21,CLAM/BTC,Settlement,Sell,0.00092721,0.03233355,0.00002997,0.25%,14629330046,0.00002990,-0.03233355
2017-01-09 15:31:21,ETH/BTC,Margin trade,Buy,0.01191599,1.00000000,0.01191599,0.25%,195410566975,-0.01191599,0.99750000
2017-01-09 14:54:49,ETH/BTC,Margin trade,Sell,0.01197000,1.00000000,0.01197000,0.15%,195361339252,0.01195205,-1.00000000
2017-01-09 13:47:12,ETH/BTC,Settlement,Buy,0.01195000,0.03872966,0.00046281,0.25%,195327719905,-0.00046281,0.03863284
2017-01-09 13:47:12,CLAM/BTC,Settlement,Sell,0.00092609,0.45260179,0.00041914,0.25%,14628886490,0.00041810,-0.45260179
2017-01-09 13:47:12,ETH/BTC,Margin trade,Buy,0.01195000,0.98903670,0.01181898,0.25%,195327718906,-0.01181898,0.98656411
2017-01-09 13:46:14,ETH/BTC,Settlement,Buy,0.01193500,0.00000196,0.00000002,0.25%,195327181444,-0.00000002,0.00000196
2017-01-09 13:46:14,ETH/BTC,Margin trade,Buy,0.01193500,0.08377707,0.00099987,0.25%,195327179446,-0.00099987,0.08356763
2017-01-09 13:13:25,DOGE/BTC,Margin trade,Sell,0.00000024,3324.66750000,0.00079792,0.25%,5753222046,0.00079593,-3324.66750000
2017-01-09 12:18:06,XRP/BTC,Settlement,Buy,0.00000679,0.22312543,0.00000151,0.25%,22887486720,-0.00000151,0.22256762
2017-01-09 12:18:06,CLAM/BTC,Settlement,Sell,0.00093249,0.00163004,0.00000151,0.25%,14628590786,0.00000151,-0.00163004
2017-01-09 12:18:06,XRP/BTC,Margin trade,Buy,0.00000679,88.00000000,0.00059752,0.25%,22887484722,-0.00059752,87.78000000
2017-01-09 07:46:52,ETH/BTC,Margin trade,Sell,0.01163947,1.10874058,0.01290515,0.15%,194779833340,0.01288580,-1.10874058
2017-01-09 03:21:24,XRP/BTC,Margin trade,Sell,0.00000698,88.00000000,0.00061424,0.25%,22858054182,0.00061271,-88.00000000
2017-01-09 02:51:12,XRP/BTC,Exchange,Sell,0.00000703,28.52828111,0.00020055,0.25%,22856932305,0.00020005,-28.52828111
2017-01-09 02:47:20,ETH/BTC,Settlement,Buy,0.01161175,0.00000764,0.00000008,0.25%,194807436709,-0.00000008,0.00000763
2017-01-09 02:47:20,XRP/BTC,Settlement,Sell,0.00000705,0.01276595,0.00000008,0.25%,22856642595,0.00000008,-0.01276595
2017-01-09 02:47:20,XRP/BTC,Settlement,Sell,0.00000705,32.09929078,0.00022629,0.25%,22856641596,0.00022573,-32.09929078
2017-01-09 02:47:20,ETH/BTC,Margin trade,Sell,0.01161170,0.09750000,0.00113214,0.25%,194807435710,0.00112931,-0.09750000
2017-01-09 02:03:25,ETH/BTC,Margin trade,Buy,0.01159994,1.00000000,0.01159994,0.25%,194777415760,-0.01159994,0.99750000
2017-01-09 01:51:36,XRP/BTC,Margin trade,Sell,0.00000704,32.91750000,0.00023173,0.25%,22853581659,0.00023116,-32.91750000
2017-01-09 01:50:45,STR/BTC,Margin trade,Sell,0.00000261,500.16599788,0.00130543,0.25%,15315286472,0.00130217,-500.16599788
2017-01-09 01:50:45,STR/BTC,Margin trade,Sell,0.00000261,0.00000212,0.00000000,0.25%,15315286472,0.00000000,-0.00000212
2017-01-09 01:48:42,CLAM/BTC,Margin trade,Sell,0.00092242,2.99250000,0.00276034,0.25%,14622278105,0.00275344,-2.99250000
2017-01-09 00:12:04,QORA/BTC,Exchange,Sell,0.00000007,12468.75000000,0.00087281,0.25%,1051224802,0.00087063,-12468.75000000
2017-01-08 23:04:12,SYS/BTC,Exchange,Sell,0.00000909,182.47790399,0.00165872,0.15%,5946530609,0.00165624,-182.47790399
2017-01-08 23:03:44,SYS/BTC,Exchange,Sell,0.00000909,153.59560812,0.00139618,0.25%,5946530609,0.00139269,-153.59560812
2017-01-08 23:03:32,FLDC/BTC,Exchange,Sell,0.00000109,766.46788993,0.00083545,0.15%,1748635645,0.00083420,-766.46788993
2017-01-08 23:03:06,FLDC/BTC,Exchange,Sell,0.00000109,183.53211009,0.00020004,0.25%,1748635645,0.00019954,-183.53211009
2017-01-08 22:35:26,XRP/BTC,Margin trade,Buy,0.00000694,33.00000000,0.00022902,0.25%,22842602649,-0.00022902,32.91750000
2017-01-08 22:34:15,STR/BTC,Margin trade,Sell,0.00000258,55.00000000,0.00014190,0.25%,15311300462,0.00014155,-55.00000000
2017-01-08 21:08:13,ETH/BTC,Margin trade,Sell,0.01132101,0.90000000,0.01018890,0.15%,194529122302,0.01017362,-0.90000000
2017-01-08 21:02:58,STR/BTC,Margin trade,Buy,0.00000259,556.00000000,0.00144004,0.15%,15309330434,-0.00144004,555.16600000
2017-01-08 21:01:36,DOGE/BTC,Margin trade,Buy,0.00000025,3333.00000000,0.00083325,0.25%,5737960323,-0.00083325,3324.66750000
2017-01-08 20:32:13,CLAM/BTC,Margin trade,Buy,0.00091600,3.00000000,0.00274800,0.25%,14620105280,-0.00274800,2.99250000
2017-01-08 18:17:40,CLAM/BTC,Exchange,Buy,0.00091200,0.38621199,0.00035222,0.15%,14619265121,-0.00035222,0.38563268
2017-01-08 18:16:52,CLAM/BTC,Exchange,Buy,0.00091200,0.57984633,0.00052881,0.25%,14619265121,-0.00052881,0.57839672
2017-01-08 18:16:52,CLAM/BTC,Exchange,Buy,0.00091200,0.13043290,0.00011895,0.25%,14619265121,-0.00011895,0.13010682
2017-01-08 18:15:03,FLDC/BTC,Exchange,Buy,0.00000105,2.56364048,0.00000269,0.25%,1746644638,-0.00000269,2.55723138
2017-01-08 18:15:03,FLDC/BTC,Exchange,Buy,0.00000105,949.81731190,0.00099730,0.25%,1746644638,-0.00099730,947.44276863
2017-01-08 18:13:12,BCN/BTC,Exchange,Buy,0.00000006,16666.66666666,0.00099999,0.25%,1076234695,-0.00099999,16625.00000000
2017-01-08 18:09:05,QORA/BTC,Exchange,Buy,0.00000008,12500.00000000,0.00100000,0.25%,1050895132,-0.00100000,12468.75000000
2017-01-08 18:08:16,HZ/BTC,Exchange,Buy,0.00000020,5000.00000000,0.00100000,0.25%,1371883789,-0.00100000,4987.50000000
2017-01-08 14:43:36,NAV/BTC,Exchange,Sell,0.00004358,0.00018467,0.00000000,0.15%,12343520185,0.00000000,-0.00018467
2017-01-08 14:43:35,NAV/BTC,Exchange,Sell,0.00004358,20.51904970,0.00089422,0.15%,12343520185,0.00089288,-20.51904970
2017-01-08 14:38:50,BURST/BTC,Exchange,Sell,0.00000056,1495.44235512,0.00083744,0.15%,1815182016,0.00083619,-1495.44235512
2017-01-08 14:38:21,DOGE/BTC,Exchange,Sell,0.00000024,4419.74299195,0.00106073,0.25%,5723383914,0.00105808,-4419.74299195
2017-01-08 14:38:09,NAV/BTC,Exchange,Sell,0.00004358,29.35576563,0.00127932,0.15%,12343520185,0.00127741,-29.35576563
2017-01-08 14:35:50,BURST/BTC,Exchange,Sell,0.00000056,1497.05764488,0.00083835,0.25%,1815182016,0.00083626,-1497.05764488
2017-01-08 14:34:39,SC/BTC,Exchange,Sell,0.00000032,499.25000000,0.00015976,0.25%,3974295876,0.00015937,-499.25000000
2017-01-08 00:59:11,SYS/BTC,Exchange,Buy,0.00000867,286.91580161,0.00248755,0.25%,5933985167,-0.00248755,286.19851211
2017-01-08 00:56:18,BCN/BTC,Exchange,Sell,0.00000005,49875.00000000,0.00249375,0.25%,1075442488,0.00248752,-49875.00000000
2017-01-08 00:29:40,LTC/BTC,Exchange,Buy,0.00441480,1.11329542,0.00491497,0.25%,43342183481,-0.00491497,1.11051219
2017-01-08 00:28:01,DGB/BTC,Exchange,Sell,0.00000037,9975.00000000,0.00369075,0.25%,2895563563,0.00368153,-9975.00000000
2017-01-08 00:23:17,C2/BTC,Exchange,Sell,0.00000100,241.21127430,0.00024121,0.25%,1944200869,0.00024061,-241.21127430
2017-01-08 00:23:17,C2/BTC,Exchange,Sell,0.00000100,756.92000000,0.00075692,0.25%,1944200869,0.00075503,-756.92000000
2017-01-08 00:20:29,DASH/BTC,Exchange,Sell,0.01390025,0.01201130,0.00016696,0.25%,66234077646,0.00016655,-0.01201130
2017-01-07 22:45:14,C2/BTC,Exchange,Buy,0.00000102,451.41668522,0.00046044,0.15%,1943958112,-0.00046044,450.73956020
2017-01-07 22:43:48,C2/BTC,Exchange,Buy,0.00000102,179.85758975,0.00018345,0.15%,1943958112,-0.00018345,179.58780337
2017-01-07 22:29:42,C2/BTC,Exchange,Buy,0.00000102,183.43641597,0.00018710,0.25%,1943958112,-0.00018710,182.97782494
2017-01-07 22:29:42,C2/BTC,Exchange,Buy,0.00000102,185.28930906,0.00018899,0.25%,1943958112,-0.00018899,184.82608579
2017-01-07 22:28:56,BURST/BTC,Exchange,Buy,0.00000057,3000.00000000,0.00171000,0.25%,1812262938,-0.00171000,2992.50000000
2017-01-07 22:23:28,BCN/BTC,Exchange,Buy,0.00000006,50000.00000000,0.00300000,0.25%,1075354576,-0.00300000,49875.00000000
2017-01-07 18:27:20,DGB/BTC,Exchange,Buy,0.00000037,10000.00000000,0.00370000,0.25%,2891134996,-0.00370000,9975.00000000
2017-01-07 18:22:53,POT/BTC,Exchange,Sell,0.00001843,498.75000000,0.00919196,0.25%,6328538201,0.00916899,-498.75000000
2017-01-07 18:20:57,FLDC/BTC,Exchange,Sell,0.00000111,299.25000000,0.00033216,0.15%,1722808498,0.00033167,-299.25000000
2017-01-07 17:48:03,XRP/BTC,Exchange,Buy,0.00000702,60.79231863,0.00042676,0.25%,22732127235,-0.00042676,60.64033784
2017-01-07 17:46:54,FLDC/BTC,Exchange,Buy,0.00000101,119.10283066,0.00012029,0.25%,1722008299,-0.00012029,118.80507359
2017-01-07 17:46:54,FLDC/BTC,Exchange,Buy,0.00000101,180.89716934,0.00018270,0.25%,1722008299,-0.00018270,180.44492642
2017-01-07 17:42:17,SC/BTC,Exchange,Buy,0.00000028,500.00000000,0.00014000,0.15%,3950471724,-0.00014000,499.25000000
2017-01-07 15:19:46,SYS/BTC,Exchange,Buy,0.00000874,50.00000000,0.00043700,0.25%,5926875284,-0.00043700,49.87500000
2017-01-07 15:18:45,NAV/BTC,Exchange,Buy,0.00004319,50.00000000,0.00215950,0.25%,12259426363,-0.00215950,49.87500000
2017-01-07 15:16:24,POT/BTC,Exchange,Buy,0.00001790,500.00000000,0.00895000,0.25%,6320536211,-0.00895000,498.75000000
2017-01-07 15:15:39,DOGE/BTC,Exchange,Buy,0.00000025,5000.00000000,0.00125000,0.25%,5666190165,-0.00125000,4987.50000000
2017-01-07 15:11:54,DASH/BTC,Exchange,Sell,0.01370111,1.00000000,0.01370111,0.25%,66150750057,0.01366686,-1.00000000


Loans

Code:
Currency,Rate,Amount,Duration,Interest,Fee,Earned,Open,Close
CLAM,0.00017851,0.36454250,2.00037037,0.00013017,-0.00001952,0.00011065,2017-01-09 15:37:17,2017-01-11 15:37:49
CLAM,0.00019100,0.18124454,2.00037037,0.00006924,-0.00001038,0.00005886,2017-01-09 15:37:17,2017-01-11 15:37:49
LTC,0.00199600,1.11056603,0.55479166,0.00122980,-0.00018447,0.00104533,2017-01-10 20:44:25,2017-01-11 10:03:19
CLAM,0.00019100,0.06178380,1.34820601,0.00001591,-0.00000238,0.00001353,2017-01-09 15:37:21,2017-01-10 23:58:46
BTC,0.00026700,0.00000005,0.00275462,0.00000001,0.00000000,0.00000001,2017-01-10 20:44:06,2017-01-10 20:48:04
LTC,0.00006530,1.11051289,0.86199074,0.00006251,-0.00000937,0.00005314,2017-01-09 20:48:12,2017-01-10 17:29:28
BTC,0.00028869,0.00028672,0.09032407,0.00000001,0.00000000,0.00000001,2017-01-10 12:10:02,2017-01-10 14:20:06
BTC,0.00028869,0.00043199,0.09028935,0.00000002,0.00000000,0.00000002,2017-01-10 12:10:02,2017-01-10 14:20:03
BTC,0.00028869,0.00038157,0.09027777,0.00000001,0.00000000,0.00000001,2017-01-10 12:10:02,2017-01-10 14:20:02
BTC,0.00028100,0.00193938,0.00009259,0.00000001,0.00000000,0.00000001,2017-01-10 12:56:01,2017-01-10 12:56:09
BTC,0.00023900,0.00109999,1.28437500,0.00000034,-0.00000005,0.00000029,2017-01-09 02:27:15,2017-01-10 09:16:45
ETH,0.00006700,0.11408364,0.05315972,0.00000041,-0.00000006,0.00000035,2017-01-10 01:50:01,2017-01-10 03:06:34
BTC,0.00014399,0.00000953,0.06465277,0.00000001,0.00000000,0.00000001,2017-01-09 22:34:26,2017-01-10 00:07:32
BTC,0.00027289,0.00102983,0.12206018,0.00000004,0.00000000,0.00000004,2017-01-09 20:18:46,2017-01-09 23:14:32
BTC,0.00014399,0.00090305,0.00372685,0.00000001,0.00000000,0.00000001,2017-01-09 22:34:45,2017-01-09 22:40:07
BTC,0.00014399,0.00015863,0.00003472,0.00000001,0.00000000,0.00000001,2017-01-09 22:34:36,2017-01-09 22:34:39
BTC,0.00014399,0.00015863,0.00003472,0.00000001,0.00000000,0.00000001,2017-01-09 22:34:27,2017-01-09 22:34:30
BTC,0.00019500,0.00562402,0.70706018,0.00000078,-0.00000011,0.00000067,2017-01-09 05:12:57,2017-01-09 22:11:07
BTC,0.00023900,0.00116697,0.82216435,0.00000023,-0.00000003,0.00000020,2017-01-09 02:27:12,2017-01-09 22:11:07
BTC,0.00027800,0.00308954,0.01809027,0.00000002,0.00000000,0.00000002,2017-01-09 20:32:31,2017-01-09 20:58:34
LTC,0.00006540,1.11051219,0.01120370,0.00000082,-0.00000012,0.00000070,2017-01-09 20:31:37,2017-01-09 20:47:45
BTC,0.00027399,0.00102984,0.00049768,0.00000001,0.00000000,0.00000001,2017-01-09 20:31:45,2017-01-09 20:32:28
BTC,0.00027600,0.00205968,0.00046296,0.00000001,0.00000000,0.00000001,2017-01-09 20:31:48,2017-01-09 20:32:28
BTC,0.00026400,0.00132566,0.00813657,0.00000001,0.00000000,0.00000001,2017-01-09 20:19:45,2017-01-09 20:31:28
BTC,0.00026499,0.00132565,0.00813657,0.00000001,0.00000000,0.00000001,2017-01-09 20:19:45,2017-01-09 20:31:28
BTC,0.00026800,0.00019703,0.00069444,0.00000001,0.00000000,0.00000001,2017-01-09 20:19:07,2017-01-09 20:20:07
BTC,0.00026800,0.00019708,0.00068287,0.00000001,0.00000000,0.00000001,2017-01-09 20:19:08,2017-01-09 20:20:07
BTC,0.00026800,0.00004405,0.00067129,0.00000001,0.00000000,0.00000001,2017-01-09 20:19:09,2017-01-09 20:20:07
BTC,0.00020498,0.00136089,0.79104166,0.00000022,-0.00000003,0.00000019,2017-01-09 00:07:48,2017-01-09 19:06:54
BTC,0.00020598,0.00272177,0.79104166,0.00000045,-0.00000006,0.00000039,2017-01-09 00:07:48,2017-01-09 19:06:54
BTC,0.00019500,0.00562401,0.00033564,0.00000001,0.00000000,0.00000001,2017-01-09 05:12:24,2017-01-09 05:12:53
BTC,0.00023799,0.00512717,0.11516203,0.00000015,-0.00000002,0.00000013,2017-01-09 02:26:10,2017-01-09 05:12:00
BTC,0.00023900,0.00029663,0.04187500,0.00000001,0.00000000,0.00000001,2017-01-09 02:27:16,2017-01-09 03:27:34
BTC,0.00023900,0.00000001,0.00136574,0.00000001,0.00000000,0.00000001,2017-01-09 02:27:15,2017-01-09 02:29:13
BTC,0.00023900,0.00256359,0.00065972,0.00000001,0.00000000,0.00000001,2017-01-09 02:26:10,2017-01-09 02:27:07
BTC,0.00025499,0.00769075,0.00184027,0.00000001,0.00000000,0.00000001,2017-01-09 02:23:01,2017-01-09 02:25:40
BTC,0.00025400,0.00769074,0.00106481,0.00000001,0.00000000,0.00000001,2017-01-09 02:21:02,2017-01-09 02:22:34
BTC,0.00021100,0.00501019,0.02861111,0.00000004,0.00000000,0.00000004,2017-01-09 01:39:41,2017-01-09 02:20:53
BTC,0.00021199,0.00256356,0.02861111,0.00000002,0.00000000,0.00000002,2017-01-09 01:39:41,2017-01-09 02:20:53
BTC,0.00021100,0.00011692,0.00831018,0.00000001,0.00000000,0.00000001,2017-01-09 01:39:39,2017-01-09 01:51:37
BTC,0.00021300,0.00769066,0.00486111,0.00000001,0.00000000,0.00000001,2017-01-09 01:32:07,2017-01-09 01:39:07
BTC,0.00020699,0.00000002,0.02155092,0.00000001,0.00000000,0.00000001,2017-01-09 00:06:45,2017-01-09 00:37:47
BTC,0.00020699,0.00408265,0.00035879,0.00000001,0.00000000,0.00000001,2017-01-09 00:06:52,2017-01-09 00:07:23

The bot uses the following code to check the market data


Code:
def init(config, api1, data1):
    global currencies_to_analyse, open_files, max_age, update_interval, api, Data, lending_style
    currencies_to_analyse = config.get_currencies_list('analyseCurrencies')
    max_age = int(config.get('BOT', 'analyseMaxAge', 30, 1, 365))
    update_interval = int(config.get('BOT', 'analyseUpdateInterval', 60, 10, 3600))
    lending_style = int(config.get('BOT', 'lendingStyle', 50, 1, 99))
    api = api1
    Data = data1
    if len(currencies_to_analyse) != 0:
        for currency in currencies_to_analyse:

            try:
                api.api_query("returnLoanOrders", {'currency': currency, 'limit': '5'})
            except Exception as cur_ex:
                print "Error: You entered an incorrect currency: '" + currency + \
                      "' to analyse the market of, please check your settings. Error message: " + str(cur_ex)
                exit(1)

            else:
                path = "market_data/" + currency + "_market_data.csv"
                open_files[currency] = path

        thread = threading.Thread(target=update_market_loop)
        thread.deamon = True
        thread.start()


def update_market_loop():
    while True:
        update_markets()
        delete_old_data()
        time.sleep(update_interval)


def update_markets():
    for cur in open_files:
        with open(open_files[cur], 'a') as f:
            writer = csv.writer(f, lineterminator='\n')
            raw_data = api.return_loan_orders(cur, 5)['offers'][0]
            market_data = [Data.timestamp(), raw_data['rate']]
            writer.writerow(market_data)


def delete_old_data():
    for cur in open_files:
        with open(open_files[cur], 'rb') as file_a:
            new_a_buf = StringIO()
            writer = csv.writer(new_a_buf)
            reader2 = csv.reader(file_a)
            for row in reader2:
                if get_day_difference(row[0]) < max_age:
                    writer.writerow(row)

        # At this point, the contents (new_a_buf) exist in memory
        with open(open_files[cur], 'wb') as file_b:
            file_b.write(new_a_buf.getvalue())


def get_day_difference(date_time):  # Will be in format '%Y-%m-%d %H:%M:%S'
    date1 = datetime.datetime.strptime(date_time, '%Y-%m-%d %H:%M:%S')
    now = datetime.datetime.now()
    diff_days = (now - date1).days
    return diff_days


def get_rate_list(cur='all'):
    if cur == 'all':
        all_rates = {}
        for cur in open_files:
            with open(open_files[cur], 'r') as f:
                reader = csv.reader(f)
                rates = []
                for row in reader:
                    rates.append(row[1])
                rates = map(float, rates)
                all_rates[cur] = rates
        return all_rates

    else:
        if cur not in open_files:
            return []
        with open(open_files[cur], 'r') as f:
            reader = csv.reader(f)
            rates = []
            for row in reader:
                rates.append(row[1])
            rates = map(float, rates)
        return rates


def get_rate_suggestion(cur, percentile=lending_style):
    if cur not in open_files:
        return 0
    rates = get_rate_list(cur)
    if use_numpy:
        result = numpy.percentile(rates, int(percentile), interpolation='linear')
    else:
        rates.sort()
        index = int(percentile * len(rates))
        result = rates[index]
    result = float(int(result * 1000000) / 1000000.0)
    return result

Please check out our other post if you would like to do this by yourself with the bot, as its for sale over at this topic

https://bitcointalk.org/index.php?topic=1744380.0

To try out the service PM us on the forum or leave a comment,

Please do check out our other listings for the lending and trading bots if you want to try this on your own full support is available and auto buy is setup if you want to purchase the software and be your own trading guru.

We look forward to input from the community on this and look to bring some form on online service in the coming months fully automated via the API system.

Also please check out trust we have been building a reputation in the community for our lending bot and have had members vouch our system we now feel its time to offer this service to the wider community.

(trading history is available upon request)

Thanks

RootCoin
Elevara Dev.
13  Economy / Digital goods / Re: |_-_- | ELEVARA POLONIEX LENDING BOT |-_-_|[BitcoinTalk Member Vouched] {Python} on: January 26, 2017, 06:09:12 PM
ok, I see I can buy the lending bot for $5. That's cool, I found the link.

Is there a way to buy the trading bot yet?

You can buy it direct from me here on the forum. Just send me a PM.

Thanks

RootCoin

ok, I'll try the lending bot first. If it's not beyond my ability to use, I'll contact you about the trading bot. Thx

How did you get on with the bot?
lending bot works great. It has been placing many small loans non-stop on Poloniex. I can't imagin lending money on Poloniex without it.

I also set it up to transfer money from the exchange over to lending automatically, so it's doing that also. I deposited some Bitcoin then when enough confirmations went through it started lending it automatically.

The other day I configured the bot to stop lending Bitcoin, so I could transfer some back to the exchange and buy a little bit of MAID. I did that, then reconfigured the bot to start lending everything then, and it did it.

I was a little concerned that some of the loans were 60 day, as that seemed like a long time, so I reconfigured the bot to loan a maximum of 6 days. But the daily rates on a 60 day loan can be a lot higher, so I changed it back, and even though it sometimes makes 60 day loans they seem to get paid back in a few days anyway.

I need to look at the lending page more, to figure out maybe some other coins to start lending. It's difficult to wait for a coin to cycle back down in price to acquire it. I figure I'll just eventually build up a lending stash of different coins to take advantage of when people want to sell them short.

For usage, I run it in a screen session on a VPS server. Then a friend wanted me to run it on his account, so I created a second directory with a different configuration file, started a second screen session, and are now running two lending bot sessions with one VPS on two different screen sessions.

Thanks for making this bot available at such a reasonable price!

Glad you are working out the features and making some custom config's for it.

I agree sometimes the 60 day loans can be better and normally return before the 60 day period is up which can be helpfull.

I really like your idea of running them on the VPS for multiple sessions. Though technically its one copy per customer under the terms in the license.

If you are interested I have a few other bots available for other platforms if you would like to give them a try just fire me a PM and Ill hook you up.

Thanks for the detailed review also. I handed out many vouch copy's and to be honest they never left such good write up's though positive there was not much detail.

If you have any issues you know where to find me.

Thanks

Rootcoin
14  Economy / Digital goods / Re: |_-_- | ELEVARA POLONIEX LENDING BOT |-_-_|[BitcoinTalk Member Vouched] {Python} on: January 25, 2017, 02:58:08 AM
ok, I see I can buy the lending bot for $5. That's cool, I found the link.

Is there a way to buy the trading bot yet?

You can buy it direct from me here on the forum. Just send me a PM.

Thanks

RootCoin

ok, I'll try the lending bot first. If it's not beyond my ability to use, I'll contact you about the trading bot. Thx

How did you get on with the bot?
15  Economy / Digital goods / Re: $20 Playstation Gift Card on: January 23, 2017, 04:43:23 PM

Received - Thanks and enjoy the code! I now need to buy the correct one get call of duty in the sale!

Thanks

TOPIC CLOSED
16  Economy / Digital goods / Re: $20 Playstation Gift Card on: January 23, 2017, 04:35:33 PM
PSN code sent - awaiting payment - Thanks

 Wink
17  Economy / Digital goods / Re: $20 Playstation Gift Card on: January 23, 2017, 04:30:46 PM
Sure check your pm's
18  Economy / Digital goods / Re: $20 Playstation Gift Card on: January 23, 2017, 04:11:53 PM
Is the gift card still available?

Yes. I've sent out a few pm's to people who were interested but there have been no reply's

19  Economy / Digital goods / Re: $20 Playstation Gift Card on: January 23, 2017, 03:13:04 PM
I can take it for $11
With proving the purchase.

PM sent
20  Economy / Exchanges / Re: e-coin.io / Trusted? on: January 23, 2017, 01:58:17 PM
No info on this company at all?

Someone must of used them or know of a reputable bitcoin card service.

 Huh
Pages: [1] 2 3 4 5 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!