Author Topic: How do we publish the price feed?  (Read 6877 times)

0 Members and 1 Guest are viewing this topic.

Offline betax

  • Hero Member
  • *****
  • Posts: 808
    • View Profile
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 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%
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline Gentso1

  • Hero Member
  • *****
  • Posts: 931
    • View Profile
  • BitShares: gentso
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 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 

Offline GaltReport

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 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....:)
« Last Edit: August 25, 2014, 06:55:19 pm by GaltReport »

Offline Gentso1

  • Hero Member
  • *****
  • Posts: 931
    • View Profile
  • BitShares: gentso
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 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?

Offline bytemaster

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).
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Ggozzo

  • Guest
I just posted my feed!   8)


I counted 38 feeds published.  So, 13 more and trading begins?

Offline GaltReport

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

Offline boombastic

  • Sr. Member
  • ****
  • Posts: 251
    • View Profile
    • AngelShares Explorer
I am standing by waiting for the moment when the gate finally opens.  Thrilled


Sent from my iPhone using Tapatalk
http://bitshares.dacplay.org/r/boombastic
Support My Witness: mr.agsexplorer
BTC: 1Bb6V1UStz45QMAamjaX8rDjsnQnBpHvE8

Offline boombastic

  • Sr. Member
  • ****
  • Posts: 251
    • View Profile
    • AngelShares Explorer
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
http://bitshares.dacplay.org/r/boombastic
Support My Witness: mr.agsexplorer
BTC: 1Bb6V1UStz45QMAamjaX8rDjsnQnBpHvE8

Offline Riverhead

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%

Offline bytemaster

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?     

For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline GaltReport

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.

Offline boombastic

  • Sr. Member
  • ****
  • Posts: 251
    • View Profile
    • AngelShares Explorer
I'm not comfortable to publish the feed just yet.  Waiting for the latest fixes to be released.


Sent from my iPhone using Tapatalk
http://bitshares.dacplay.org/r/boombastic
Support My Witness: mr.agsexplorer
BTC: 1Bb6V1UStz45QMAamjaX8rDjsnQnBpHvE8

38PTSWarrior

  • Guest

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
monday depends on the timezone :)

Offline svk

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:

Code: [Select]
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.
Worker: dev.bitsharesblocks

Offline Riverhead

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:

Code: [Select]
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 :).

Offline svk

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:

Code: [Select]
blockchain_get_feeds_for_asset USD
Worker: dev.bitsharesblocks

Offline Riverhead

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.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
... 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)

Offline svk

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.
Worker: dev.bitsharesblocks

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
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 :)

drekrob

  • Guest
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):

Code: [Select]
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()
« Last Edit: August 25, 2014, 08:43:52 am by drekrob »

Ggozzo

  • Guest
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 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?

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
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?
« Last Edit: August 25, 2014, 04:32:59 am by liondani »

Offline Riverhead

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

Offline Gentso1

  • Hero Member
  • *****
  • Posts: 931
    • View Profile
  • BitShares: gentso
These feeds are just manually put in? There isn't a script that checks a reputable
currency exchange?

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
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
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

Ggozzo

  • Guest
I was looking for more details than that. Do I just post an arbitrary number I come up with?

Offline ripplexiaoshan

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 2300
    • View Profile
  • BitShares: jademont
using command in console
wallet_publish_price_feed
BTS committee member:jademont

Ggozzo

  • Guest

Ggozzo

  • Guest
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.


Code: [Select]
blockchain_get_feeds_for_asset USD
Code: [Select]
wallet_publish_price_feed <delegate_account>  0.035645 USD
« Last Edit: August 25, 2014, 01:51:21 pm by bytemaster »