|Vavarb](https://github.com/vavarb) |
Contact email:
This is a simple Dynamic Delta Hedge bot. It was developed in python and designed to be executed only on the Deribit Exchange. https://www.deribit.com/
- This project was devoloped:
- OS: Windows 10.
- IDE: PyCharm 2021.3.1 (Community Edition).
- Language: Python 3.10
- If you want .exe version, you can download it from the link below. If you prefer to obtain a local copy of the repository, please do the following further below.
https://drive.google.com/file/d/1mg8J64k_EsfIUF2h-d6k_Fonx1vaxdP9/view?usp=sharing
Windows FireWall need disabled for .exe if there is a Deribit conection or SSL Certificate error.
- Install packages:
- websocket-client
- Websocket
- Threading
- PyQt5, QtCore, QtGui, QtWidgets
- Windows FireWall need disabled for PyCaharm if there is a conection or SSL Certificate error.
- Clone the repo:
git clone https://github.com/vavarb/vavabot_delta_hedge.git
- Run vavabot_hedge.py file
- If you use Linux Ubuntu 22.04 and the following error appears:
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found. This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
-
You can try:
- OPEN TERMINAL: <CTRL + ALT + T>
- From https://howtoinstall.co/pt/xcb
sudo apt-get update
sudo apt-get install xcb
sudo passwd root
Type your user password.
Type new root password
Confirm new root password
- DISBLED WAYLAND.
su root
cd //
cd etc
cd gdm3
gedit custom.conf
Uncommenting:
WaylandEnable=false
Save and close.
cd //
cd etc
gedit environment
Add:
QT_QPA_PLATFORM=xcb
Save and close.
OR you can open Nautilus or Nemo GUI. <CTRL + L> Type: admin // Type: root password Open etc/gdm3/custom.conf file and Uncommenting: ```WaylandEnable=false```. After, open etc/environment file and add ```QT_QPA_PLATFORM=xcb```
sudo apt-get install libxcb-xinerama0
- RESTART LINUX.
- CHECK WHETHER YOU ARE ON WAYLAND OR XORG USING:
echo $XDG_SESSION_TYPE
The expected return is: x11
-
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
-
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project.
- Create your Feature Branch (
git checkout -b feature/AmazingFeature
) - Commit your Changes (
git commit -m 'Add some AmazingFeature
) - Push to the Branch (
git push origin feature/AmazingFeature
) - Open a Pull Request
If you have found anything useful, and you want to support me, feel free to do it with ₿ITCOIN or Lightning Network! And many thanks in advance. 😁
- Lightning Network Adress:
- ₿ITCOIN Adress:
36RbpSZVNiSxK69kNMH3WHFJqAhfXppU5N