BitShares Forum

Main => General Discussion => Topic started by: eagleeye on May 29, 2015, 09:12:30 pm

Title: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: eagleeye on May 29, 2015, 09:12:30 pm
Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes

First shout out to the props of Monsterer for his work on this, without him this would not be done.

We need 51 delegates, please talk to any of your 101 delegate friends to approve this asset.

You will be able to trade the Shenzhen and Shanghai stock exchange composite indexes found here on the Bitshares Decentralized Exchange Platform ticker symbols SHENZHEN and SHANGHAI.

http://www.bitsharesblocks.com/asset/info?asset=SHENZHEN
http://www.bitsharesblocks.com/asset/info?asset=SHANGHAI

These market pegged assets (MPAS) mimic (track) the Shenzhen Stock Exchange Composite Index (399106.SZ) http://finance.yahoo.com/q?s=399106.SZ and the Shanghai Stock Exchange Composite Index (000001.SS) https://ca.finance.yahoo.com/q?s=000001.SS

Please approve this so we can start getting the volume up.

We need bots, we need market markers, we need traders, we need investors.  Be one of them and welcome to the Stock Boom.

Also if anyone wants to get the NYSE, LSE, NASDAQ up, im all for it.
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: proctologic on May 29, 2015, 09:13:16 pm
 +5%
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: monsterer on May 29, 2015, 09:17:35 pm
These market pegged assets (MPAS) mimic (track) the Shenzhen Stock Exchange Composite Index (399106.SZ) http://finance.yahoo.com/q?s=399106.SZ and the Shanghai Stock Exchange Composite Index (000001.SS) https://ca.finance.yahoo.com/q?s=000001.SS

We've set the ground work, but we're not quite there yet - we still need a feed script hero to create a pull request which includes these two indices :)

edit: I've also created:

http://www.bitsharesblocks.com/asset/orderbook?asset=HANGSENG
http://www.bitsharesblocks.com/asset/orderbook?asset=NASDAQC
http://www.bitsharesblocks.com/asset/orderbook?asset=NIKKEI

In the past, so any of these is also going to be awesome!
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: eagleeye on May 29, 2015, 09:21:42 pm
These market pegged assets (MPAS) mimic (track) the Shenzhen Stock Exchange Composite Index (399106.SZ) http://finance.yahoo.com/q?s=399106.SZ and the Shanghai Stock Exchange Composite Index (000001.SS) https://ca.finance.yahoo.com/q?s=000001.SS

We've set the ground work, but we're not quite there yet - we still need a feed script hero to create a pull request which includes these two indices :)

edit: I've also created:

http://www.bitsharesblocks.com/asset/orderbook?asset=HANGSENG
http://www.bitsharesblocks.com/asset/orderbook?asset=NASDAQC
http://www.bitsharesblocks.com/asset/orderbook?asset=NIKKEI

In the past, so any of these is also going to be awesome!

Im willing to pay a 2k BTS bounty for anyone to do what monsterer just said.  This bounty will be denominated in bitcoin but you can trade it into bts.
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: bitmarket on May 29, 2015, 09:29:14 pm
This really is a great idea.
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: eagleeye on May 29, 2015, 09:32:16 pm
These market pegged assets (MPAS) mimic (track) the Shenzhen Stock Exchange Composite Index (399106.SZ) http://finance.yahoo.com/q?s=399106.SZ and the Shanghai Stock Exchange Composite Index (000001.SS) https://ca.finance.yahoo.com/q?s=000001.SS

We've set the ground work, but we're not quite there yet - we still need a feed script hero to create a pull request which includes these two indices :)

edit: I've also created:

http://www.bitsharesblocks.com/asset/orderbook?asset=HANGSENG
http://www.bitsharesblocks.com/asset/orderbook?asset=NASDAQC
http://www.bitsharesblocks.com/asset/orderbook?asset=NIKKEI

In the past, so any of these is also going to be awesome!

Im willing to pay a 2k BTS bounty for anyone to do what monsterer just said.  This bounty will be denominated in bitcoin but you can trade it into bts.

Add 2k to that on me.

Thank you BitcoinJesus 2.0, your graphic in the other thread rocks!
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: jsidhu on May 29, 2015, 10:09:14 pm
Please amend the feed script and I will update my delegate asap. If you need help I can take a look at the script.
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: eagleeye on May 29, 2015, 10:25:16 pm
Im now paying $100 USD from Paypal (not using bitshares or bitcoin) for this bounty.

