Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes

Started by eagleeye, May 29, 2015, 09:12:30 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

eagleeye

TheValueSwan
www.thevalueswan.com

eagleeye

Dan byte master was right when in bitCNY it will be better but let's get this up for now and see if there is any demand.
TheValueSwan
www.thevalueswan.com

tonyk

Quote from: monsterer on June 01, 2015, 02:08:24 PM
Quote from: tonyk on June 01, 2015, 01:42:50 PM
So, for this index the weight is the number of shares issued by each individual company. The problem I see is that you must have current correct amount of shares issued for every company at all times. It can be a pain...and no I do not know where to get (and update) those numbers from.

Why do we need to recompute the index when it already has a value from yahoo? I'm not following the logic there.

I do not see much value in recalculating it, but that was the question asked.
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

xeroc

Quote from: monsterer on June 01, 2015, 02:08:24 PM
Quote from: tonyk on June 01, 2015, 01:42:50 PM
So, for this index the weight is the number of shares issued by each individual company. The problem I see is that you must have current correct amount of shares issued for every company at all times. It can be a pain...and no I do not know where to get (and update) those numbers from.

Why do we need to recompute the index when it already has a value from yahoo? I'm not following the logic there.
No we don't ..

monsterer

Quote from: tonyk on June 01, 2015, 01:42:50 PM
So, for this index the weight is the number of shares issued by each individual company. The problem I see is that you must have current correct amount of shares issued for every company at all times. It can be a pain...and no I do not know where to get (and update) those numbers from.

Why do we need to recompute the index when it already has a value from yahoo? I'm not following the logic there.
My opinions do not represent those of metaexchange unless explicitly stated.
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

xeroc

Quote from: monsterer on June 01, 2015, 01:17:30 PM
Quote from: xeroc ¯\_(ツ)_/¯ on June 01, 2015, 01:07:52 PM
Ok .. so this would be a patch for my script:

https://github.com/xeroc/bitshares-pytools/compare/master...indices

I denominate the index in CNY but before I merge this with "master" I need someone to figure out some more details about the INDEX .. in particular, I am interested to know HOW exactly the index is derived and what the weights/percentages for the individual stocks/assets are ..
Can someone figure them out or point me to where I can find them?

What values do you get spat out of that script? It looks ok from a cursory glance, but without running it, I can't tell for sure :)

Here are the component parts of the index:

http://www.szse.cn/main/en/marketdata/Indiceslist/

It doesn't say how they are weighted, tho.

Quote from: tonyk on June 01, 2015, 01:42:50 PM
Quote from: xeroc ¯\_(ツ)_/¯ on June 01, 2015, 01:07:52 PM
Ok .. so this would be a patch for my script:

https://github.com/xeroc/bitshares-pytools/compare/master...indices

I denominate the index in CNY but before I merge this with "master" I need someone to figure out some more details about the INDEX .. in particular, I am interested to know HOW exactly the index is derived and what the weights/percentages for the individual stocks/assets are ..
Can someone figure them out or point me to where I can find them?

according to wikipedia : http://en.wikipedia.org/wiki/SSE_Composite_Index


SSE Indices are all calculated using a Paasche weighted composite price index formula. This means that the index is based on a base period on a specific base day for its calculation. The base day for SSE Composite Index is December 19, 1990, and the base period is the total market capitalization of all stocks of that day. The Base Value is 100. The index was launched on July 15, 1991.
The formula is:

Current index = Current total market cap of constituents × Base Value / Base Period
Total market capitalization = ∑ (price × shares issued)


So, for this index the weight is the number of shares issued by each individual company. The problem I see is that you must have current correct amount of shares issued for every company at all times. It can be a pain...and no I do not know where to get (and update) those numbers from.

Thanks!
At least it seems reasonable now to denomiate them in CNY ...

This is another page that at least lists the components
http://www.reuters.com/finance/markets/index?symbol=.SSEC

tonyk

Quote from: xeroc ¯\_(ツ)_/¯ on June 01, 2015, 01:07:52 PM
Ok .. so this would be a patch for my script:

https://github.com/xeroc/bitshares-pytools/compare/master...indices

