Tag Archives: GUI

Live intake: GUI with local Python Django on VS Code or Pycharm vs C++ Qt or WxWidgets

A couple of details for you technical geeks out there who want to build an automated trading system. My Python scripts are getting crazy to manage so Ithere are better ways to manage them through a graphical user interface. I have 2 paths to choose which will my future live intake :

GUI with local Python Django on Visual Studio Code or Pycharm vs C++ Qt or WxWidgets

https://quantlabs.net/blog/2018/12/gui-python-django-vs-c-qt-wxwidgets/

The other track is with Qt 5 Designer with Python which I got working:

Qt5 Designer builder does exist for GUI file to convert into Python

https://quantlabs.net/blog/2018/12/qt5-designer-builder-does-exist-for-gui-file-to-convert-into-python/

Which path would you be interested in doing?

There are ways to enhance my GUI with Python. I will be applying this to my current course:

Python 3 Infrastructure Blocks with Crypto

A live intake  will be starting in early Jan 2019. This may be my only one I will ever do.

Let me know if you got questions on that.

Click here if you are interested in this LIVE intake course and details

https://quantlabs.net/academy/python-algo-trading-infrastructure-with-crypto-currency/

This will be extremely limited to a few people to keep the quality of delivering content high.

Thanks Bryan

 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Qt5 Designer builder does exist for GUI file to convert into Python

 

How to convert a visual graphical user interface UI files with Qt 5 Designer to convert into Python source.

https://stackoverflow.com/questions/46542326/installing-pyqt5-incl-qt-designer-on-macos-sierra

 

https://stackoverflow.com/questions/26212528/how-to-configure-qt-designer-to-load-pyqt-widget-in-osx

instructions

Run in your Mac OS terminal
open -a Designer-qt5
https://stackoverflow.com/questions/43028904/converting-ui-to-py-with-python-3-6-on-pyqt5
Once you build your GUI in the Designer (for Qt5), you can convert the UI into  Python source code
python -m PyQt5.uic.pyuic -x [FILENAME].ui -o [FILENAME].py
 
python3 -m PyQt5.uic.pyuic -x qt5designtest.ui -o qt5designer.py

Then you can run with your Python 3 interpreter:
python3 qt5designer.py
https://www.youtube.com/watch?v=0nCcBxBzN8I
NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

GUI with local Python Django on Visual Studio Code or Pycharm vs C++ Qt or WxWidgets

This was a mess to get a real time chart using Chart Director. To get a graphical user interface, I must this was turning into a real hassle with C++. Qt version 5 is still too restrictive on the run time licensing end. Also, I find their IDE Qt Creator is just a beast where I really don’t want to use it. I even tried local Python with some moderate success.

I then tried using the open source edition of the CodeLite IDE with wxWidgets, I have had moderate success with this combo. It seem to get running on a Mac is not worth pursuing as it is way too old.

I then thought of trying the latest PyCharm Pro edition with ChartDirector and Django. Oh man, this is thing is a beast , They assume my package manager with my Python interpreter version 3 was using pip. I am actually using pip3 but to change that was not possible. You would think this was easy by justing adding the local Python interpreter. Pycharm did not recognize my local Python 3.6 but only found 3.1. When i navigated to the Python 3.6 to choose within the creator of the project, it would finally rconginze all the local Python packages. It took forever to load. Complete crap and not easy to play. Plus they want me to pay for this thing as it for the Pro edition.  Forget it!

I then had some moderate success with Visual Studio Code. It is these URL that make it much more possible:

https://code.visualstudio.com/docs/python/tutorial-django

OMG! Half the tutorial actually worked. I can also say I have much better understanding and appreciation for this IDE. I see why people like it since I got it to work.

Then we can talk about Django. No no no. Working with this framework made we want to stop. This thing is really old. There must be an easier way to build a real time charting with Chart Director. There has to be.

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

OpenBSD install with GUI video

 

OpenBSD install with GUI video

Go back to the effing basics as they say in this video. Also, this was triggered by a Twitter follower who sent a list of the insecure ‘features’ of FreeBSD so this was recommended instead. After further investigation, this seems to be valid!

Caveats: It seems slower than FreeBSD which is faster. As a result, this is more important to stick with as a priority since I can configure or harden myself. Or I could always use HardenedBSD as well which worth investigating.

https://www.quora.com/Is-FreeBSD-faster-than-Linux

 

And if you were doing Java, you’d want highly tuned threads. FreeBSD gave up a lot of stability for a long time for their kernel threads.

Is OpenBSD slow on servers? from openbsd

See

Death of Apple started while crypto currency event tonite

Dude behind Netflicks who did FreeBSD

http://www.bsdnow.tv/episodes/2014_11_26-8000000_mogofoo-ops

 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Apple will unify MacOS and IOS apps for nice GUI of my algo trading system

 

This is big news for future development with SciChart for a nice algo trading system GUI in 2018

Apple will reportedly unify iOS and Mac apps in 2018

 

https://www.bloomberg.com/news/articles/2017-12-20/apple-is-said-to-have-plan-to-combine-iphone-ipad-and-mac-apps

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

New Python packages for GUI and Google Android deployment

New Python packages for GUI and Google Android deployment

As I am looking at my new options for Python package deployment for GUI, it seems Kivy is the answer which is now regularly updated in 2017

Note: I am not too worries about speed at this point since I am not interested in trading subsecond level. I think 5-10 second polling should be fine for now.

https://wiki.python.org/moin/GuiProgramming

https://kivy.org/#home

Video demos as well

I would have originally gone with WXPython but that appears to be abandoned since it does not support Python 3

Android

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!

Python GUI algo trading with Tkinter

Python GUI algo trading with Tkinter

I knew this was good but not this good

Note: I could never find the source for the project below. I also tried using pygubu RAD but it failed to so many bugs. This is no longer a recommended option

https://github.com/alejandroautalan/pygubu

https://stackoverflow.com/questions/14142194/is-there-a-gui-design-app-for-the-tkinter-grid-geometry

Programming GUIs and windows with Tkinter and Python Introduction

https://pythonprogramming.net/tkinter-depth-tutorial-making-actual-program/

This tutorial should be somewhere in this repo: (if you find it let me know ASAP)

https://github.com/PythonProgramming?utf8=%E2%9C%93&q=&type=&language=

Video playlist

 

NOTE I now post my TRADING ALERTS into my personal FACEBOOK ACCOUNT and TWITTER. Don't worry as I don't post stupid cat videos or what I eat!