BitcoinJesus2.0 has said he'll give 2000 BTS.

So $100 USD if you use it to buy bitshares will be 14000 BTS + the 2000 BTS from Jesus
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: Permie on May 29, 2015, 10:31:30 pm
Community action at work!

How much of an advantage is the fact that MPAs will be able to trade 24/7?
I'm thinking we could get a lot of liquidity at the weekends.
Do any other stock indexes continue to trade at the weekend?
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: eagleeye on May 29, 2015, 10:35:12 pm
Community action at work!

How much of an advantage is the fact that MPAs will be able to trade 24/7?
I'm thinking we could get a lot of liquidity at the weekends.
Do any other stock indexes continue to trade at the weekend?

The futures market in the United States starts trading on Sunday afternoon.

Because our transaction fees are so low, we could dethrone the equity markets.
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: CLains on May 29, 2015, 11:21:58 pm
Brilliant :D
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: fuzzy on May 30, 2015, 12:01:29 am
Definitely HUGE potential here.
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: 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.
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: eagleeye on May 30, 2015, 02:23:51 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.

Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: BunkerChainLabs-DataSecurityNode on May 30, 2015, 08:13:46 am
paging delegate btstools.digitalgaia to modify the feed script to include these markets.  +5%

If anybody should get feeds done it should be him.
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: xeroc on May 30, 2015, 10:12:21 am
The issue I am having when implementing this is that an INDEX is not denominated in an other currency .. but we need the price as a ratio to BTS ..

Or am I seeing something wrong?
Are SHENZHEN COMPOSITs denominated in CNY?
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: monsterer on May 30, 2015, 04:58:23 pm
The issue I am having when implementing this is that an INDEX is not denominated in an other currency .. but we need the price as a ratio to BTS ..

Or am I seeing something wrong?
Are SHENZHEN COMPOSITs denominated in CNY?

I don't know the answer to this question - I had imagined these new indicies would be priced in BTS directly,but I guess you could price them in CNY->BTS if that's a better way to go?
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: eagleeye on May 30, 2015, 05:11:56 pm
The issue I am having when implementing this is that an INDEX is not denominated in an other currency .. but we need the price as a ratio to BTS ..

Or am I seeing something wrong?
Are SHENZHEN COMPOSITs denominated in CNY?

Price it in BTS there not priced in a currency Xeroc
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: eagleeye on May 30, 2015, 05:18:10 pm
In the futures market they denote 1 point on the S&P 500 E-Mini as $50 or $100 dollars go here http://futures.tradingcharts.com/chart/ES/
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: xeroc on May 30, 2015, 05:39:45 pm
In the futures market they denote 1 point on the S&P 500 E-Mini as $50 or $100 dollars go here http://futures.tradingcharts.com/chart/ES/
That's good to know .. but what is of "price for 1 point" in Shenzhen and Shanghai Stock Exchange Composite Indexes?
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: monsterer on May 30, 2015, 05:56:55 pm
In the futures market they denote 1 point on the S&P 500 E-Mini as $50 or $100 dollars go here http://futures.tradingcharts.com/chart/ES/
That's good to know .. but what is of "price for 1 point" in Shenzhen and Shanghai Stock Exchange Composite Indexes?

I would just price it in BTS like, shenzhen is currently 2793.25, here: http://www.bloomberg.com/quote/SZCOMP:IND, so 2793.25 BTS seems logical? Guess that's 1:1?
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: xeroc on May 30, 2015, 06:05:17 pm
I would just price it in BTS like, shenzhen is currently 2793.25, here: http://www.bloomberg.com/quote/SZCOMP:IND, so 2793.25 BTS seems logical? Guess that's 1:1?
Would make it easy to update the price feed script and would also make it independent of CNY price .. not sure if this is the desired effect .. also this is not something we can "just decide" .. is it?
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: tonyk on May 30, 2015, 06:08:36 pm
In the futures market they denote 1 point on the S&P 500 E-Mini as $50 or $100 dollars go here http://futures.tradingcharts.com/chart/ES/
That's good to know .. but what is of "price for 1 point" in Shenzhen and Shanghai Stock Exchange Composite Indexes?

