Tag Archives: Python

Facebook PyTorch 1 release Python machine learning with native code

Facebook will be pushing out a new version of PyTorch It seems to be the second most popular machine learning framework out there. It include Python machine learning native code.

Torch Script works one of two ways. New code can be written using the Torch Script language, which by design can compile readily to native code. It’s also possible to take existing Python code, decorate it with the @torch.jit.trace decorator, and have it just-in-time compiled to native code. However, this is not as effective as using Torch Script….

Another commonly used package, Cython, allows Python to be turned incrementally into C by way of custom syntax declarations. Cython can work with the whole range of Python and C types alike, as well as all of Python’s syntax, but Torch Script is restricted to operations on PyTorch tensors, integers, and floating-point numbers. And Torch Script can’t use constructions like exceptions.

Maybe I should I just stick with Tensor Flow 2 coming out in Dec or Jan? It seems to be gaining more popularity vs PyTorch. It should be just as easy to work with for us newbies.

I question the future

I would also like to predict this PyTorch scripting language may be tough to see in the long term. That is is of course with ‘let’s abandon everything’ Microsoft hat on.

https://www.infoworld.com/article/3310201/python/pytorch-10-accelerates-python-machine-learning-with-native-code.html

Facebook accelerates AI development with new partners and production capabilities for PyTorch 1.0

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!

‘Master/Slave’ Terminology Was Removed from Python

 

Political correctness has arrived in the world of software development including Python. First it was video gaming, and now this. Ugh. When can we live in peace? Can we all not all get along?

 

https://motherboard.vice.com/amp/en_us/article/8x7akv/masterslave-terminology-was-removed-from-python-programming-language

 

Positions Spreadsheet of up 5% in market: Continue trading same day?

 

I posted this on my private Telegram last night with spreadsheet you can download

Here is an example of last nite. it is up 5.45% for all the positions. Is it worth to stop on the first one? Or continue to risk losing first return of the position of 4.27%? in this case, I was lucky but I can easily lose the profit or go negative entirely. this is my point of what can happen. I am able to control the losing positions when my weight average of the big 5 cryptos coins are >%1. This was the case last night so I include the mock positions. the crypto market is still >1% right now So i reset to see what happens from this point on. what would you do ?

https://quantlabs.net/blog/2018/09/positions-spreadsheet-of-up-5-in-market-continue-trading-same-day/

 

latest trial offerings:

Introduction to Your Quant Analytics Trial for 7 Days

https://quantlabs.net/mkt/introduction-to-quant-analytics/

Your Trading Idea Into Automation

https://quantlabs.net/mkt/quant-elite-v2-3/

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’s Popularity Outperform JavaScript Eventually

I would love to see this happen. I just find working with Javascript is so wonky and is only single threaded. When I look at the advantage of using Python over Linux shell or bash language, it seems to be more convenient to stick with that methodology. Transferring variables and data frames from one function to another is highly convenient. I hope to this happen sooner than later. Also remember it is predicted that Python will be the most popular language within the next three years for that.

https://hackernoon.com/could-pythons-popularity-outperform-javascript-in-the-next-five-years-abed4e307224

Moving on ….

Your Trading Idea Into Automation

I have now the Quant ELITE Trial to be at $497 with access 3 courses to get you started on building out a algo trading system.

You can join here for that

https://quantlabs.net/mkt/quant-elite-v2-3/

I have added last night’s webinar to to my Python V3 Infrastructure Building Block course.

Introduction to Your Quant Analytics Trialfor 7 Days

I have been adding some really useful reports that are now part of the Quant Analytics. The 7 day/1 week trial is still going for $37. So check it out here:

https://quantlabs.net/mkt/introduction-to-quant-analytics/

Thanks for reading

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!

Install Instructions Python and Anaconda on Windows

https://www.youtube.com/watch?v=RynT-XzrtGAAll popular tools included for Python development

Here are installation instructions for installing instructions for the popular tools like Jupyter and Anaconda integrated development environment. I can tell you from my own experience many popular Python packages will not work on Windows for some reason. Please keep that in mind.

https://hackernoon.com/installing-python-and-anaconda-on-windows-f9059ba8b136

Always remember I have a course that is getting updated regular to keep it modern. This focuses on the setting up your own trading infrastructure for automated trading.

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

 

Also note that I have a popular video to show you how to install these tools on Ubuntu Linux within a virtual machine with Virtual Box

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 in Visual Studio Code with new debugger

 

Python in Visual Studio Code with new debugger

To be honest, I ain’t no fan of Microsoft product even if it was free like Windows 10 or Skype. I must this product Visual Studio Code is not bad since it runs on all major operating system. This now includes an updated debugging engine ptsvd 4. This article says:

