BitShares Forum

Main => General Discussion => Topic started by: paliboy on September 19, 2017, 08:23:27 am

Title: CNY feed after Chinese exchanges halt trading
Post by: paliboy on September 19, 2017, 08:23:27 am
Hi all,

since BitShares bitCNY feed depends on prices on external centralized exchanges and probably all of Chinese ones will stop trading soon, what implications does it have on BitShares? Will it influence stability of bitCNY? Do we have contingency plan for bitCNY?
Title: Re: CNY feed after Chinese exchanges halt trading
Post by: fluxer555 on September 19, 2017, 04:29:43 pm
We will likely do conversion from BTS->USD->CNY to attain the feed price, but I'm not sure if the witnesses have this all figured out yet.
Title: Re: CNY feed after Chinese exchanges halt trading
Post by: fav on September 19, 2017, 04:59:56 pm
very important question. witnesses please state your intentions.
Title: Re: CNY feed after Chinese exchanges halt trading
Post by: oldman on September 19, 2017, 06:59:27 pm
Wonder if we could create a worker to fund using something like this:

https://www.xignite.com/forex/product#ka0400000008SmZAAU

$3k per year would be easy to do via a worker and we would have at least one very, very solid feed that we never have to worry about.

$3k gets 1000 API hits per month, so all witnesses could hit it a few times per day to keep things in line.

For $13k/year witnesses could basically have a real time feed with unlimited API hits
Title: Re: CNY feed after Chinese exchanges halt trading
Post by: oldman on September 19, 2017, 07:02:31 pm
Here are some free feeds:


up vote
47
down vote
TrueFX has free real-time (multiple updates per second) forex quotes, but only for a limited number of pairs: http://webrates.truefx.com/rates/connect.html?f=html

They also have free downloadable tick data for the same pairs, going back to May 2009: http://truefx.com/?page=downloads

You can get real-time quotes for a larger selection of pairs from FXCM: http://rates.fxcm.com/RatesXML

Realtime rates for about 40 currency pairs are available here: http://1forge.com/forex-data-api, eg: https://1forge.com/forex-quotes/quotes

They also have free downloadable tick-data, going back to 2007, but you need to create a demo account and use a COM based Windows API called Order2Go to retrieve it.

They promised that they will make available the same tick data in CSV format for free sometime this year here: http://www.forexcodesource.com/index.php/Category:Historical_Data
Title: Re: CNY feed after Chinese exchanges halt trading
Post by: sahkan on September 20, 2017, 05:11:27 pm
We will likely do conversion from BTS->USD->CNY to attain the feed price, but I'm not sure if the witnesses have this all figured out yet.
The price feed will depend on Bitshares liquidity vs CNY. If there is a reliable exchange that has BTS:CNY pair we will use that, otherwise we will have to calculate the fair value of BTS in CNY based on the current USD:CNY pair.
Title: Re: CNY feed after Chinese exchanges halt trading
Post by: yvv on September 20, 2017, 05:46:04 pm
Consider BTC/CNY -> BTS/BTC too. Whichever has a higher volume.