Practical stock interface, stock api collection (1)

Practical stock interface, stock api collection (1)
data source (ig507.com)
data download (https://download.csdn.net/download/disalong/87722621)

1. Stock list interface

Path: Shanghai and Shenzhen A - shares - Stock Basic Interface - Stock List API : https://ig507.com/data/base/gplist?licence=Your license description: Get the basic stock code and name, and use it for subsequent interface parameters incoming. Keywords: [ stock code, such as: 000001, stock name, such as: Ping An Bank , Exchange, "sh" means Shanghai Stock Exchange, "sz" means Shenzhen Stock Exchange ]


2. IPO Calendar

Path: Shanghai and Shenzhen A - Shares - Stock Basic Interface - Stock List
API : https://ig507.com/data/all/xgrl?licence=Your license description: Calendar of new shares, in reverse order of subscription date. Keywords: [ stock code , stock abbreviation , subscription code , total number of issuance (shares) , online issuance (shares) , upper limit of subscription (shares) , market value required for top subscription ( yuan ), subscription date , issue price (yuan), null is " unknown ", the latest price (yuan), null is " unknown ", the closing price of the first day (yuan), null is "

Unknown ", announcement date of winning lottery number, null means unknown , winning lottery payment date, null means unknown , listing date, null means unknown , issue price-earnings ratio, null means " unknown ", industry price-earnings ratio , winning lottery ratio ( % ), null means " unknown ", the number of consecutive word boards, null means " unknown ", increase ( % ), null means " unknown ", each lottery profit (yuan), null means " unknown ", main business ]

3. Index, industry, concept tree

Path: Shanghai and Shenzhen A shares - stock basic interface - index, industry, concept
API : https://ig507.com/data/base/it?licence=Your license description: get index, industry, concept (including funds, bonds , the codes of US stocks, foreign exchange, futures, gold, etc.), where isleaf is 1 (leaf node), the code (code) of the record can be passed in as a parameter of the interface below, so as to obtain the relevant stocks under a certain index, industry, or concept . Keywords: [ name , code , first-level classification ( 0: A shares , 1: GEM , 2: Science and Technology Innovation Board , 3: funds , 4: Hong Kong stock market , 5: bonds , 6: US stock market , 7: foreign exchange , 8: Futures , 9: Gold

,10: UK stock market) , Secondary classification ( 0:A shares - SW industry , 1:A shares - SW secondary , 2:A shares - hot concepts ,3:A shares - concept sector ,4:A shares -Geographic sector , 5: A shares - China Securities Regulatory Commission industry , 6: A shares - classification , 7: A shares - index components , 8: A shares - risk warning , 9: A shares - large market index , 10: A shares - secondary New shares , 11: A shares - Shanghai-Hong Kong Stock Connect , 12: A shares-Shenzhen-Hong Kong Stock Connect , 13: Fund - Closed-end Fund , 14: Fund - Open-end Fund , 15: Fund - Monetary Fund , 16: Fund -ETF Net Value , 17: Fund -ETF Fund Quotes , 18: Fund -LOF Fund Quotes , 21: Funds - Science and Technology Innovation Board Funds , 22: Hong Kong Stock Market - Hang Seng Industry , 23: Hong Kong Stock Market - All Hong Kong Stocks , 24: Hong Kong Stock Market - Hot Hong Kong Stocks , 25: Hong Kong Stock Market - Blue Chip Stocks , 26: Hong Kong Stock Market - Red Chip Stocks , 27 : Hong Kong Stock Market - State-owned Enterprise Stocks,28: Hong Kong stock market - GEM ,29: Hong Kong stock market - Index ,30: Hong Kong stock market -A+H,31: Hong Kong stock market- warrant ,32: Hong Kong stock market - ADR,33: Hong Kong stock market -Shanghai - Hong Kong Stock Connect ,34 : Hong Kong stock market - Shenzhen-Hong Kong Stock Connect , 35: Hong Kong stock market - China series index , 36: Bond - Shanghai and Shenzhen bond , 37: Bond - Shenzhen bond , 38: Bond - Shanghai bond , 39: Bond - Shanghai and Shenzhen convertible bond ,40: U.S. stock market - Chinese concept stocks , 41: U.S. stock market - technology, 42: US stock market - finance , 43: US stock market - manufacturing and retail , 44: US stock market - auto energy , 45: US stock market - media , 46: US stock market - medicine and food , 48: foreign exchange - basic exchange rate ,49: Foreign Exchange - Popular Exchange Rates ,50: Foreign Exchange - All Exchange Rates ,51: Foreign Exchange - Cross Exchange Rates ,52: Foreign Exchange - US Dollar Related Exchange Rates ,53: Foreign Exchange - RMB Related Exchange Rates ,54: Futures - Global Futures ,55 : Futures- China Financial Futures Exchange , 56:Futures - Shanghai Futures Exchange , 57: Futures - Dalian Commodity Exchange , 58: Futures - Zhengzhou Commodity Exchange , 59: Gold - Gold Spot , 60: Gold - Gold Futures , levels, starting from 0 , the root node is 0 , Secondary node is 1 , and so on , parent node code , parent node name , whether it is a leaf node, 0 : No, 1 : Yes ]