I would just price it in BTS like, shenzhen is currently 2793.25, here: http://www.bloomberg.com/quote/SZCOMP:IND, so 2793.25 BTS seems logical? Guess that's 1:1?

LOL
'Pricing' it in BTS this way will be truly funny.  :)
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: xeroc on May 30, 2015, 06:10:39 pm
'Pricing' it in BTS will be truly funny.  :)
Hey tony .. good to have you back .. haven't seen you in a while ..

could you elaborate why pricing it in BTS would be "funny"?
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: monsterer on May 30, 2015, 06:15:38 pm
Would make it easy to update the price feed script and would also make it independent of CNY price .. not sure if this is the desired effect .. also this is not something we can "just decide" .. is it?

I guess we could do with some chinese input on the subject of how to price these?
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: eagleeye on May 30, 2015, 06:19:16 pm
If we price it in BTS we could become the new standard in the future.

CNY is a heavily manipulated currency, we could always do what byte master says whenever bitasset 2.0 is coming up but waiting is not prudent.  People from other crypts could be watching this forum, waiting for us to f up.
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: tonyk on May 30, 2015, 06:27:54 pm
'Pricing' it in BTS will be truly funny.  :)
Hey tony .. good to have you back .. haven't seen you in a while ..

could you elaborate why pricing it in BTS would be "funny"?

OK funny to me...reminds me in my 4-5 grade proof that  D (distance traveled) = time^2 or D=speed^2,
...thought I discovered something great....well for couple of hours at least while enjoying the discovery instead of searching for the error in my proof.
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: eagleeye on May 30, 2015, 06:48:19 pm
What's the problem getting it up, seeing how much demand there is then getting a bitCNY pegged one up in a month or 2 when bitasset 2.0 is out.
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: BunkerChainLabs-DataSecurityNode on May 31, 2015, 04:50:48 am
What's the problem getting it up, seeing how much demand there is then getting a bitCNY pegged one up in a month or 2 when bitasset 2.0 is out.

As you said:
Quote
People from other crypts could be watching this forum, waiting for us to f up.

I think they just want to do things right.

If it's worth doing, it's worth doing it right.

