Tag Archives: convert

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!

Tonight: How to convert forex mt4 to python programming webinar with Interactive Brokers

Reminder about tonight but don’t forget about the Interactive Brokers big news announced last week.

How to convert forex mt4 to python programming webinar

Send in your questions in right away to get them answered so I can prepare!

https://quantlabs.net/blog/2018/08/how-to-convert-forex-mt4-to-python-programming-webinar/

interactive brokers eliminate $10k requirement

Remember that Interactive Brokers has eliminated their minimum $10K requitement.

https://quantlabs.net/blog/2018/08/interactive-brokers-as-they-eliminate-10k-requirement/

As you an imagine, this makes my Interactive Brokers valuable now! I plan to add new content to it as I explore the Python options for my strategy. I no longer need to support Oanda nor Dukascopy options as we I have worked on earlier this year. It is straight to what I call the end game of Interactive Brokers for my ultimate global broker!

Here is my Interactive Brokers course:

https://quantlabs.net/academy/python-c-algo-indie-trading-business-course-phase-2-futures-and-options-algorithms/

This is part of my:

https://quantlabs.net/academy/introduction-quant-elite-membership/

Thanks

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 convert forex mt4 to python programming webinar

 

Here is a new event webinar  on my Zoom and Facebook live at my Facebook channel of

https://www.facebook.com/events/532549877183497/?active_tab=discussion

https://www.facebook.com/quantlabsnet/

An interesting topic came up today so let’s talk about it. How does one convert Metatrader 4 or 5 (MT4/5) to Python? This while we are in the world of Forex. In fact, we can talk about my experience with Dukascopy, JFOREX, and their Java API.

I have been asked Easy language for Tradestation

Webinar details

Hi there,

You are invited to a Zoom webinar.
When: Aug 27, 2018 7:00 PM Eastern Time (US and Canada)
Topic: Convert from Forex MT4 to Python

Please click the link below to join the webinar:
https://zoom.us/j/944289473

Or iPhone one-tap :
US: +16699006833,,944289473# or +16465588656,,944289473#
Or Telephone:
Dial(for higher quality, dial a number based on your current location):
US: +1 669 900 6833 or +1 646 558 8656
Webinar ID: 944 289 473
International numbers available: https://zoom.us/u/cIawwfN0H

New course!! Building Python algo trading system with Bitcoin an crypto currency focus

 

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 script to convert Redis query to JSON or CSV for WordPress AMCharts data loader

Python script to convert Redis query to JSON or CSV for WordPress AMCharts data loader

This will be very helpful for my WordPress charts in the near future

This will go through many iterations!!

Here is the sample of the Python script

import redis
import codecs, json
sym = ‘EUR’
fname = sym +’.json’
r = redis.StrictRedis(host=’localhost’, port=6379, db=0)
x = r.lrange(‘EUR’,0,10)
with codecs.open(name, ‘w’, ‘utf8’) as f:
     f.write(json.dumps(x, sort_keys = True, ensure_ascii=False))

 

Important notes:

Original example uses redis-py Python package https://github.com/andymccurdy/redis-py

Original example above was found using dinos66 answer from http://stackoverflow.com/questions/12309269/how-do-i-write-json-data-to-a-file-in-python

http://stackoverflow.com/questions/19795012/how-to-convert-a-list-to-jsonarray-in-python

AMCharts data loader example

https://github.com/amcharts/dataloader/tree/master/examples –> refer to the stock samples and see data/MSFT.csv examples

I am sure there will be more to come for this

Join my FREE newsletter to learn how this code will help my automated trading

 

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!

The proper way to convert market data ticks to OHLC

The proper way to convert market data ticks to OHLC

After my email of:

Convert tick data to OHLC?

I got this response from a long standing newsletter subscriber:

Super busy but my quick answer. A “bar” is just a collection of ticks of some kind. To build a “Minute” bar, you would collect ticks as they come in and store their values in the data structure of your choice. While building that collection you have you have to mark the O and C price and the H and L can change on tick as the structure fills. That data structure is usually an array of DateTimeOHLCV objects of some kind.

