0 Members and 1 Guest are viewing this topic.
Updated GOLD SILVER and CNY for witness DataSecurityNode@alt please check.Thanks!
Updated the source for Gold and Silver. CNY shoud be already fixed from a while.@alt please check. Thanks
"derive_across_3markets" : True
"CNY" : { "metric" : "weighted", "sources" : ["btc38", "yunbi", "huobi", "btcchina", "okcoin", "poloniex", "bittrex", ] },
I'm now publishing price feeds for GOLD/SILVER again. @alt please check.
10 days have passed,I will remove my vote for the witness who can't give a reasonable price before 2017.1.1 UTC 00:00:00
I have adapted the @xeroc developed pricefeed script included within the python-graphenelib repository:<snip>Cheers!Fox
I have adapted the @xeroc developed pricefeed script included within the python-graphenelib repository:Code: [Select]https://github.com/xeroc/python-graphenelibIf you are using this script, you may use the steps below as a guide to provide valid feeds for gold and silver.1. Edit config.py to remove Yahoo as a feed provider for GOLD and SILVER (Yahoo is not providing a valid USD price at this time)1.1 Locate the feedsources.Yahoo function1.2 Comment out the XAU and XAG entries using the hash symbolCode: [Select]#"XAU" : "GOLD",#"XAG" : "SILVER",2. Ensure Quandl is enable as a feed provider for GOLD and SILVERCode: [Select]feedSources["quandl"] = feedsources.Quandl(datasets={ # You provide a valid API Key or this will fail! "GOLD:USD": [ "WGC/GOLD_DAILY_USD", "LBMA/GOLD", "PERTH/GOLD_USD_D" ], "SILVER:USD": [ "LBMA/SILVER", "PERTH/SLVR_USD_D" ] } )3. Acquire a Quandl API Key 3.1 http://help.quandl.com/article/118-how-do-i-pass-along-my-user-id-or-api-key3.2 It’s free, but requires a valid email account, GitHub account or other authentication provider4. Edit config.py to add your Quandl API KeyCode: [Select]quandlApiKey = "dsahFHUiewjjd" # This is an invalid API Key. Replace with yours!5. Edit feedsources.py to include your Quandl API Key5.1 Locate the Quandl URL string:Code: [Select]url = "https://www.quandl.com/api/v3/datasets/{dataset}.json?start_date={date}.format(5.2 Modify the query string portion of the URL to include your API Key from the config.py fileCode: [Select]url = "https://www.quandl.com/api/v3/datasets/{dataset}.json?start_date={date}&api_key=" + config.quandlApiKey.format(These modifications should allow your witness to provide a valid feed for both gold and silver.I know others are using the scripts from the @wackou provided bts_tools repository:Code: [Select]https://github.com/wackou/bts_toolsI quickly glanced at this codebase, but did not locate Quandl as a feed provider. I will endeavor to scratch together some code for bts_tools as well.Cheers!Fox
https://github.com/xeroc/python-graphenelib
#"XAU" : "GOLD",#"XAG" : "SILVER",
feedSources["quandl"] = feedsources.Quandl(datasets={ # You provide a valid API Key or this will fail! "GOLD:USD": [ "WGC/GOLD_DAILY_USD", "LBMA/GOLD", "PERTH/GOLD_USD_D" ], "SILVER:USD": [ "LBMA/SILVER", "PERTH/SLVR_USD_D" ] } )
quandlApiKey = "dsahFHUiewjjd" # This is an invalid API Key. Replace with yours!
url = "https://www.quandl.com/api/v3/datasets/{dataset}.json?start_date={date}.format(
url = "https://www.quandl.com/api/v3/datasets/{dataset}.json?start_date={date}&api_key=" + config.quandlApiKey.format(
https://github.com/wackou/bts_tools
Quote from: alt on December 27, 2016, 10:42:12 pmQuote from: abit on December 27, 2016, 04:27:11 pmDue to unable to provide a forever accurate price feed, or no time to track whether they're correct, I'll stop producing price feeds for assets other than CNY/BTC/USD/EUR and their copies e.g. TUSD. IIRC actually I've never supported the assets with next to zero activity. It's my fault to provide price feeds for them.maybe we can't stop publish price for GOLD/SILVER unless all short positions quit.Just let them trigger a black swain event or something similar. We lack of resources, we need to focus on the popular products.
Quote from: abit on December 27, 2016, 04:27:11 pmDue to unable to provide a forever accurate price feed, or no time to track whether they're correct, I'll stop producing price feeds for assets other than CNY/BTC/USD/EUR and their copies e.g. TUSD. IIRC actually I've never supported the assets with next to zero activity. It's my fault to provide price feeds for them.maybe we can't stop publish price for GOLD/SILVER unless all short positions quit.
Due to unable to provide a forever accurate price feed, or no time to track whether they're correct, I'll stop producing price feeds for assets other than CNY/BTC/USD/EUR and their copies e.g. TUSD. IIRC actually I've never supported the assets with next to zero activity. It's my fault to provide price feeds for them.
Just let them trigger a black swain event or something similar. We lack of resources, we need to focus on the popular products.
just wanted to chime in and say that, as a witness and feed script provider, I will update/fix/do whatever is necessary to produce correct feed price for GOLD (as well as for other assets) but as most other people I am currently on holidays with the family, so it will have to wait a week or so.
An asset is only worth what someone is willing to pay for it (free market supply and demand): even if Yahoo, Google, BTC exchanges or some Government says otherwise.
If you peg bitGold to something other than gold, it does not make sense.
Price feeds are what makes settlements and margin calls work as intended.
Agreed. Price feeds are what makes settlements and margin calls work as intended.I will take down my votes from lazy witnesses when i am back at the office next year.I will alao work on a tool that makes it easier for witbesses to provide manual feeds ... but for now, i am on vacation
The true price of bitGOLD, bitSILVER, bitUSD, bitGBP, bitCNY bit...is what someone is "willing to pay" for the assets on the BitSharesDEX or external exchange.Price feeds are a reference for guidance.
Well .. witnesses are paid for providing blocks and witbessing a correct price feed .. the definition of 'correct' of cpurse depends on the markets look at for generatimg the feed price they publish.Either way i am looking for sone witnesses to produce more professional feeds as my 'script' was always ever meant for educational purpose and not for productive use (see script header) ..
seems nobody care about these shit MPAmaybe most people still waiting for BM to give an orderif anybody care about these , please set up a new witness, prepare the feed price, and I will give my vote.
I have upgrade my feed script, got GOLD/SILVER price from sina finace, the GOLD price is 1130http://finance.sina.com.cn/futures/quotes/XAU.shtml
There is no SINGLE PRICE of anything.It all depends on the subset of buyers and sellers that define specific price on a specific trade. Fortunately, we have some bigger exchanges that have a ticker for those trades.Unfortunately, we have many of them, some bigger, some smaller. Each exchange has there own price. In fact, every trade has it's own price.
1130 of course.Not sure what it means, but this is from the second site that you gave :GOLD 1 OZ (XAUUSD=X)CCY - CCY Delayed Price. Currency in USD