I think that was basically why bytemaster already suggested to hold on.
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: monsterer on May 31, 2015, 10:38:34 am
Why don't we just price it like bitSILVER is priced? There is no exchange trading bitsilver, so the price comes through USD, I think. So, just price the index against CNY, and then convert CNY into BTS?
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: 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 (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.
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: eagleeye on May 31, 2015, 09:18:20 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 (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.
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: eagleeye on June 01, 2015, 01:43:23 am
See we are trading now with delayed quotes on http://finance.yahoo.com/q?s=399106.SZ
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: eagleeye on June 01, 2015, 01:48:17 am
It seems Google finance updates in real time https://www.google.com/finance?q=SHE%3A399106&ei=tblrVYHnMcPViwL1-YCQBA
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: donkeypong on June 01, 2015, 03:00:19 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.
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: monsterer on June 01, 2015, 08:55:15 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?
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: karnal on June 01, 2015, 12:02:40 pm
Definitely HUGE potential here.

Absolutely!
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: 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?
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: monsterer on June 01, 2015, 01:17:30 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.
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: tonyk on June 01, 2015, 01:42:50 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.
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: xeroc on June 01, 2015, 02:01:38 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.

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
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: monsterer on June 01, 2015, 02:08:24 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.
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: xeroc on June 01, 2015, 02:21:56 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 ..
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: tonyk on June 01, 2015, 02:28:02 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.
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: eagleeye on June 02, 2015, 03:19:46 am
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.
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: eagleeye on June 02, 2015, 07:29:05 am
Shenzhen was up 3.5% today while Shanghai was up 1.6%
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: xeroc on June 02, 2015, 07:34:37 am
Shenzhen was up 3.5% today while Shanghai was up 1.6%
By the way, my patch does not include SHANGHAI because the export from yahoo returns N/A.
you can check by clicking "Download Data (delayed)" in
https://ca.finance.yahoo.com/q?s=000001.SS
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: liondani on June 02, 2015, 10:30:40 am
Can we have such an update from the other scripts  too... ?

Sent from my ALCATEL ONE TOUCH 997D

Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: wackou on June 02, 2015, 11:33:49 am

Can we have such an update from the other scripts  too... ?

Sent from my ALCATEL ONE TOUCH 997D
I had sth running yesterday, but I'm without laptop today, I will post an update to the bts_tools tomorrow at the latest and will also publish the feed (shenzhen only, same problem as xeroc for shanghai. I think I've found a workaround but I need to spend a bit more time on it)
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: eagleeye on June 02, 2015, 09:14:47 pm
Xeroc and wacko u, you guys rock.

Is it at a level I can start promoting it to the delegates, if even we can just do Shenzhen?
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: wackou on June 03, 2015, 02:24:39 am
I just released version 0.2.4 of the bts_tools package which now allows to publish feeds for SHENZHEN (priced in CNY), NASDAQC (in USD), NIKKEI (in JPY) and HANGSENG (in HKD).

My delegate bts_tools.digitalgaia is now publishing those feeds as well.

Please remember to vote for btstools.digitalgaia, which is now in position 102! If it gets voted in, here's a list of the things I propose to develop: https://bitsharestalk.org/index.php/topic,14501.0.html and https://bitsharestalk.org/index.php/topic,12534.0.html
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: eagleeye on June 03, 2015, 03:24:03 am
I just released version 0.2.4 of the bts_tools package which now allows to publish feeds for SHENZHEN (priced in CNY), NASDAQC (in USD), NIKKEI (in JPY) and HANGSENG (in HKD).

My delegate bts_tools.digitalgaia is now publishing those feeds as well.

Please remember to vote for btstools.digitalgaia, which is now in position 102! If it gets voted in, here's a list of the things I propose to develop: https://bitsharestalk.org/index.php/topic,14501.0.html and https://bitsharestalk.org/index.php/topic,12534.0.html

Wow Wackou, you rock, your building tomorrow land, let's see how much demand we get after 51 delegates do the update, I'll start a thread in a bit.
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: wackou on June 03, 2015, 03:28:26 am
Thanks  :)
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: eagleeye on June 03, 2015, 03:47:42 am
Wackow please provide your paypal account in a message to me, I wrote that I would give $100 and I will but as I said it would have to be Paypal, I cant give up any BTS (LOL)
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: liondani on June 03, 2015, 06:08:48 am
I just released version 0.2.4 of the bts_tools package which now allows to publish feeds for SHENZHEN (priced in CNY), NASDAQC (in USD), NIKKEI (in JPY) and HANGSENG (in HKD).

My delegate bts_tools.digitalgaia is now publishing those feeds as well.

Please remember to vote for btstools.digitalgaia, which is now in position 102! If it gets voted in, here's a list of the things I propose to develop: https://bitsharestalk.org/index.php/topic,14501.0.html and https://bitsharestalk.org/index.php/topic,12534.0.html

if not today, tomorrow 2 delegates will updated to the new version  ;) 
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: BunkerChainLabs-DataSecurityNode on June 03, 2015, 06:39:06 am
http://vote.bunkershares.com is updated and publishing these feeds NOW!

We have one voted in, if we get the other five voted in then you will have 6 with the updated feeds!

Check out the link and vote today!  :)

Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: liondani on June 03, 2015, 06:59:33 am
Can we have such an update from the other scripts  too... ?

Sent from my ALCATEL ONE TOUCH 997D

 @alt
what about bitsuperlab script ?
https://github.com/bitsuperlab/operation_tools
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: liondani on June 03, 2015, 07:04:11 am
http://vote.bunkershares.com is updated and publishing these needs NOW!

We have one voted in, if we get the other five voted in then you will have 6 with the updated feeds!

Check out the link and vote today!  :)


 +5%
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: monsterer on June 03, 2015, 07:04:44 am
I just released version 0.2.4 of the bts_tools package which now allows to publish feeds for SHENZHEN (priced in CNY), NASDAQC (in USD), NIKKEI (in JPY) and HANGSENG (in HKD).

Fantastic! Great work, you've got my vote :)
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: liondani on June 03, 2015, 07:06:16 am
I just released version 0.2.4 of the bts_tools package which now allows to publish feeds for SHENZHEN (priced in CNY), NASDAQC (in USD), NIKKEI (in JPY) and HANGSENG (in HKD).

Fantastic! Great work, you've got my vote :)

 +5% +5% +5%
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: monsterer on June 03, 2015, 07:13:40 am
I just released version 0.2.4 of the bts_tools package which now allows to publish feeds for SHENZHEN (priced in CNY), NASDAQC (in USD), NIKKEI (in JPY) and HANGSENG (in HKD).