4. Find relevant stocks based on indexes, industries, and concepts

Path: Shanghai and Shenzhen A shares - stock basic interface - index, industry, concept
API : https://ig507.com/data/time/indextree/index , industry, concept code ?licence= your license
description: according to " index, Industry, concept tree " interface to get the code as a parameter to get the relevant stock.
Keywords: [ Code (according to the interface parameter may be A -share stock code, or other index, industry, concept stock code) , name (according to interface parameter may be A -share stock code, or other index, industry, The stock name of the concept) , the exchange, "sh" means the Shanghai Stock Exchange, "sz" means the Shenzhen Stock Exchange (if the return is an A -share stock, then it has a value, otherwise it is null ) ]

5. Find relevant indexes, industries, and concepts based on stocks

Path: Shanghai and Shenzhen A shares - stock basic interface - index, industry, concept
API : https://ig507.com/data/time/iii/stock code ?licence= your license
description: the stock obtained according to the "stock list" The code is used as a parameter to get related indexes, industries, and concepts.
Keyword: [ index, industry, concept code, such as: sw2_650300, index, industry, concept name, such as: Shanghai and Shenzhen stock markets - Shenwan Second Level - National Defense Military Industry - Ground Military Equipment ]

6. Main capital trend

Path: Shanghai and Shenzhen A shares - stock basic interface - capital flow
API : https://ig507.com/data/time/zijin/zlzjzs/stock code ?licence= your license
description: the stock code obtained according to the "stock list" As a parameter, get the trend of main funds per minute, in reverse chronological order.
Keywords: [ time yyyy-MM-dd HH:mm:ss, change (%), main force inflow ( yuan ), main force inflow rate (%), main force outflow ( yuan ), main force net inflow ( yuan ), main force Net inflow rate (%), retail inflow rate (%)]

7. Fund inflow trend

Path: Shanghai and Shenzhen A shares - stock basic interface - capital flow
API : https://ig507.com/data/time/zijin/zjlrqs/stock code ?licence= your license
description: the stock code obtained according to the "stock list" As a parameter, the daily capital inflow trend in the past ten years is obtained, in reverse chronological order.
Keyword: [ time yyyy-MM-dd, increase and decrease (%), turnover rate (%), net inflow ( yuan ), net inflow rate (%), main force net inflow ( yuan ), main force net inflow rate ( %), industry net inflow ( yuan ), industry net inflow rate (%)]

8. Fund inflow trend in the last 10 days

Path: Shanghai and Shenzhen A shares - stock basic interface - capital flow
API : https://ig507.com/data/time/zijin/zjlrqs/last10/stock code ?licence= your license
description: obtained according to the "stock list" The stock code is used as a parameter to get the capital inflow trend in the last 10 days, in reverse chronological order. Keyword: [ time yyyy-MM-dd, increase and decrease (%), turnover rate (%), net inflow ( yuan ), net inflow rate (%), main force net inflow ( yuan ), main force net inflow rate ( %), industry net inflow ( yuan ), industry net inflow rate (%)]

9. The main trend of the stage

Path: Shanghai and Shenzhen A shares - stock basic interface - capital flow
API : https://ig507.com/data/time/zijin/jdzldx/stock code ?licence= your license
description: the stock code obtained according to the "stock list" As a parameter, the main trend of the daily stage in the past ten years is obtained, in reverse chronological order.
Keyword: [ time yyyy-MM-dd, net inflow of main force in the past 3 days ( yuan) , net inflow of main force in the past 5 days ( yuan) , net inflow of main force in the past 10 days ( yuan) , net inflow rate of main force in the past 3 days (% ) , the main net inflow rate in the past 5 days (% ) ,Main net inflow rate in the past 10 days (% ) ]

10. Main trends in the last 10 days

Path: Shanghai and Shenzhen A shares - stock basic interface - capital flow
API : https://ig507.com/data/time/zijin/jdzldx/last10/stock code ?licence= your license
description: obtained according to the "stock list" The stock code is used as a parameter to get the main trend in the last 10 days, in reverse chronological order. Keyword: [ time yyyy-MM-dd, net inflow of main force in the past 3 days ( yuan) , net inflow of main force in the past 5 days ( yuan) , net inflow of main force in the past 10 days ( yuan) , net inflow rate of main force in the past 3 days (% ) , the main net inflow rate in the past 5 days (%
) , the main net inflow rate in the past 10 days (% ) ]

Guess you like

Origin blog.csdn.net/disalong/article/details/130346465