profit-trailer/README.md

3.1 KiB

ProxyBot

Enhanced Proxy for Gunbot on Poloniex
Price: 0.015 BTC  

Join the telegram group

If you have questions after reading the readme https://t.me/joinchat/FWYlMkKK-mkrSuj836ehug

Checkout the wiki

https://github.com/taniman/proxy-bot/wiki/ProxyBot

Another guide

Diesel's Guide

How to run

Download the latest released jar file
https://github.com/taniman/proxy-bot/releases

Put the jar file in a directory
Put application.properties in the same directory and fill in your apiKeys and secrets

To be able to run the application you need Java 8
Open a terminal or command prompt and type
java -jar ProxyBot.jar -XX:+UseConcMarkSweepGC -Xmx256m -Xms256m
On OSX or some linux versions you might need to sudo su and then run the java -jar command.

If you did everything correctly the application will start without giving you any error messages.

On windows

Open a web browser and go to
http://localhost:8081/checkSetup/

On a Linux VPS

curl http://localhost:8081/checkSetupLinux/

All rows except hostfile should say 'Looking good!'
If this is not the case, than you have an error in your application.properties
So everything is up and running.

Now for the final step you need to edit your host file.
On windows C:\Windows\System32\drivers\etc\hosts
On linux /etc/hosts

Put the following
127.0.0.1 poloniex.com
and save your host file.

Final test

Open a web browser again and again go to :
http://localhost:8081/checkSetup/
All rows should say 'Looking good!'
If this is not the case, than you have an error in your application.properties

Running in the background

Use the provided pm2 json file.
If you have pm2 installed just use this command.
pm2 start pm2-GunbotProxyCommunity.json
pm2 save
This will make sure that pm2 will automatically start the proxy when pm2 reloads.

To see the proxy log you could do.
pm2 log 'id' <-- this is the id pm2 gave your proxy

Setup telegram so the proxy can send you telegram messages

  1. Talk to @BotFather
    1.1. NOT to be confused with TheBotFather channel!!!
    1.2 Once there type "/newbot" to create a bot. Answer the questions by typing answers and pressing enter.

  2. Start a chat to your bot's name (for ex. @MyProxyBot) and press start button

  3. Start another chat with https://telegram.me/get_id_bot This bot will reveal your Chat ID

  4. Edit application.properties and set

    • telegram.botToken = "your bot token"
    • telegram.chatId = "your chat id"
  5. Go to http://localhost:8081/settings/telegramTestMessage to test your telegram setup. You will receive a message if the setup is correct.

Invalid License

  • Talk to @Elroy on telegram to activate

Warning

Please use the proxy on a VPS or machine that you do not use normally.
Once you change the host file the poloniex.com website will not work properly anymore.