BitShares Forum
Main => Technical Support => Topic started by: Ggozzo on August 22, 2014, 02:09:19 pm
-
I can't find anything explaining how to publish price feeds? Is there a how to somewhere?
I think I saw that we are not supposed to publish until Monday? I'd just like to know what we are supposed to do when the time comes.
blockchain_get_feeds_for_asset USD
wallet_publish_price_feed <delegate_account> 0.035645 USD
-
Anyone?
-
using command in console
wallet_publish_price_feed
-
I was looking for more details than that. Do I just post an arbitrary number I come up with?
-
I was looking for more details than that. Do I just post an arbitrary number I come up with?
the point of a feed is to give the market a starting point from which people can buy/sell. You can use:
http://coinmarketcap.com/currencies/bitshares-x/#markets
as a guide. Someone has already posted a python script that checks and posts a new feed if the value changed by 5% since the last update.
as of this second, a valid feed could be
wallet_publish_price_feed <delegate_account> 0.035645 USD
-
These feeds are just manually put in? There isn't a script that checks a reputable
currency exchange?
-
These feeds are just manually put in? There isn't a script that checks a reputable
currency exchange?
It is the job of the delegates to find a reputable source. The idea here is the market doesn't "trust" a source. It trusts delegates. Once 51 delegates have submitted a a value the market can start (if it has sufficient depth).
-
when we put a feed can we update it whenever we want manualy?
What if for a feed exist big difference in value from delegates?
-
I was looking for more details than that. Do I just post an arbitrary number I come up with?
the point of a feed is to give the market a starting point from which people can buy/sell. You can use:
http://coinmarketcap.com/currencies/bitshares-x/#markets
as a guide. Someone has already posted a python script that checks and posts a new feed if the value changed by 5% since the last update.
as of this second, a valid feed could be
wallet_publish_price_feed <delegate_account> 0.035645 USD
Thanks,
Still confused about the validity of the feeds then. The price is extremely volatile right now and has moved near 100% in one day. A manually entered price feed could be obsolete within minutes of posting.
I found this from coinmarketcap.com :http://coinmarketcap-nexuist.rhcloud.com/api/btsx/price (http://coinmarketcap-nexuist.rhcloud.com/api/btsx/price) but I would have no idea how to implement it other than manually typing it into the console.
How would I implement the script? Is it something we can download and type in the console? Or does it have to be built in?
And is it made by I3 or Bitshares? In other words, is it safe?
-
I think you would implement this by using a scripting language like python or nodejs that simply calls the api with a http get call every x minutes (using cron) and updates your client via rpc. With nodejs this would be something like this (untested coffescript):
rpc = require("node-json-rpc")
CronJob = require('cron').CronJob
http = require("http")
options = #place bitshares rpc settings here
port: 5080
host: "127.0.0.1"
client = new rpc.Client(options)
c = new CronJob "'00 30 * * * *'", -> #run this hourly
http.get "http://coinmarketcap-nexuist.rhcloud.com/api/btsx/price", (price) ->
client.call
method: "wallet_publish_price_feed"
params: [
"yourdelegatename"
price.usd
]
id: 0
, (err, res) ->
throw err if err
c.start()
-
AFAIK .. in the long run .. price feeds will be unecessary .. because then the price feed will be build from the 24h moving average ..
Our spaceship to moon just needs an initial ignition :)
-
AFAIK .. in the long run .. price feeds will be unecessary .. because then the price feed will be build from the 24h moving average ..
Our spaceship to moon just needs an initial ignition :)
Think you're right yea. Also, publishing a price feed requires the standard transaction fee of 0.5 BTSX, so I wouldn't setup a script to update it all too often, although I suppose it's a good idea to stay updated in the beginning.
-
... at least for the first 24-hours :)
however .... conensus is reached over ALL 101 delegates .. I will not stay awake 24 hours just to watch this ;-) (but I thought about it)
-
AFAIK .. in the long run .. price feeds will be unecessary .. because then the price feed will be build from the 24h moving average ..
Our spaceship to moon just needs an initial ignition :)
Think you're right yea. Also, publishing a price feed requires the standard transaction fee of 0.5 BTSX, so I wouldn't setup a script to update it all too often, although I suppose it's a good idea to stay updated in the beginning.
BM recommended about once a day until the market was boot strapped and then the feeds wouldn't be required.
I too am still a bit fuzzy on the mechanics but I think it can be just typed into the CLI daily. Since it's a temporary process to bootstrap the market I'm OK doing it by hand once a day. I've had harder jobs :D.
-
AFAIK .. in the long run .. price feeds will be unecessary .. because then the price feed will be build from the 24h moving average ..
Our spaceship to moon just needs an initial ignition :)
Think you're right yea. Also, publishing a price feed requires the standard transaction fee of 0.5 BTSX, so I wouldn't setup a script to update it all too often, although I suppose it's a good idea to stay updated in the beginning.
BM recommended about once a day until the market was boot strapped and then the feeds wouldn't be required.
I too am still a bit fuzzy on the mechanics but I think it can be just typed into the CLI daily. Since it's a temporary process to bootstrap the market I'm OK doing it by hand once a day. I've had harder jobs :D.
Sounds good to me. I already published mine this morning, but it seems like I'm the only one so far. You can check it using:
blockchain_get_feeds_for_asset USD
-
AFAIK .. in the long run .. price feeds will be unecessary .. because then the price feed will be build from the 24h moving average ..
Our spaceship to moon just needs an initial ignition :)
Think you're right yea. Also, publishing a price feed requires the standard transaction fee of 0.5 BTSX, so I wouldn't setup a script to update it all too often, although I suppose it's a good idea to stay updated in the beginning.
BM recommended about once a day until the market was boot strapped and then the feeds wouldn't be required.
I too am still a bit fuzzy on the mechanics but I think it can be just typed into the CLI daily. Since it's a temporary process to bootstrap the market I'm OK doing it by hand once a day. I've had harder jobs :D .
Sounds good to me. I already published mine this morning, but it seems like I'm the only one so far. You can check it using:
blockchain_get_feeds_for_asset USD
Were we given the all clear to publish a feed? Last I heard we were waiting for everyone to get upgraded or something. I was out all day yesterday for my wife's birthday so I feel a bit out of touch :).
-
AFAIK .. in the long run .. price feeds will be unecessary .. because then the price feed will be build from the 24h moving average ..
Our spaceship to moon just needs an initial ignition :)
Think you're right yea. Also, publishing a price feed requires the standard transaction fee of 0.5 BTSX, so I wouldn't setup a script to update it all too often, although I suppose it's a good idea to stay updated in the beginning.
BM recommended about once a day until the market was boot strapped and then the feeds wouldn't be required.
I too am still a bit fuzzy on the mechanics but I think it can be just typed into the CLI daily. Since it's a temporary process to bootstrap the market I'm OK doing it by hand once a day. I've had harder jobs :D .
Sounds good to me. I already published mine this morning, but it seems like I'm the only one so far. You can check it using:
blockchain_get_feeds_for_asset USD
Were we given the all clear to publish a feed? Last I heard we were waiting for everyone to get upgraded or something. I was out all day yesterday for my wife's birthday so I feel a bit out of touch :).
No, no all clear so far, but I was under the impression we were to start on monday? :) I just got back from holiday myself so may not be up to date on everything, if we were to not publish until BM gave us the green light then my apologies.
-
monday depends on the timezone :)
-
I'm so excited!
-
I'm not comfortable to publish the feed just yet. Waiting for the latest fixes to be released.
Sent from my iPhone using Tapatalk
-
AFAIK .. in the long run .. price feeds will be unecessary .. because then the price feed will be build from the 24h moving average ..
Our spaceship to moon just needs an initial ignition :)
I think this is right and would be good if we just need a few feeds to get it started.
-
I'm not comfortable to publish the feed just yet. Waiting for the latest fixes to be released.
Sent from my iPhone using Tapatalk
The feed is the "delegate vote of confidence"... at this point in time there is 100% delegate participation (Great work delegates!). The market code has been widely distributed for almost 5 days now so the risk of a hard-fork is minimal.
The known issues are a "crash on close connection" that occurs somewhat randomly. I am in the office and our team is standing by in case anything goes wrong. We might as well give it a go... whats the worst that can happen?
-
case anything goes wrong. We might as well give it a go... whats the worst that can happen?
Can we get this as a sticky announcement in the Bank & Exchange forum in huge flashing lights? This is kind of a big deal!! +5% +5% +5%
-
I thought there will be at least one more release before the D-day in which version number will be displayed in the client so that users will clearly know where they are.
Sent from my iPhone using Tapatalk
-
I am standing by waiting for the moment when the gate finally opens. Thrilled
Sent from my iPhone using Tapatalk
-
I'm not comfortable to publish the feed just yet. Waiting for the latest fixes to be released.
Sent from my iPhone using Tapatalk
...We might as well give it a go... whats the worst that can happen?
I believe the correct answer is Total protonic reversal
-
I just posted my feed! 8)
I counted 38 feeds published. So, 13 more and trading begins?
-
I just posted my feed! 8)
I counted 38 feeds published. So, 13 more and trading begins?
13 more and shorts can start placing orders... (existing short orders are pre-fork).
-
I was looking for more details than that. Do I just post an arbitrary number I come up with?
the point of a feed is to give the market a starting point from which people can buy/sell. You can use:
http://coinmarketcap.com/currencies/bitshares-x/#markets
as a guide. Someone has already posted a python script that checks and posts a new feed if the value changed by 5% since the last update.
as of this second, a valid feed could be
wallet_publish_price_feed <delegate_account> 0.035645 USD
Thanks,
Still confused about the validity of the feeds then. The price is extremely volatile right now and has moved near 100% in one day. A manually entered price feed could be obsolete within minutes of posting.
I found this from coinmarketcap.com :http://coinmarketcap-nexuist.rhcloud.com/api/btsx/price (http://coinmarketcap-nexuist.rhcloud.com/api/btsx/price) but I would have no idea how to implement it other than manually typing it into the console.
How would I implement the script? Is it something we can download and type in the console? Or does it have to be built in?
And is it made by I3 or Bitshares? In other words, is it safe?
I don't claim to understand all this stuff but the idea of a manually entered feed that is only updated once a day seems risky/scary. TBH why would we want to trust the delegates over say Forex with a script that checks and updates a feed ever 5 mins(the more the better to be honest). If we want to get the attention of large money I think the are going to want accurate pegging. When talking to others the term holographic peg seams to be a accurate description of what you describe. How can this be good?
-
I was looking for more details than that. Do I just post an arbitrary number I come up with?
the point of a feed is to give the market a starting point from which people can buy/sell. You can use:
http://coinmarketcap.com/currencies/bitshares-x/#markets
as a guide. Someone has already posted a python script that checks and posts a new feed if the value changed by 5% since the last update.
as of this second, a valid feed could be
wallet_publish_price_feed <delegate_account> 0.035645 USD
Thanks,
Still confused about the validity of the feeds then. The price is extremely volatile right now and has moved near 100% in one day. A manually entered price feed could be obsolete within minutes of posting.
I found this from coinmarketcap.com :http://coinmarketcap-nexuist.rhcloud.com/api/btsx/price (http://coinmarketcap-nexuist.rhcloud.com/api/btsx/price) but I would have no idea how to implement it other than manually typing it into the console.
How would I implement the script? Is it something we can download and type in the console? Or does it have to be built in?
And is it made by I3 or Bitshares? In other words, is it safe?
I don't claim to understand all this stuff but the idea of a manually entered feed that is only updated once a day seems risky/scary. TBH why would we want to trust the delegates over say Forex with a script that checks and updates a feed ever 5 mins(the more the better to be honest). If we want to get the attention of large money I think the are going to want accurate pegging. When talking to others the term holographic peg seams to be a accurate description of what you describe. How can this be good?
I think the idea is that we just need to get started and OUR marketplace will take it from there.
Initially people will probably have an exchange or 2 open at the same time while trading on our system to verify prices...but eventually that should not be needed.
Who knows, our market/exchange may be the main price setter before long....:)
-
I was looking for more details than that. Do I just post an arbitrary number I come up with?
the point of a feed is to give the market a starting point from which people can buy/sell. You can use:
http://coinmarketcap.com/currencies/bitshares-x/#markets
as a guide. Someone has already posted a python script that checks and posts a new feed if the value changed by 5% since the last update.
as of this second, a valid feed could be
wallet_publish_price_feed <delegate_account> 0.035645 USD
Thanks,
Still confused about the validity of the feeds then. The price is extremely volatile right now and has moved near 100% in one day. A manually entered price feed could be obsolete within minutes of posting.
I found this from coinmarketcap.com :http://coinmarketcap-nexuist.rhcloud.com/api/btsx/price (http://coinmarketcap-nexuist.rhcloud.com/api/btsx/price) but I would have no idea how to implement it other than manually typing it into the console.
How would I implement the script? Is it something we can download and type in the console? Or does it have to be built in?
And is it made by I3 or Bitshares? In other words, is it safe?
I don't claim to understand all this stuff but the idea of a manually entered feed that is only updated once a day seems risky/scary. TBH why would we want to trust the delegates over say Forex with a script that checks and updates a feed ever 5 mins(the more the better to be honest). If we want to get the attention of large money I think the are going to want accurate pegging. When talking to others the term holographic peg seams to be a accurate description of what you describe. How can this be good?
I think the idea is that we just need to get started and OUR marketplace will take it from there.
Initially people will probably have an exchange or 2 open at the same time while trading on our system to verify prices...but eventually that should not be needed.
Who knows, our market/exchange may be the main price setter before long....:)
If what you say is true then that's great I just hoe the goal is to implement a REAL feed that is constantly checking and updating the price off a proven global market(forex). I agree though that as we grow hopefully we can be the market setter's
-
I was looking for more details than that. Do I just post an arbitrary number I come up with?
the point of a feed is to give the market a starting point from which people can buy/sell. You can use:
http://coinmarketcap.com/currencies/bitshares-x/#markets
as a guide. Someone has already posted a python script that checks and posts a new feed if the value changed by 5% since the last update.
as of this second, a valid feed could be
wallet_publish_price_feed <delegate_account> 0.035645 USD
Thanks,
Still confused about the validity of the feeds then. The price is extremely volatile right now and has moved near 100% in one day. A manually entered price feed could be obsolete within minutes of posting.
I found this from coinmarketcap.com :http://coinmarketcap-nexuist.rhcloud.com/api/btsx/price (http://coinmarketcap-nexuist.rhcloud.com/api/btsx/price) but I would have no idea how to implement it other than manually typing it into the console.
How would I implement the script? Is it something we can download and type in the console? Or does it have to be built in?
And is it made by I3 or Bitshares? In other words, is it safe?
I don't claim to understand all this stuff but the idea of a manually entered feed that is only updated once a day seems risky/scary. TBH why would we want to trust the delegates over say Forex with a script that checks and updates a feed ever 5 mins(the more the better to be honest). If we want to get the attention of large money I think the are going to want accurate pegging. When talking to others the term holographic peg seams to be a accurate description of what you describe. How can this be good?
I think the idea is that we just need to get started and OUR marketplace will take it from there.
Initially people will probably have an exchange or 2 open at the same time while trading on our system to verify prices...but eventually that should not be needed.
Who knows, our market/exchange may be the main price setter before long....:)
If what you say is true then that's great I just hoe the goal is to implement a REAL feed that is constantly checking and updating the price off a proven global market(forex). I agree though that as we grow hopefully we can be the market setter's
+5%