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 - vlmm

Pages: [1] 2
1
Beginners & Help / Re: [Guide] Gunbot XT (v8.0.3) using a Raspberry Pi
« on: January 31, 2018, 06:53:58 PM »
updated to version 8.0.3

2
Beginners & Help / Re: [Guide] Gunbot XT (v8.0.3) using a Raspberry Pi
« on: January 31, 2018, 06:53:31 PM »
sorry for the delay. i never saw this message related to gunbot. i can't help you.

3
Beginners & Help / Re: [Guide] Gunbot XT using a Raspberry Pi
« on: November 18, 2017, 04:03:47 PM »
thank you, feel free to use my donation BTC address with some of your profits.

4
the instructions for screen can be found here:
https://wiki.alpinelinux.org/wiki/Screen_terminal_multiplexer
the most import is:

Code: [Select]
screen -listshow all running sessions

Code: [Select]
screen -x NUMBERconnect to a session.

Code: [Select]
^A dDetach from a session

Code: [Select]
^A kkill a session



if you want to stop gunbot then connect to the gunbot screen session and
Code: [Select]
^C

5
you did a:
Code: [Select]
chmod +x gunthy-arm
what you can try is:
Code: [Select]
chmod u+x gunthy-arm

6
if you install raspian (https://www.raspberrypi.org/documentation/installation/installing-images/) you need a screen (a TV via HDMI works) and a keyboard first. you have to enable the SSH access and for that you have to edit raspi-config (https://www.raspberrypi.org/documentation/configuration/raspi-config.md).




7
at the moment i have 34 pairs.

if you want to use VNC you don't need any screen. thats what it is for. if you really need a GUI.

this is how it will look like when you use VNC:


8
Gunbot XT is out.

Almost all you need to know you can find here:
https://github.com/GuntharDeNiro/BTCT/wiki/ARM-installation

or in the posts above this one.

I made the first tests. It runs. If you need a GUI then you have one too.

If you have an error message during the launch of ./gunthy-gui-arm then check if port 5000 is already in use. you can do this like this:

Code: [Select]
netstat -lptn
If the port is used then try a reboot.

Code: [Select]
sudo reboot
Start the GUI via terminal. You have to be in the folder of the executable.

Code: [Select]
./gunthy-gui-arm
If you want to able to close the terminal window then use screen again.

Code: [Select]
screen ./gunthy-gui-arm
And if you run your pi headless, than you can use the GUI via VNC.

You need an app on you host and raspi has to be configured for the VNC use.
See here: https://www.raspberrypi.org/documentation/remote-access/vnc/

This is how it can look like when you use VNC:


9
Beginners & Help / Re: [Guide] GunBot Version 5 using a Raspberry P 3
« on: November 01, 2017, 07:25:03 PM »
In the .screenrc file you can add this line. termcapinfo xterm* ti@:te@

with that you can scroll through the terminal output. i stopped saving the output because the file gets big rather fast.

10
Beginners & Help / Re: [Guide] GunBot Version 5 using a Raspberry P 3
« on: November 01, 2017, 07:23:00 PM »
you don't need a monitor.
1. you can connect via ssh. all you need to know can be found here:
https://www.raspberrypi.org/documentation/remote-access/ssh/

2. or do it via vnc, then you can use the GUI.
https://www.raspberrypi.org/documentation/remote-access/vnc/

in both ways you need to control the bot via terminal. there isn't a GUI, made Gunbot XT will have one.

11
Beginners & Help / [Guide] Gunbot XT (v8.0.3) using a Raspberry Pi
« on: October 29, 2017, 07:18:10 PM »
hi

i am running the bot with a raspberry pi.

i will share what i did. maybe this will help someone and others might post feedback to improve things.
the post was updated for Gunbot XT. And i will include all questions asked here step be step.

You need a licence? Contact me and you will get a 10% discount vlom@protonmail.com

Like it guide? thank you: BTC 14xQzDipMf1tzPQaj6bG7vsUXK1jDNjGkV

the pi
if you install raspian (https://www.raspberrypi.org/documentation/installation/installing-images/) you need a screen (a TV via HDMI works) and a keyboard first. you have to enable the SSH access and for that you have to edit raspi-config (https://www.raspberrypi.org/documentation/configuration/raspi-config.md).

1. installing:



download the version you like. you can do this with wget.
for Gunbot XT
Code: [Select]
wget https://github.com/GuntharDeNiro/BTCT/releases/download/803/Gunbot.XT.Edition.-.Arm.package.zip 
unzip it and

Code: [Select]
unzip Gunbot.XT.Edition.-.Arm.package.zip
cd into the folder.

Code: [Select]
cd Gunbot XT Edition - Arm packaget
then you have to make the "apps" executable. you can do with

Code: [Select]
chmod +x gunthy-arm
for the GUI:
Code: [Select]
chmod +x gunthy-gui-arm
if tis does not work for you then try:

Code: [Select]
chmod u+x gunthy-armor
Code: [Select]
chmod u+x gunthy-gui-arm


2. configuration.

without GUI
because i am running the pi headless i connected to the pi with cyberduck (https://cyberduck.io). Connect with SFTP.



After you did this navigate to the gunbot folder. after that you can click on config.js and afterwards on the text wrangler icon.



This will open the config.js in textwrangler.



Edit what have to be edited and save the file. it will be saved on your raspberry. you don't have to download or upload the config.js

with GUI
cd into the folder and start the GUI-app

Code: [Select]
./gunthy-gui-arm
after that open a browser and type:
localhost:5000

If you have an error message during the launch of ./gunthy-gui-arm then check if port 5000 is already in use. you can do this like this:

Code: [Select]
netstat -lptn
If the port is used then try a reboot.

Code: [Select]
sudo reboot



3. running

without GUI
i am running the raspberry pi headless. thats why i connect via terminal now. before you start bot install screen or a similar tool. https://wiki.alpinelinux.org/wiki/Screen_terminal_multiplexer. Otherwise the bots stops when you close the terminal on your machine.

Code: [Select]
sudo apt-get install screen
after you have done that start the bot. cd into the directory where gunthy-arm is. the type this into your terminal:

Code: [Select]
screen ./gunthy-arm
with ^A d (control A d) you can detach from the session. after that you can close the terminal and the bot keeps running.


with GUI

And if you run your pi headless, than you can use the GUI via VNC.

You need an app on your host and the raspi has to be configured for the VNC use.
See here: https://www.raspberrypi.org/documentation/remote-access/vnc/

This is how it can look like when you use VNC:






4. checking

you can reconnect to the session with the bot and check if it is running

Code: [Select]
screen -x (if you have only one screen session)


or use

Code: [Select]
screen -listThere are screens on:
        11151.pts-1.mhlab01     (Attached)
        11131.pts-3.mhlab01     (Attached)
2 Sockets in /var/run/screen/S-root.

Code: [Select]
screen -x 11151 (if this is the session with bot)



if you want to capture the output of the gunbot screen session you can do the following steps.

Create the file .screenrc in your home directory.

Code: [Select]
sudo nano .screenrc
put this into the file:

Quote
# Always show a status line in the window footer
hardstatus on
hardstatus alwayslastline
hardstatus string "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y} %m/%d %C%a "

# Autodetach session on hangup instead of
# terminating screen completely
autodetach on

# Turn off the splash screen
startup_message off

# set log on all windows
deflog on

(https://remysharp.com/2015/04/27/screen)

The next time you start the bot with screen ./gunthy-arm there will a file be created (screenlog.0) in which the output is saved.

12
i realised that i have this problem too with poloniex and Gunthy_v5055_RC_8ab53b2.

13
i have this too.

14
in telegram a WIN64 user reported the same problem.

15
on OSX it is the same:

@paramecie:
does it work on your system? if yes, please show me how i looks like.


16
mhh, that is to techy for me. i don't understand it.

17
hi

i can't find the log files in Gunthy_v5055_RC_8ab53b2. where are they? V3 had a log for every pair. but now? thank you?

18
Technical Support & Development / Re: Raspberry Pi Zero
« on: October 14, 2017, 08:44:09 AM »
just try it. am using a pi3 and it works.

19
Technical Support & Development / Re: app.js with Gunthy_v5055_RC_8ab53b2
« on: October 14, 2017, 06:31:55 AM »
it helped.

Code: [Select]
Gunthy listening on 127.0.0.1 port 3000!
and the page opens.
http://localhost:3000/listener/

but there is no data inside, e.g.

Order book
Ask: ?
Bid: ?
Price to Buy: ?
Price to Sell: ?

in http://localhost:3000/configurator.html all the date is visible. i did not try to change anything yet.

20
Technical Support & Development / Re: app.js with Gunthy_v5055_RC_8ab53b2
« on: October 14, 2017, 06:21:50 AM »
thank you

i only have this in the config

Code: [Select]
"ws": {
"port": 5001
},

i don't know if i just can change this to

 
Code: [Select]
  "client": {
      "port": 3000,
      "hostname": "127.0.0.1"
   },
   "ws": {
      "port": 5000,
      "hostname": "127.0.0.1"
   },

but will try it.

Pages: [1] 2