My delegate bts_tools.digitalgaia is now publishing those feeds as well.

Please remember to vote for btstools.digitalgaia, which is now in position 102! If it gets voted in, here's a list of the things I propose to develop: https://bitsharestalk.org/index.php/topic,14501.0.html and https://bitsharestalk.org/index.php/topic,12534.0.html

Any chance of getting a quick howto for getting these up and running? The docs at your github don't mention feeds: https://github.com/wackou/bts_tools
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: xeroc on June 03, 2015, 07:14:20 am
I will need to do some work on the feed script to support asset/indix prices denoted in HKD ..
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: xeroc on June 03, 2015, 07:15:25 am
I just released version 0.2.4 of the bts_tools package which now allows to publish feeds for SHENZHEN (priced in CNY), NASDAQC (in USD), NIKKEI (in JPY) and HANGSENG (in HKD).

My delegate bts_tools.digitalgaia is now publishing those feeds as well.

Please remember to vote for btstools.digitalgaia, which is now in position 102! If it gets voted in, here's a list of the things I propose to develop: https://bitsharestalk.org/index.php/topic,14501.0.html and https://bitsharestalk.org/index.php/topic,12534.0.html

Any chance of getting a quick howto for getting these up and running? The docs at your github don't mention feeds: https://github.com/wackou/bts_tools

http://bts-tools.readthedocs.org/en/latest/config_format.html?highlight=feed
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: liondani on June 03, 2015, 07:15:47 am
I will need to do some work on the feed script to support asset/indix prices denoted in HKD ..

You have never disappointed us!  ;)
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: xeroc on June 03, 2015, 11:32:43 am
Here we go:
https://github.com/xeroc/bitshares-pytools/commit/7b12c4695de3a4221dc6c8cf7200e8233b6710b6

(almost) complete restructure of the code ..
will make it alot easier to add more indices in the future
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: iHashFury on June 03, 2015, 12:05:39 pm
Here we go:
https://github.com/xeroc/bitshares-pytools/commit/7b12c4695de3a4221dc6c8cf7200e8233b6710b6

(almost) complete restructure of the code ..
will make it alot easier to add more indices in the future

Cool - will test it out now
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: wackou on June 03, 2015, 12:07:35 pm
I just released version 0.2.4 of the bts_tools package which now allows to publish feeds for SHENZHEN (priced in CNY), NASDAQC (in USD), NIKKEI (in JPY) and HANGSENG (in HKD).

My delegate bts_tools.digitalgaia is now publishing those feeds as well.

Please remember to vote for btstools.digitalgaia, which is now in position 102! If it gets voted in, here's a list of the things I propose to develop: https://bitsharestalk.org/index.php/topic,14501.0.html and https://bitsharestalk.org/index.php/topic,12534.0.html

Any chance of getting a quick howto for getting these up and running? The docs at your github don't mention feeds: https://github.com/wackou/bts_tools

http://bts-tools.readthedocs.org/en/latest/config_format.html?highlight=feed

as the link that xeroc posted mentions, you just need to configure a running delegate and add the "feeds" value to its "monitoring" field, this should ensure both checking feeds and publishing them. To troubleshoot feeds, you can set the debug level for feeds to DEBUG in the ~/.bts_tools/config.yaml file.
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: iHashFury on June 03, 2015, 12:33:18 pm
Awesome work xeroc, monsterer and wackou - my feeds are up and running
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: alt on June 04, 2015, 12:40:48 pm
I have add these feed
https://bitsharestalk.org/index.php/topic,16170.msg213621.html#msg213621

Can we have such an update from the other scripts  too... ?

Sent from my ALCATEL ONE TOUCH 997D

 @alt
what about bitsuperlab script ?
https://github.com/bitsuperlab/operation_tools
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: xeroc on June 06, 2015, 09:41:48 pm
What exactly has happend with the bounty offered in this thread? Just out of curiosity ...
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: eagleeye on June 06, 2015, 10:31:09 pm
What exactly has happend with the bounty offered in this thread? Just out of curiosity ...

