Tag Archives: Django

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!

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!

How to run ChartDirector with Python and Django for interactive chart

How to run ChartDirector with Python and Django for interactive chart

 

Instructions to run

The links are here as shown in the video

http://www.chartdir.com/forum/download_thread.php?bn=chartdir_support&pattern=&thread=1204518493

Download django_viewportcontrol.zip

As instructed in the video, run at the desired path location:

python manage.py runserver

Properly copy contents of mysite directory in the above path.

https://www.codingforentrepreneurs.com/blog/install-django-on-mac-or-linux/

I did in my terminal

pip3 install django 

https://docs.djangoproject.com/en/2.0/intro/tutorial01/

I ran at the desired path:

django-admin startproject mysite

 

Deep dive market analysis for Apr 9 with Bitcoin

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!

Why WordPress over PyCharm with Python web Flask Django or Qt

 

 

Why WordPress over PyCharm with Python web Django Flask or Qt

I made a half an hour video explaining why I am now choosing WordPress over any of the Python web frameworks. To be honest, this has been a complete waste of my time. When you look at the complexities of learning new web frameworks like Django or Flask, you quickly realize you may want to shoot yourself in the head. Also, I have constantly given QT so many opportunities but with the combined different versions of 4 and 5 plus the complexities of Python version two or three, it might be better to do this whole thing in Assembler. As a result, for my own sanity I think WordPress will meet all my requirements.

See my video and the rest of this story here….

As said, we start next Phase of Trading Strategy Development. This entails Pair Trading/Aribtrage for any equity that Yahoo Finance tracks!

Get the complete details here

>>>> Get immediate access to start learning now

Remember this NEW phase starts this Tues on May 10 at 8 EDT!

Thank Bryan

P.S. More posting have been added including very helpful tutorials to set up Ubuntu with Python. Guess what? if you were part of Daily Digest, you would have already known about this useful 1 hour tutorial. Remember that is just on of many posting you missed in the last 24 hours.

 

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!

Why WordPress over PyCharm with Python web Django Flask or Qt

I made a half an hour video explaining why I am now choosing WordPress over any of the Python web frameworks. To be honest, this has been a complete waste of my time. When you look at the complexities of learning new web frameworks like the Dkango or Flask, you quickly realize you may want to shoot yourself in the head. Also, I have constantly given QT so many opportunities but with the combined different versions of 4 and 5 plus the complexities of Python version two or three, it might be better to do this whole thing in Assembler. As a result, for my own sanity I think WordPress will meet all my requirements. This includes:

 

A popular easy to use web framework

Open source meaning free

Quick deployment onto any major operating system of my choice

Ready to post on remote servers like web hosting companies

Plug-and-play capabilities instead of hand coding

 

If you are adamant on using something like QT with Python, I would strongly recommend you to learn a book as in the 600 page one listed here.

Rapid WYSWYG book on Qt Designer with Python

 

Now I can rest my weary head to go back to my life. I hope I’m not disappointing anybody in this final decision but as you know, software development and architecture can be a real bitch. Ask any of the nearly insane people that work in the info technology company with their haywire environments that keep them from jumping off their window ledges.

 

Join my FREE newsletter to learn more about WordPress for potential automated trading GUIs

 

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!