The author of this article: Hang
This article source: https://segmentfault.com/a/1190000010520835
function Introduction
Objective: To obtain the name and transaction information of all stock in SSE and SSE.
Output: Saved to file.
Technical route: Requests-bs4–re
Language: python3.5
Description
Site Selection principle: Stock information static exists in the HTML page, non-JS code generation, no ROBBTS p
the dif and DEA two lines in the MACD indicator, according to the position of the Gold fork on the 0 axis, the place of the bottom, and whether there is a dead fork before the Gold Fork, the position of the dead fork, there are eight kinds of morphological patterns.They are: bergamot upward, duckling water, stroll Tsing Yun, Swan Wings, aerial cable, aerial cable car, submarine cable and plucking.These are now depicted as follows:① form one of bergamot upwardSee, DIF and DEA Gold fork, with the
KDJ indicators are also called stochastic indicatorsPrinciple: is to use the current stock price in the near-stage share price distribution relative position to predict the possible trend reversal. It mainly uses the real amplitude of price fluctuation to reflect the strength of price movement and overbought phenomenon, a technical tool to send and sell signals before the price has risen or fallen . It was used in the analysis of the futures market, a
first, stocks appear after the trend of the day, high-level days after the amount of what will happen? from the tide of thousands of years of Bo finishing integratedThe so-called super strong Zhuang stocks, nature refers to the ability to continuously pull the stock. The premise of our judgment is: strategic low----------------sky? Into the ground? for in the trading before the emergence, has been a continuous rise in the
someone said: "The law of the stock market is no law", very right. The certainty of the stock market is "uncertainty". Any prediction of the stock market is futile. If anyone can predict the quasi-trend, then surely extremely wealthy. Unfortunately, no one has been successful in history, perhaps three times, but in the fourth time a loss such as washing. If a per
Advance: it must be a shock market, rather than a consecutive one-side market. For example, it can only rise or fall or not rise. Such as forcing a blank market or falling down.Prerequisites: asset configuration: Stock A shares must be excellent stocks and have dividends at the end of the year. Cash: At the current price, you can buy the amount of A shares you hold in your hands.T + 0 operation skills can be divided into forward T + 0 operation and re
C + + program code generation, generation, write C + + stock priceGuideline of assignmentLet us assume this is a investor who holds a portfolio of stocks. You need to design a C + + program to maintain and manage the stock price information of 7 days.General Features and Functions? Basic Features:the program should is able to1) Store The Portfolio information into a 2-dimentional array (Nx8) of String type.
In the National Dragon Boat Festival holiday published May macro data poor, and poor performance of the external disk holiday under the double pressure, today in Shanghai and Shenzhen, both open the opening, Shanghai Composite Index directly open in the year below the line below 2,200 points. Reported at 2190.1, down 0.94%, Shen at 8642.32, down 1.38%, GEM index at 1019.47, down 1.04%. In the plate aspect is all turn green. Hundred Yuan shares, s plate and other plates fell smaller, while Tesla,
The following two methods can be used to obtain stock data:
1. Data retrieval through HTTP/JavaScript Interfaces2. Web-Service Interface
1. Data retrieval through HTTP/JavaScript Interfaces
1.1sina stock data interfaceTake the Daqin Railway (stock code: 601006) as an example. To get its latest market, you only need to access Sina's
Hand- Coded edit Securities listed on the Shanghai Stock Exchange, according to the SSE "Securities Coding Implementation Plan", the use of 6-digit compilation method, the first 3 digits for the different securities varieties, as specified in the table below: 001xxx Treasury bonds spot; 110xxx120xxx corporate bonds; 129xxx100xxx convertible bonds; 201x XX Treasury bond repurchase; 310XXX Treasury bond futures; 500xxx550xxx fund; 600xxxA shares; 700xxx
First, download open desktop stock software.
Main interface:
We can see the following on the desktop.
System setup:
Click on the "System Settings" button, we can modify the software background color, transparency, font color and so on.
Stock Management:
Click on the "Stock management" button to eject the "add quickly" interface (Figure 1)
Figure 1
Select the securities company you want to open an account with:
As many as hundreds of securities companies, it is recommended that you select AA-level securities companies to open a stock account:
According to the SFC statistical classification of the general securities companies are divided into several categories: the SFC recently announced the 2012 Securities companies classified evaluation results, the 96 securities companies, a
stock information using graphics. Of course, readers can also use. NET write a free chart class library.
Set up a Web service
The sample code needs access to the hypothetical stock quote Web service. We set up a Web service in Visual Studio. NET 2003 and named it "Stockws." This Web service consists of a Web method called GetPrice () that accepts only one stock
ZZ: North American stock Market Reverse ETF and leveraged ETF list
I introduced the benefits of ETFs in two other articles, ETF stock index fund introduction and double returns and three times-fold ETF funds, respectively, the largest traded ETF series in the US stock market, and the concept of double returns and three times-fold leveraged ETFs. To make it easie
Safety Stock is just a general statement. This article summarizes the four Security Stock (time) settings of SAP to increase the flexibility of the inventory quantity (time) during the planning process. Why does the security stock increase the elasticity of the plan? In net requirements calculation, quantity available = Fixed receipts +
Objective: To obtain the name and transaction information of all shares of SSE and Szse, and to keep them in the file.Technology used: Requests+bs4+reSite selection (Selection principle: the static existence of the Stock information HTML page, non-JS code generation no Yo Robot protocol restrictions)1. Get stock list: http://quote.eastmoney.com/stocklist.html (because the East Net station has a list of all
Words do not say more, the following directly to see implementation code.
The primary function has only one class implementation (stock.class.php):
The calling method in the command prompt is as follows (stock.php):
Use the *\php.exe stock.php stock code directly to implement the call, each input too long, can be simplified by batch processing.
Save the following code as Stock.cmd.
@XXX \php.exe stock.php%1
Run
If you do not have a ten-year reserve for a stock, do not hold it for ten minutes.-- Investment master Warren Buffett
We often say that stocks are high-risk, high-reward investment tools. Likewise, it can be proved that stock funds also have high-risk and high-reward features and are suitable for long-term investment. In stock fund, it can be further subdivided
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.