$100 USD was paid to wackou because he made the first working script I believe
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: eagleeye on June 06, 2015, 10:33:19 pm
I just released version 0.2.4 of the bts_tools package which now allows to publish feeds for SHENZHEN (priced in CNY), NASDAQC (in USD), NIKKEI (in JPY) and HANGSENG (in HKD).

My delegate bts_tools.digitalgaia is now publishing those feeds as well.

Please remember to vote for btstools.digitalgaia, which is now in position 102! If it gets voted in, here's a list of the things I propose to develop: https://bitsharestalk.org/index.php/topic,14501.0.html and https://bitsharestalk.org/index.php/topic,12534.0.html

For info, if he wants to split it up between you (Xeroc) and monsterer that would be cool, I don't mind paying a partial bounty to Xeroc and monsterer if need be.
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: xeroc on June 07, 2015, 06:50:04 am
Na ... don't bother ..
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: monsterer on June 07, 2015, 10:43:16 am
I'm just happy to see these things happening - no reward required :)
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: monsterer on June 08, 2015, 08:36:30 am
5 more delegates to go!
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: testz on June 08, 2015, 05:51:58 pm
51, market is live now!!!  :)
https://bitsharesblocks.com/assets/market
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: xeroc on June 08, 2015, 05:57:05 pm
51, market is live now!!!  :)
https://bitsharesblocks.com/assets/market
Ha .. and that's not even "the announcement"(tm)

Good work @ delegates!!
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: clayop on June 08, 2015, 06:01:58 pm
51, market is live now!!!  :)
https://bitsharesblocks.com/assets/market

 +5%
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: iHashFury on June 08, 2015, 07:14:10 pm
51, market is live now!!!  :)
https://bitsharesblocks.com/assets/market
Ha .. and that's not even "the announcement"(tm)

Good work @ delegates!!

 +5%
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: monsterer on June 08, 2015, 07:40:36 pm
51, market is live now!!!  :)
https://bitsharesblocks.com/assets/market

Wooo! Fantastic! :)
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: karnal on June 08, 2015, 09:12:12 pm
Excellent!
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: hodor on June 08, 2015, 09:26:21 pm
Paging Mr. Hodor

Mr. Hodor please, you're presence is needed in the operating room

(http://cms.myspacecdn.com/cms/x/14/36/hodor.jpg)

Hodor hodor hodor...hodor, hodor.  :)
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: BunkerChainLabs-DataSecurityNode on June 09, 2015, 02:59:19 am
This is awesome...  +5% now what happens?!
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: eagleeye on June 09, 2015, 03:18:37 am
This is awesome...  +5% now what happens?!

We need to popularize Hang Seng and Shenzhen with the Chinese community as they are the traders.

We need to get into cointelegrah saying we did indexes which is the beginning of a decentralized stock market.

Also putting in the Facebook page and groups that this is now online.

As well as getting a marketing delegate or worker advertising on Facebook and render would be good, or QQ if they offer a type of advertising service.
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: eagleeye on June 09, 2015, 03:32:58 am
We need to get market making bots done for this, we need an accurate price.
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: svk on June 09, 2015, 07:38:46 am
Most of all you need people willing to short them into existence, so I'd suggest focusing on one index at a time in order to build some liquidity..
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: Permie on June 09, 2015, 10:34:52 am
We need to get market making bots done for this, we need an accurate price.
How can shareholders pool their funds together to make markets on the DEX?
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: onceuponatime on June 12, 2015, 04:29:01 am
"Buy Low, Sell High" - How China's Senior Citizens Are Learning To Trade Stocks

http://www.zerohedge.com/news/2015-06-11/buy-low-sell-high-how-chinas-senior-citizens-are-learning-trade-stocks
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: eagleeye on June 13, 2015, 02:42:23 am
Most of all you need people willing to short them into existence, so I'd suggest focusing on one index at a time in order to build some liquidity..

Sick I agree

Permie, we just need someone to develop the code or do the infrastructure work much like bitUSD
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: profitofthegods on June 13, 2015, 01:46:18 pm
Most of all you need people willing to short them into existence, so I'd suggest focusing on one index at a time in order to build some liquidity..

I would like to short NASDAQ
Title: Re: Market Pegged Assets - Shenzhen and Shanghai Stock Exchange Composite Indexes
Post by: rgcrypto on June 13, 2015, 02:29:10 pm
I wish you can own those bitassets once privatized and make a fortune! :)