In this release we are updating all users to the ptvsd 4.1.1 version of our Python debugger, providing a significant improvement to debugging performance and stability over the previous ptvsd 3.0 version. We originally announced an opt-in preview of ptvsd 4 in the February release of the Python extension, and have been continuing to improve on it based on user feedback. The new debug engine is built on top of the open source pydevd, which has allowed us to take advantage of its superior performance and support for third party libraries.

https://blogs.msdn.microsoft.com/pythonengineering/2018/09/05/python-in-visual-studio-code-august-2018-release/

6 percent up in down crypto currency day

Decent wild day but made 6% intraday which is pretty good considering the performance of other major asset classes today. I also include the earlier set of charts which include many technical indicators to verify the forecasting can be valid!

I will be ramping up the Analytics in coming days

Quant Analytics

 

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 Python over R for algo trading and machine learning

 

Why #Python over R for #algo #trading and #machinelearning. I explain in it in this video
 
 
 
hi bryan, pls can you guide me here: can i purchase an algo from you and pay for guidance on configuring it or purchase the config? whilst at the same time doing the R-course? i already know tech analysis – keen to get automated – been trading for a while know..
 
I got a Youtube comment from the video below
 
Links can be found here
 
Python courses
 
https://quantlabs.net/academy/new-course-building-python-algo-trading-system-with-bitcoin-an-crypto-currency-focus/
 
 
 
R Courses
 
https://quantlabs.net/academy/buy-all-of-our-r-courses/
 
For those not able to program or advance program this service is for your from my trading signals when it comes to crypto currency trading (Soon Forex and CFD)
 
 
 
https://quantlabs.net/academy/quant-analytics/
 
Why Python over R found on Quora
 
https://www.quora.com/Is-there-any-point-in-learning-R-if-you-already-use-Python-for-data-science
 
The comment above was in this video
 
https://www.youtube.com/watch?v=f6OP6ZtN3jw&lc=z22ww1nbpvmwczgqh04t1aokgvnmi05000tba32e12tsrk0h00410
 
or the video version
 
https://www.youtube.com/watch?v=o29JkoKVBAA&t=992s
 
https://quantlabs.net/blog/2018/09/python-r-algo-trading-machine-learning/
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!

Hitchhiker Tips on Effectively using Python NumPy Arrays

 

I posted an article  which became popular in my Facebook programming group. If you read this article, it focuses on Python Pandas arrays. This is no different with other lower level languages like C++, C or Java, arrays, These served their purpose so yes read this article here. This article can also help you get on a path to building your OWN algo trading system

https://towardsdatascience.com/hitchhiker-tips-on-effectively-using-python-numpy-arrays-66649b7bd5fb

Convenience of using data frame structure instead

Once you start working with more convenient data structures like data frames, you start to see how your coding becomes more expedient. This is very handy if you like to see your data structured no different than a spreadsheet like Excel. You can quickly run basic math functions on columns which is very handy. It is no wonder I am addicted to my style of coding within Python. Di you know I have a entire set of courses to introduce you learning how to build a primitive algo trading system? Check it out here:

 

In fact if you are interested about building your basic algo trading system, get in touch as I can lead on  path to build one I can put you on a path that can get you building with in a few weeks! 

 

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!

Interactive Brokers Python support is still useless but here is my workaround

 

I am still frustrated by the low level Python support for Interactive Brokers. Check out these current options

https://www.reddit.com/r/algotrading/comments/65k22v/interactive_brokers_972_has_native_python_api/comments:

 

I find none of these 3rd party options are very good. They are not intuitive with weak tutorials. Also remember that these Python packages can be abandoned like ibPy. That is not a good future. Also I found the current native Interactive Brokers native API Python support is low level which means a lot of work. I recorded this for my Facebook Live:

The includes a comment of the API still too slow.

Note that there is $20US/month fee for accounts <$2000. Also, there is access to historical or real time data under this amount so IQFeed may be one of the options you have. Once your account >$2k, you will have access to all market data for free. This is for individual accounts so there are different fees for advisor accounts.

More criticisms

Interactive Brokers 9.72 has native Python API from algotrading

I find my course in the Elite is most predictable since I can use Redis as the message queue between my Python scripts with a Java listeners for the orders. This seems to works ok as described in my course of

Python C++ Algo Indie Trading Business Course Futures Options Algos

 

Introduction to Quant Elite Membership

One the positive side, the IB Trader Workstation (TWS) software has not changed in any way to support API calls.

To circumvent the data problem if you go with Interactive Brokers without the required funding level, i am revisiting IQFeed for MacOS or Linux market data.

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!