I denominate the index in CNY but before I merge this with "master" I need someone to figure out some more details about the INDEX .. in particular, I am interested to know HOW exactly the index is derived and what the weights/percentages for the individual stocks/assets are ..
Can someone figure them out or point me to where I can find them?

according to wikipedia : http://en.wikipedia.org/wiki/SSE_Composite_Index


SSE Indices are all calculated using a Paasche weighted composite price index formula. This means that the index is based on a base period on a specific base day for its calculation. The base day for SSE Composite Index is December 19, 1990, and the base period is the total market capitalization of all stocks of that day. The Base Value is 100. The index was launched on July 15, 1991.
The formula is:

Current index = Current total market cap of constituents × Base Value / Base Period
Total market capitalization = ∑ (price × shares issued)


So, for this index the weight is the number of shares issued by each individual company. The problem I see is that you must have current correct amount of shares issued for every company at all times. It can be a pain...and no I do not know where to get (and update) those numbers from.
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

monsterer

Quote from: xeroc ¯\_(ツ)_/¯ on June 01, 2015, 01:07:52 PM
Ok .. so this would be a patch for my script:

https://github.com/xeroc/bitshares-pytools/compare/master...indices

I denominate the index in CNY but before I merge this with "master" I need someone to figure out some more details about the INDEX .. in particular, I am interested to know HOW exactly the index is derived and what the weights/percentages for the individual stocks/assets are ..
Can someone figure them out or point me to where I can find them?

What values do you get spat out of that script? It looks ok from a cursory glance, but without running it, I can't tell for sure :)

Here are the component parts of the index:

http://www.szse.cn/main/en/marketdata/Indiceslist/

It doesn't say how they are weighted, tho.
My opinions do not represent those of metaexchange unless explicitly stated.
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

xeroc

Ok .. so this would be a patch for my script:

https://github.com/xeroc/bitshares-pytools/compare/master...indices

I denominate the index in CNY but before I merge this with "master" I need someone to figure out some more details about the INDEX .. in particular, I am interested to know HOW exactly the index is derived and what the weights/percentages for the individual stocks/assets are ..
Can someone figure them out or point me to where I can find them?


monsterer

Quote from: donkeypong on June 01, 2015, 03:00:19 AM
Why go to college when you could earn money right away by waiting tables? Because it's an investment in your future. Do this once and do it right, even if you have to wait for the technology.

I think we can have our cake, and eat it. If we price the index in CNY, then just convert that to BTS (since all feeds must be listed in BTS anyway). That way it will work consistently when we are able to price in CNY without converting?
My opinions do not represent those of metaexchange unless explicitly stated.
[url="https://metaexchange.info"]https://metaexchange.info[/url] | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

donkeypong

Quote from: eagleeye on May 30, 2015, 02:23:51 AM
Quote from: bytemaster on May 30, 2015, 01:21:25 AM
Wait for BitAssets 2.0 and then back these by BitCNY rather than BTS.    Speculating that BTS will outperform the stock market is much riskier than speculating that it will outperform cash.

How long till BitAssets 2.0?  If we lose these markets we are done for.

In 1 week we outperformed the SSE Composite over a year.

If it takes another month to get the bitAssets 2.0 we could have already generated 200 million in index assets.

Why go to college when you could earn money right away by waiting tables? Because it's an investment in your future. Do this once and do it right, even if you have to wait for the technology.


eagleeye

TheValueSwan
www.thevalueswan.com

eagleeye

Quote from: Thom on May 31, 2015, 01:47:00 PM
Excuse my ignorance here, but the two items you're discussing feeds for are stock market indexes, whose price is set only once per day (https://en.wikipedia.org/wiki/SSE_Composite_Index), so why is a price feed necessary, why not rely on the published index price?

Is it b/c there is something like a mutual fund (a single, tradable entity) that represents this index? If so I could see the need to track the trading price for such an item, but I don't get it for the index itself which is only set once a day.

They are priced all the time when the stock exchanges are open, they are indexes that are a complimation of all stocks in the exchanges but it's a bit more complicated then that because there are different ones and ones like the S&P 500 which is the 500 biggest stocks in the USA.

Go to those finance Yahoo links and watch it trade in 5 hrs from now.
TheValueSwan
www.thevalueswan.com