index.CN: Grab Real-Time Stock Index Information in China Market

Description Usage Arguments Details Value Note Author(s) Examples

View source: R/index.CN.R

Description

With 'index.CN' function, users can obtain the real-time information about the stock index in China market, including Shanghai Stock Exchange (SSE) and Shenzhen Stock Exchange (SZSE).

Usage

1
index.CN(exchange)

Arguments

exchange

The stock exchange.

Available options include "sh" and "sz" for Shanghai Stock Exchange and Shenzhen Stock Exchange, respectively.

Details

There are two stock exchanges in China, Shanghai Stock Exchange (SSE) and Shenzhen Stock Exchange (SZSE). The trading hours are 9:30 to 11:30, and 13:00 to 15:00 (Beijing time, i.e. UTC+08:00), Monday to Friday, excluding public holidays in China).

Value

index

The name of the index

index.value

The current value of the index

change

The change of the index within the day

change.percentage

The percentage of the corresponding change.

If the value here is 0.07, then the change is 0.07%.

volume.hand

The volume tranded within the day.

Please note that the unit here is "hand", that is 100 stocks. This is a commonly used unit in China Market.

amount.10k

The amount within the day.

Please note that here the unit is 10k Chinese Yuan. That is, if the amount here is 1, then the actual amount is 10,000 Chinese Yuan.

Note

1. Please note that the unit used for volume traded in this function is "hand", that is 100 stocks. This is a commonly used unit in China Market;

2. Please note that the unit used for amount traded in this function is 10k Chinese Yuan. That is, if the amount here is 1, then the actual amount is 10,000 Chinese Yuan.

3. The dates and time stamps produced from this function are in Beijing time, i.e. in timezone UTC+08:00.

Author(s)

Xiaodong Deng <xd_deng@hotmail.com>

Examples

1
index.CN("sh")

StockChina documentation built on May 2, 2019, 6:51 a.m.