Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - wackou

Pages: 1 ... 5 6 7 8 9 10 11 [12] 13 14 15 16 17 18 19 ... 33
166
Which is the simplest option to get everyone trading?

They both have the same complexity because you have to get all the delegates to update their scripts again either way. Here are some pros/cons:

new MPAs

Cons:

* Cost of registration for new MPA names is 5000 BTS / name
* Redundency - the first set of MPAs will continue to exist, with the better names, since the new ones would need to be unique

Pros:

* Can keep the CNY 1:1 pricing

price in BTS

Cons:

* Prices will be less familiar to the chinese traders if a /CNY market becomes available

Pros:

* Cheap to do
* Purity of pricing in BTS, just like the other MPAs

Scale existing CNY pricing down by 1000 (or some other number)

Cons:

* Prices will be unfamiliar to the chinese traders
* Feels dirty

Pros:

* Cheap to do

We're a little bit stuck between a rock and a hard place here...

That's a pretty accurate overview of what our options are, as far as I can tell. None feels perfect, but this should be solved in BitShares 2.0 anyway and in the meantime, I would also slightly prefer the 2nd option, same as Monsterer, it seems the cleanest and has another advantage if we do it: price value shown on the screen will be same in BitShares 0.9.x (as priced in BTS) and in BitShares 2.0 (as it will be priced in the native currency, but the main market will also be ASSET/NATIVE_CUR instead of ASSET/BTS, so the displayed value ends up being the same).

If we have a consensus on the way forward, then I will implement it as soon as possible, but we should wait for all scripts to be updated (xeroc, alt) in the same way before telling the delegates to upgrade, so as to try not to have a broken feed (some delegates publishing in BTS, some publishing in CNY, JPY, ...)


167
If you truly did update pypi then the issue must be host caching, b/c it definitely thought 0.2.6 was the most recent version. Now that it's up on github I will update the files that changed manually.

UPDATE: Confirmed- local machine is fine but vps still only gets the 0.2.6 version. I obtained the feeds update directly from github.

it was released on pypi, see: https://pypi.python.org/pypi/bts_tools/

sometimes pip gets mixed up with versions, so a way to upgrade a package that works everytime is to do "pip uninstall bts_tools && pip install bts_tools", maybe that'll solve your issues.

168
scrapping prices from google finance is against their TOS .. it may lead to trouble .. please read the TOS!

well, they used to have it clearly specified in their old TOS (see: http://www.google.com/policies/terms/archive/20070416-20120301/, they removed §5.3 about scraping), but in the new version, the language is much fuzzier:
Quote
Don’t misuse our Services. For example, don’t interfere with our Services or try to access them using a method other than the interface and the instructions that we provide.

It's not so clear to me anymore that scraping is explicitly forbidden here, but IANAL so don't take my word for it.

The other thing is that using google as a feed provider in the bts_tools entails fewer than 10 requests/hour, which is so low it will certainly not be detected or banned (although the pattern of querying clearly indicates scraping).

But you're right, this still feels a bit in a legal gray zone, so I'll make it configurable in the bts_tools which feed providers the delegate wants to use.

169
Please get that github updated so we can!!!!

oops sorry, it was very late and forgot to push :-[ This is fixed now. I did release it on pypi though, so "pip install --upgrade" would have worked, but you're right, I should be more careful.

I did want to get this out as soon as possible while this is still a hot topic, to make sure to take advantage that people are paying attention and to get those markets open.

I also wanted to thank eagleeye for pushing this issue. Even though those markets won't have a lot of depth at the beginning, I think it is important to be able to say that the markets are open and waiting for traders. I do believe that those markets are important for BitShares as they emphasize very clearly that BitAssets can track anything, not only fiat currencies but pretty much anything where people agree on what the name means. This is a crucial point, I believe, and it is much easier to show people that they can buy or sell NASDAQC, for instance, than trying to explain how it works.

170
In spite of the turmoil in my head (lots of things to process from bitshares 2.0! ;) ), I managed to work more on the feeds and I now have all 5 market indices (including SHANGHAI) working reliably.

The feeds are fetched simultaneously from Yahoo, Google and Bloomberg and use the average of the three. That means that if one of them goes down, we still get the info from the other two.

I also implemented a (very basic) system that warns you in the logs if the prices are not consistent between all the sources.

So for people using the bts_tools, please upgrade to the latest 0.2.8 version to get those running. Let's get those markets open!

171
Technical Support / Re: Announcing BitShares 2.0
« on: June 08, 2015, 11:33:24 pm »
I'm floored! This is an absolutely brilliant proposal, can't wait to see it in action :D

172
I'm looking at your repo on github and the 0.2.6 release is not there.

Sorry, I released on pypi, but forgot to push to github. This should be fixed now.

173
a thing we should think is for now, much  feed price is come from yahoo finance, we need more source can replace yahoo.

I agree 100% on finding multiple sources for the feeds, otherwise we are completely centralized :o

Thing is, yahoo is the main high-quality, easily accessible api on the internet, by large...

I'll try to find some time and see if I can scrape properly google and/or bloomberg, which could allow delegates to choose where they want their feed from.

174
I just released version 0.2.6 of the tools, which adds the feed for the SHANGHAI asset. This brings the total list to:

SHENZHEN (yahoo index: 399106.SZ)
SHANGHAI (yahoo index: 000001.SS)
NIKKEI: (yahoo index: ^N225)
NASDAQC: (yahoo index: ^IXIC)
HANGSENG: (yahoo index: ^HSI)

SHANGHAI isn't accessible via the same API as the others, so it is (for now) scraped directly from this page: http://finance.yahoo.com/q?s=000001.SS
It also looks like it might not be updated very frequently, so I wouldn't vouch 100% for it without further testing.
The others look good, though.

175
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.

177
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

178
I just released 0.2.3 and 0.2.4 with the following changes:

Quote
0.2.4 (2015-06-03)
------------------

* added feed for NASDAQC, NIKKEI, HANGSENG market-pegged assets
* list of visible feeds can be configured in config.yaml file


0.2.3 (2015-06-02)
------------------

* added feed for SHENZHEN market-pegged asset
* fixed payroll plugin (contributed by @ThomasFreedman)

for the discussion on new market pegged assets, see https://bitsharestalk.org/index.php/topic,16616.0/all.html

And my delegate btstools.digitalgaia is now in position 102... One more to go!

179

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)

180
Stakeholder Proposals / Re: 100% - Delegate for Chronos
« on: May 25, 2015, 01:15:26 pm »
I would be happy to run his delegate, too.

Pages: 1 ... 5 6 7 8 9 10 11 [12] 13 14 15 16 17 18 19 ... 33