Current location - Trademark Inquiry Complete Network - Futures platform - How to test python interface in wind?
How to test python interface in wind?
To quantify, the first problem to be solved is undoubtedly the acquisition of data. Wind is the source of raw data for many institutions and individuals. At the same time, python, as one of the most popular programming languages in the field of quantitative investment, has attracted a lot of attention. Websites that promote quantitative investment, such as Friends Mine, Rice Mine and Jukuan, are also implemented in python. Here are two tips for Xiaobai to use python to call the wind interface to get data.

Tip 1: Apply the wind code generator.

Unlike matlab, pyhton has no similar graphical user interface. In the initial application of python, the most distressing thing is that when obtaining some data, I don't know how to write the code and whether the obtained result is correct. Sometimes, in order to understand the data acquisition code conveniently, a matlab is even specially installed. In fact, wind itself has a code generator, windNavigator, which is located in the installation directory bin of Wind. As shown in the figure below. Look, relatively speaking, it is simpler and more convenient than the operation interface of matlab.