Speaking of my programming learning experience, I do not know how to sigh. Until I now basically Python3, R supplemented by the state, I experienced but did not learn through: vb,c++ (MQL4), Java,matlab ... Programming language Each has a good, choose to learn what I was a headless fly at first. But then I realized a word:
For a small white, the important thing is not to write a program that can run quickly, but to quickly write a program that can run.
Based on this theory, I finally chose Python3. However, I was left on the Internet "Python3 support package is not full" to "flicker", so from Python2 began to learn, until the 2020 official no longer support the Python2 .
In fact, the python2 and Python3 differences are not particularly large, the general code to print the parentheses, the Raw_input () to the full input () will be resolved. In addition Python3 to the string Utf-8 support is very force, you can directly print () out of Chinese characters, and then do not have to easily like in the Python2 to the tangled character encoding problem. Of course, now decided to learn Python small white are very lucky, do not have to pick, directly choose Python3 can.
Remember that I used to be a programming little white when (now also, has been:)), at that time because of the interest in financial transactions, it took a lot of time to plunge into it. After a long time, I found that only by virtue of my personal ability, very hard. Of course, financial transactions simply rely on human resources not to make money, but I personally understand the intelligent trading, programmatic trading there is a strong power, I began to learn how to programming, to find a way to do programmatic transactions.
At first I thought programming was not easy. Of course, gradually learn and increase the amount of code you write, perhaps it is practice practice, mastery of it. Just read some of the introductory books, try to solve some pits, feel that they can find some API interface program, to change, and then can achieve my goal.
Soon, I found on the internet there is a thing like GitHub, there are a lot of projects. Every project has a lot of files. I came up with a look at the ignorant, the introduction of the programming book where to talk about a complete project is how to come out, where will tell you how to see the project on GitHub, how to use? If a complete project file is so complex, then the API description of the other trading software is more difficult to read ...
So, I realized the lack of my own programming. So first try to understand the various files of a project is probably what, how to install into their own programming software ...
After installing these packages, the key is to learn how to use these packages, then we must know how to access the API data. The importance of learning to access API data is self-evident, without these API documents or source code, we can not fully understand the use of these code and principles of the method.
There are two basic ways to access an open source API project data on GitHub. One is to view its description file, primarily a Readme file or project document. The other is to look directly at the source code. These two kinds of people are best to learn. If you read only the Readme or the project document, once the text content is not written in detail or give a more appropriate example, it will still make the user's understanding difficult, if only read the source code, this can be fully master the principle of the project, However, it is helpful to understand the source code if you can read the Readme or the project document to grasp a general framework.
Of course, the premise of reading these things is to have a basic understanding of programming software. Because of my personal situation, my articles here are based on Python3. The exact version is the Python 3.6.4 this.
Next, let's start with a simpler API project.
0-Learn the importance of accessing API data and how to learn it