Author Topic: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes  (Read 22586 times)

0 Members and 1 Guest are viewing this topic.

Offline eagleeye

  • Hero Member
  • *****
  • Posts: 931
    • View Profile
Shenzhen was up 3.5% today while Shanghai was up 1.6%

Offline eagleeye

  • Hero Member
  • *****
  • Posts: 931
    • View Profile
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.

Offline tonyk

  • Hero Member
  • *****
  • Posts: 3308
    • View Profile
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.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
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 ..

Offline monsterer

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.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: 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?

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.

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

Offline tonyk

  • Hero Member
  • *****
  • Posts: 3308
    • View Profile
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.

Offline monsterer

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.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: 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?


Offline monsterer

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.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline donkeypong

  • Hero Member
  • *****
  • Posts: 2329
    • View Profile
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.



Offline eagleeye

  • Hero Member
  • *****
  • Posts: 931
    • View Profile
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.
« Last Edit: May 31, 2015, 09:20:57 pm by eagleeye »