Tips On Getting Started In Python

Are Python compilers generally optimizing worser to assembly and running worse than C/C++ (mingw , gcc , visual studio x64 etc) or it depend also on ways of coding?

I have 2-3 years of programming experience and have gotten best multithreaded C++ performance on linux, gcc compiler.
On windows compilers all appear to perform almost equal to eachother with single thread.

As far as I know python is bit code that runs on a platform for pre-made c++ routines. Also know as an interpreter. This setup will always be slower than C++ since there is another layer to get to the machine code routines. C++ is the most direct unless you learn assembly.
 
Scichart.com

I am not affiliated with them nor derive benefits mentioning them, just a happy customer.


If the resolution is smaller than than the ammount of data points no need to render all seperately.

By zooming do you mean smooth zooming?
Like zooming an image on smartphone or stepped zooming?
I have not yet seen any other libs support that way other than my own libs.
 
Scichart.com

I am not affiliated with them nor derive benefits mentioning them, just a happy customer.
Very nice implementations there , have done similarly zoomale 2d libs via opengl that allow smooth stretching of datapoints and magnitude but not as refined and as many features as there. Only box chart and the other idk how to name chart type.
chart.jpg
 
Hi,

Ive been a professional trader for about a decade but feel in order to keep with the times I really need to make the effort and start exploring the world of algo trading. Its benefits are clear.
Ive built "systems" on CQG and Tradestation in the past but want to use a more universal language. Knowing a few guys in the algo/fund world Python seems to be the way forward.

I was hoping to get your advice on best way to start. Im following the Codeacademy Python course and picking up the basics. But theres only so many times I can print "hello world" or change "parrot" from upper case to lower case. I still have no understanding how I can start applying this knowledge to trading. I really learn best in a way that is vocationally and solving a problem i am interested in.

So a couple of quick questions...

1/ how do you get your code into a trading environment? To take Tradestation for example, you write your code into a box and and it is being updated onto charts, giving you backtest results etc in real time almost. How does writing something on Idle or Notepad++ translate into complex charts? How does it translate basic code into charts and backtest results.

2/ CQG/Ninja Trader/Tradestation and other retail backtesting platforms have a trading vocabulary of keywords saved in its library such as "long, short, buy,sell, daily high" etc. Again, just writing in Idle or Notepad++ do you have to explain all these values to it?

I guess both these questions are "is there a trading environment to start coding into like CQG but instead of using its basic language it uses Python?"


All the YouTube vids/websites are so generic in their advice. Is there anywhere that specifically helps people to learn Python in a trading environment, forums/courses/software etc?

Any other tips on where to start?

Thanks


This guy Sentdex has everything you need:
https://www.youtube.com/channel/UCfzlCWGWYyIQ0aLC5w48gBQ
https://pythonprogramming.net/ibpy-tutorial-using-interactive-brokers-api-python/
 
Hi,
Ive been a professional trader for about a decade but feel in order to keep with the times I really need to make the effort and start exploring the world of algo trading. Its benefits are clear.
Ive built "systems" on CQG and Tradestation in the past but want to use a more universal language. Knowing a few guys in the algo/fund world Python seems to be the way forward.
I was hoping to get your advice on best way to start. Im following the Codeacademy Python course and picking up the basics. But theres only so many times I can print "hello world" or change "parrot" from upper case to lower case. I still have no understanding how I can start applying this knowledge to trading. I really learn best in a way that is vocationally and solving a problem i am interested in.
...
...
Any other tips on where to start?
Thanks

For anyone who is interested, UDEMY is having a Black Friday Sale. It started on Monday 11/14/2016 and ends 11:59 PM PST Friday 11/25/2016. The price started at $10, increases by $1 every 2 days and probably ends at $15. The price is currently $14 for another 32 hours.

Here are some of what I think are the better titles. There are many others so you will need to search here:
1. Automate the Boring Stuff with Python Programming
2. Complete Python Bootcamp
3. The Python Mega Course: Build 10 Python Applications
4. Interactive Data Visualization with Python & Bokeh
5. Python for Data Science and Machine Learning Bootcamp
6. Machine Learning A-Z™: Hands-On Python & R In Data Science
7. Data Science and Machine Learning Bootcamp with R
8. R Programming: Advanced Analytics In R For Data Science

A Couple Extras:
9. Python A-Z™: Python For Data Science With Real Exercises!
10. R Programming A-Z™: R For Data Science With Real Exercises!

No Starch Press publishes 4 good programming eBooks, 3 in Python and 1 in R. They are also having a sale but it ends Tomorrow Wednesday 11/23/2016 at 11:59 PM PDT (I think they meant PST). All of their eBooks are 50% off. Use code
PUMPKINPYTHON
1. Python Crash Course
2. Automate the Boring Stuff with Python
This book was written by the same person who did the above course with the same name.​
3. Doing Math with Python
4. Book of R

As others have mentioned, there are several free YouTube Python courses available also. Here is a recap:
0. Main Sentdex Playlist page
1. Python 3 Basics Tutorial Series
01/21/2014 Based on Python 3​
2. Intermediate Python Programming
11/01/2016 Based on Python 3​
3. Machine Learning with Python
10/04/2016 Based on Python 3​
4. Scikit-learn Machine Learning with Python and SKlearn
02/02/2015 Based on Python 3​
5. Machine Learning for Forex and Stock analysis and algorithmic trading.
06/28/2014 Based on Python 2. Mentions Pattern Recognition.​
Derek Banas:
6. Learn to Program
06/19/2016 Based on Python 3​
edureka:
7. edureka Python Course
08/22/2014 Based on Python 2​
8. Business Analytics with R Tutorial Videos
06/01/2013​

The UDEMY and No Starch Press eBooks are at very low prices. The advantage of using UDEMY is their courses are more structured. You can usually get help if you get stuck. Source code and course notes are usually available.

If you have wanted to buy a few UDEMY courses or eBooks, now would be the time.
 
Last edited:
O'Reilly publishing company is having a Cyber Monday Sale. All eBooks & videos published by O'Reilly, Pearson, No Starch Press, A Book Apart, Make, Packt, and 30 others are 50% off.

All of these publishers combined have a huge selection of eBooks. They publish some of the best programming books available. If you wanted to buy some of O'Reilly's books, now would be the time.

"Use discount code CYBER16 – Deal expires November 29, 2016 at 5:00am PT, and cannot be combined with other offers. Offer does not apply to Print or "Print & eBook" bundle pricing."

Amazon is also having a Black Friday sale, $10 off any Amazon books purchase of $25 or more. Use code HOLIDAYBOOK at checkout. Use your discount to buy a trading related book. Offer ends November 28, 2016 at 02:59am EST.
 
For anyone who is interested, No Starch Press is having a "Humble Book Bundle: Python Edition!" charity sale. You choose which bundle you want and how much you wish to give. There are 3 bundles and I believe you can get all 3 bundles for as little as $15. I believe you receive eBooks in the form of PDF, ePUB and MOBI formats. You do not receive printed books.

These 3 look good:
1. Python Crash Course
2. Doing Math with Python
3. Automate the Boring Stuff with Python
There is a corresponding Udemy course by the same author.

4. Invent Your Own Computer Games with Python, 4th Edition
5. Teach Your Kids to Code.
There is a corresponding Udemy course by the same author.


No Starch Press also has Book of R but they did not include it in their bundles.
 
Back
Top