Username: Password:

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - MagicDude4Eva

Pages: [1]
1
Beginners & Help / Re: Accidentally Deleted Primary API key
« on: January 01, 2018, 11:11:30 AM »
Yeah, but what about backup? I have my API keys saved on two locations. Redundancy, people. You need to back up.

Well, if he deleted the API key on the exchange, GB will not be able to run any more. No backup in the world will fix this.

2
General Discussion / Re: [HOWTO] Gunbot RPM for Mageia
« on: December 31, 2017, 03:30:28 PM »
Hi there, hoping that you are still around.

I am trying to do this on a RaspberryPi and systemd is working, but Gunbot in CLI mode seems to only log then into systemd which does not provide colors etc. Is there any way to log into a separate file? At the moment I am using screen to have some logging.

Code: [Select]
[Unit]
Description=GunBot Service
After=network.target remote-fs.target nss-lookup.target
 
[Service]
User=pi
Group=pi
Type=simple
WorkingDirectory=/home/pi/gunbot/GunbotArm
ExecStart=/home/pi/gunbot/GunbotArm/gunthy-arm
ExecStop=/usr/bin/kill \$(/run/gunbot.pid)
PIDFile=/run/gunbot.pid
Restart=on-abort
 
[Install]
WantedBy=multi-user.target

3
Beginners & Help / Re: [Guide] Gunbot XT (v7) using a Raspberry Pi
« on: December 31, 2017, 03:23:33 PM »
I created an alias in .bashrc which will re-attach to the same screen if it exists:

Code: [Select]
alias gbs="cd /home/pi/gunbot/GunbotArm; screen -S "GunBot" -d -R /home/pi/gunbot/GunbotArm/gunthy-arm"

4
Okay, so here is my PHP script. It can run anywhere where PHP is installed and does not need to run with GunBot as it uses Binance websockets directly. This means no more wrong orders.

https://gist.github.com/magicdude4eva/b910562342d2085ece184e09345b8685

I have not had many trades fired, so I will probably adjust the Gist over time. If you have changes/improvements, let me know...

5
I actually stopped using the notifications, as the websocket provides ambiguous information and it is currently not possible to discriminate between a buy-intent, an actual buy and a possible cancelled buy.

Agreed but it's better than nothing.

I am currently rewriting this using Binance Websockets. This will provide real-time updates of balances an orders. I will post an update/Gist once I have it working. This will be in PHP (I am a Java Dev and I get the PHP syntax, but Python is beyond me and will take too much time to get into). If anyone has knowledge of a generic PHP notification library, let me know (I could not find anything similar to what @tblim posted for PHP)

6
@MagicDude4Eva Thanks for the update.

It would be great to integrate this with https://github.com/liiight/notifiers to abstract the notification service.

I actually stopped using the notifications, as the websocket provides ambiguous information and it is currently not possible to discriminate between a buy-intent, an actual buy and a possible cancelled buy.

I logged a issue and perhaps once that issue is resolved, I will revisit: https://github.com/GuntharDeNiro/BTCT/issues/362

7
Beginners & Help / Re: How can I set a minimum quantity to keep?
« on: December 30, 2017, 09:02:33 AM »
Further details (also see https://github.com/GuntharDeNiro/BTCT/issues/361):

So, what would happen if I have 300 IOTA, I set "CANCEL_ORDERS_ENABLED=false" and then place a 200IOTA limit sell at $100 (i.e. the sell-order will never be filled)?

Would GB then still trade the other 100IOTA or would it not trade at all?

Also, if I then set MIN_VOLUME_TO_SELL at 3ETH, would GB attempt to buy up to that volume?

8
Beginners & Help / How can I set a minimum quantity to keep?
« on: December 30, 2017, 06:00:25 AM »
I would like to keep a specific number of coin holdings which are not to be sold. I know that MIN_VOLUME_TO_SELL exists:

MIN_VOLUME_TO_SELL   0.001   Values: numerical – represents the total value of a coins holdings in base currency. Sets a threshold for sell orders. If you own less than the set amount, sell orders will not be placed and the bot goes into buying mode again. Only use whole numbers for fiat pairs.

How can I configure GB so that I keep can for example XRP10000 without having to constantly re-adjust it's total value?

9
Thank you for sharing this. I have added a new function for sending through Pushbullet. See attached file.

@gambcl it would be good to put this on Github.

This is great, I was just looking for this. Could you perhaps create a Gist and then link it to my issue: https://github.com/GuntharDeNiro/BTCT/issues/355

FWIW - I could not get the original Pushbullet script to work (I am running OSX). I also noticed that retry did not work and the script threw errors on some conditions. Update of my hacked Python script: https://gist.github.com/magicdude4eva/440fe56fe39e80029f73c5f73a0e7642

10
Check your coin pair - it might be wrong. On Binance it is for example ETH-XVG. Unlike some other exchanges, Binance uses 4-letter coin names (i.e. ETH-IOTA).

11
How are Raspberry Pi users running Gunbot (specifically v7.0.2). I have just started out (still waiting on delivery of the rPi) and when running Gunbot on OS X via GUI mode, I have access to the GUI to configure any strategy on the fly and switch them and can also look at the out.log via terminal.

What is the point of running multiple instances via pm2, if I can achieve the same with currency pairs and overrides? I get the part where you want to run different strategy setups with different configs (but even there I could run them in GUI mode with different ports).

What am I missing?

12
Beginners & Help / Beginner question - how to deal with initial bags?
« on: December 29, 2017, 04:24:08 PM »
Hi all,

I have just started using Gunbot XT via Binance and initially bought some coins at a high value. How can I configure a strategy, where I sell the coin higher at the initial purchase price and then continue trading?

Or should I just leave my current sell-limit-order in place and not worry about it?

Pages: [1]