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.


Topics - gambcl

Pages: [1]
1
General Discussion / How do resurrect an ancient license?
« on: December 14, 2022, 07:03:24 PM »
I'm another that bought gunbot in Nov 2017, then upgraded to "all-exchanges" license over xmas 2017.
Checking my Telegram, the resellers I used back then don't seem to be around.
How do I get an updated license?

2
Here is my Python script for sending push notifications on buy/sell events.

Instructions:
- Create a Pushover account (https://pushover.net).
- Add an app called "Gunbot" to your Pushover account.
- Install Pushover app to your iOS or Android device.
- Edit the script to use a suitable hostname where gunbot is running, and insert your own Pushover User and App keys where it says REPLACE_ME.
- Install latest Python 3.
- Run "pip3 install requests".
- Run "pip3 install websocket-client".
- Run "python3 gunbot-websocket-listener.py".

You should receive a push notification straight away when the script successfully connects to gunbot. If not then check your Pushover User/App keys are correct.

Enjoy

This was just a quick-n-dirty script, if there is enough interest I might make a proper app out of it with a UI.

3
Technical Support & Development / Curious about the websocket
« on: November 17, 2017, 11:38:19 PM »
Hi all,

Just got my 1st gunbot running, I would really like to get it hooked up to my Pushover account so that it can send me push notifications when it trades. All I need to do is make a simple HTTP POST request to Pushover's REST API.

I see in the wiki it mentions a websocket for 3rd-party plugins, but I cannot find any more documentation about what it provides.

Can anyone tell me if I write a Python script to connect to gunbot's websocket, will it alert the script when trade events happen?
If so, is there any documentation on how to use the websocket to listen for these events?

Cheers,

Charlie



Pages: [1]