2017-06-30 23:58:07 +02:00
|
|
|
# Gunbot Proxy Community Edition
|
|
|
|
Free Proxy for Gunbot on Poloniex
|
2017-07-01 00:01:07 +02:00
|
|
|
<br />
|
2017-09-08 10:05:56 +02:00
|
|
|
|
|
|
|
# Looking for ProxyBot Setup?
|
|
|
|
https://github.com/taniman/gunbotproxycommunity/tree/proxybot
|
|
|
|
|
2017-07-02 21:00:38 +02:00
|
|
|
# Join the telegram group
|
|
|
|
If you have questions after reading the readme
|
2017-07-04 16:04:49 +02:00
|
|
|
https://t.me/joinchat/FWYlMkKK-mkrSuj836ehug
|
2017-07-18 10:39:53 +02:00
|
|
|
|
|
|
|
# Another guide
|
|
|
|
<a href="https://gunthy.org/index.php?topic=570.msg3080#msg3080">Diesel's Guide</a>
|
|
|
|
|
2017-06-30 23:58:07 +02:00
|
|
|
# How to run
|
2017-07-18 11:05:37 +02:00
|
|
|
Download the latest released jar file or compile your own using the source code <br />
|
|
|
|
https://github.com/taniman/gunbotproxycommunity/releases <br />
|
2017-07-03 08:30:16 +02:00
|
|
|
<br />
|
2017-07-01 00:01:07 +02:00
|
|
|
Put the jar file in a directory <br />
|
2017-07-04 09:04:00 +02:00
|
|
|
Put application.properties in the same directory and fill in your apiKeys and secrets <br />
|
2017-07-30 10:06:12 +02:00
|
|
|
<br />
|
2017-07-01 00:01:07 +02:00
|
|
|
Open ALLPAIRS-params.js and at the botom after module.exports = config; put the following line <br />
|
|
|
|
process.env.NODE_TLS_REJECT_UNAUTHORIZED = "0";<br />
|
2017-07-30 10:06:12 +02:00
|
|
|
<br />
|
2017-08-25 09:42:34 +02:00
|
|
|
Optionally run gunbot using one of the suplied pm2 json files. (required for version 3.3.3+, 4.x.x+)<br />
|
2017-07-30 10:10:08 +02:00
|
|
|
Put the files in the same directory as GB folder. edit files if necessary<br />
|
2017-07-30 10:04:21 +02:00
|
|
|
pm2-gunbotbot-linux.json <br />
|
|
|
|
pm2-gunbotbot-windows.json <br />
|
|
|
|
This will set the NODE_TLS line for you. gunbot log will be viewable from pm2 log. <br />
|
2017-07-01 00:01:07 +02:00
|
|
|
<br />
|
|
|
|
To be able to run the application you need Java 8 <br />
|
|
|
|
Open a terminal or command prompt and type <br />
|
2017-09-22 13:05:10 +02:00
|
|
|
java -jar GunbotProxyCommunity-x.x.x.jar -XX:+UseConcMarkSweepGC -Xmx256m -Xms256m (replace x.x.x with your actual version number)<br />
|
2017-07-04 10:11:05 +02:00
|
|
|
On OSX or some linux versions you might need to sudo su and then run the java -jar command.<br />
|
2017-07-01 00:01:07 +02:00
|
|
|
<br />
|
2017-07-18 11:05:37 +02:00
|
|
|
If you did everything correctly the application will start without giving you any error messages.
|
2017-07-18 10:39:53 +02:00
|
|
|
|
|
|
|
### On windows
|
2017-07-01 00:01:07 +02:00
|
|
|
Open a web browser and go to <br />
|
2017-07-18 11:05:37 +02:00
|
|
|
http://localhost:8081/checkSetup/
|
|
|
|
|
2017-07-18 10:39:53 +02:00
|
|
|
### On a Linux VPS
|
|
|
|
curl http://localhost:8081/checkSetupLinux/ <br />
|
|
|
|
<br />
|
2017-07-10 23:23:05 +02:00
|
|
|
All rows except hostfile should say 'Looking good!'<br />
|
|
|
|
If this is not the case, than you have an error in your application.properties <br />
|
2017-07-01 00:01:07 +02:00
|
|
|
So everything is up and running. <br />
|
|
|
|
<br />
|
|
|
|
Now for the final step you need to edit your host file. <br />
|
|
|
|
On windows C:\Windows\System32\drivers\etc\hosts <br />
|
|
|
|
On linux /etc/hosts <br />
|
|
|
|
<br />
|
|
|
|
Put the following <br />
|
|
|
|
127.0.0.1 poloniex.com <br />
|
2017-07-08 21:26:33 +02:00
|
|
|
and save your host file.<br />
|
|
|
|
|
2017-07-10 23:23:05 +02:00
|
|
|
# Final test
|
|
|
|
Open a web browser again and again go to : <br />
|
|
|
|
http://localhost:8081/checkSetup/ <br />
|
2017-07-10 23:23:55 +02:00
|
|
|
All rows should say 'Looking good!' <br />
|
2017-07-10 23:23:05 +02:00
|
|
|
If this is not the case, than you have an error in your application.properties <br />
|
2017-07-18 10:39:53 +02:00
|
|
|
|
|
|
|
# Running in the background
|
|
|
|
Use the provided pm2 json file.<br />
|
|
|
|
If you have pm2 installed just use this command.<br />
|
|
|
|
pm2 start pm2-GunbotProxyCommunity.json <br />
|
|
|
|
pm2 save <br />
|
2017-07-18 11:05:37 +02:00
|
|
|
This will make sure that pm2 will automatically start the proxy when pm2 reloads. <br />
|
2017-07-01 00:01:07 +02:00
|
|
|
<br />
|
2017-07-18 10:39:53 +02:00
|
|
|
To see the proxy log you could do. <br />
|
|
|
|
pm2 log 'id' <-- this is the id pm2 gave your proxy
|
2017-07-07 09:31:50 +02:00
|
|
|
|
2017-07-01 00:01:07 +02:00
|
|
|
# Warning
|
2017-07-04 10:10:39 +02:00
|
|
|
Please use the proxy on a VPS or machine that you do not use normally. <br />
|
|
|
|
Once you change the host file the poloniex.com website will not work properly anymore. <br />
|
|
|
|
<br />
|
2017-06-30 23:58:07 +02:00
|
|
|
|
|
|
|
Now run your bots and enjoy!
|
2017-07-01 22:08:24 +02:00
|
|
|
|
|
|
|
<br />
|
|
|
|
<br />
|
|
|
|
|
|
|
|
# Donations
|
|
|
|
If you would like to send me a donation, here are my cryptocurrency addresses:
|
|
|
|
|
|
|
|
BTC: 1BGe9qmFUj3BrpjQKRASxVFHEnBeLoCNX1
|
|
|
|
|
|
|
|
ETH: 0x3ad4048c71afeebeb88dad665be6cbdfcb63c526
|
|
|
|
|
|
|
|
LTC: LTfW6rp29GepiLPvC1JSfgZNcxuxCmrsW7
|