HOWEVER, most commercial trading software or developer API’s allow you to import data and have bar structures built out already(as you know). If the person asking the question needs to program bars, they plan on building a trading system scratch and if you can do that you can build a List<> object with values, I would imagine as the tick data structure is the backbone..literally. It sounds like this person should be using trading software like NinjaTrader or TradeStation, ect.. – those are very flexable/extendable and can import data. But there is an API with common trading functionality to write higher level code against as well.
Hope all is awesome!
Another response:
There is a plethora of similar questions and answers at. Stackover Flow  That’s where I’d start.

http://stackoverflow.com/questions/17952082/converting-tick-data-to-ohlc-bars-using-r

 

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!

Convert tick data to OHLC?

How to convert tick data to OHLC?

I got a question from someone regarding how to convert market data ticks to OHLC (Open High Low Close). It went a little like this:

 

Hi Bryan are you able to process csv tick data files to OHLC 1 min bars easily? I am looking for a tool or app to do this. Let me know if you have any ideas.

 

Depending on the programming language, there some  choices of course. Even some people in my Facebook group came up with some great ideas.

 

Check out the conversation and tips here

 

Fast numerical computing with Python NumPy

And you cannot make Python faster?

One of the solution was part of this video.

 

Demo of Free Chart Geany open source C++ Qt project

I found this cool Qt application which show recent updates. I may use this another potential desktop application for charting demos I will be holding in coming months. Also, it meets all my requirements of C++ while running on multiple operating systems like Linux, Mac OS X, etc.

 

Check out my short overview video

 

I will be adding this as a new option for my upcoming open source charting package LIVE lesson I hold for my Quant Elite Members which happens LIVE April 26 next Tuesday.

 

Module 6 Market Data Source with Yahoo Finance

 

Tonight at 8 PM  I will be holding my:

 

Market Data Source with Yahoo Finance

 

Detail include:

Module 6 Market Data Source with Yahoo Finance

Market Data Source with Yahoo Finance In Python, there are numerous packages you could use to access Yahoo Finance which is FREE.

This is part of my “Indie Python Algo Trading Course Series”
Required to be a Quant Elite member to attend.

Go here for details on this course series with pricing options listed here:

https://quantlabs.net/blog/python-algo-course-series-for-your-indie-automated-trading-business/

Please take advantage of joining as soon as possible to jumpstart your knowledge before this LIVE event! This will be presented LIVE only once

I hope you make it out to one of these events,

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!

How to convert tick data to OHLC?

How to convert tick data to OHLC?

A comment from my one of my videos generated this query:

Hi Bryan are you able to process csv tick data files to OHLC 1 min bars easily? I am looking for a tool or app to do this. Let me know if you have any ideas.

 

Mathematically it should be possible but unable to remember it but after using Google I found:

In R http://stackoverflow.com/questions/24516309/convert-tick-data-to-ohlc-4hr-bars

Or http://www.trade2win.com/boards/trading-software/76934-tick-data-open-high-low-close.html

Join my FREE newsletter to learn more about other queries I get for automated trading \

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!

Convert Excel worksheets to C++ formulas with X2C


Convert Excel worksheet to C++ equation with X2C

Talk about timesavers! I found an Microsoft Excel add-in which will convert spreadsheets into C++ equations. This is ultra cool and very affordable. In fact I made a 10 minute video on this. I can now move forward to RAPIDLY implement my upcoming Forex and AK-47 version 2 algorithms. Woo hoo!

Check out my video here

Let’s talk Apple technology trading Meetup

For those that are into Apple technology, I hosted my Meetup event last night where I showed off all the latest technologies in a condensed format which can be found on my YouTube video playlist which is here. Do realize that I also showed some other unknown stuff as well.  This video  has now been posted for all my Quantz Elite members.

--> GO HERE for immediate access

If you want the ultra most affordable way to access my membership go here

Thanks for reading 
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!

Convert Excel worksheet to C++ equation with X2C

Convert Excel worksheet to C++ equation with X2C

This is going to save a huge amount of time

http://activemesa.com/x2c/licensing

Microsoft Excel to C++ XC2 converter

Join my FREE newsletter to see how I quickly convert my Excel worksheets to C++ using this for automated trading

 

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!

Convert CDN dollar to USD without the hit

Convert CDN dollar to USD without the hit

I learned a little tip if this can be done without heavy conversion charges. Use this Horizon USD ETF to convert with your broker like Interactive Brokers. Let me know if you think this works

http://www.horizonsetfs.com/pub/en/etfs/?etf=DLR

Join my FREE newsletter to see if there a trading strategy that could come out of this? 

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!