Author Topic: Delegates Please Publish Prices for USD, BTC, and CNY  (Read 20364 times)

0 Members and 1 Guest are viewing this topic.

Offline GaltReport

I managed to hack up the price feed python script that was floating around so that I can schedule it using the Linux cron job scheduler as well as implementing the update on price variance and hours since last update.  I will put it below for anyone that may find it useful.

I'm no great python programmer so please validate and/or fix any bugs discovered. 

I modified the config.json.  I added 2 new variables:

variance: percentage price variance
maxhours: maximum time between updates

The program will check the delegate's current published price for each asset and publish a new price if the current price exceeds the variance or if it has been longer than maxhours since the price has been published.

It has only been through basic testing so be advised.  I am not particularly confident in the math and date manipulations but it seems to work for my limited test cases.

I store the config.json file below in /home/ubuntu.  You can move it somewhere else but will need to change the location in the code. 

In the config.json file below you need to modify the following:

1. Set 1434 to the port number used in the httpd_endpoint entry in your .BitSharesX/config.json file
2. Set rpc-username-goes-here to the rpc_user setting in .BitSharesX/config.json file
3. Set rpc-password-goes-here to the rpc_password setting in .BitSharesX/config.json file
4. Set delegate-name-goes-here to your delegate name.
5. Set variance and maxhours to what you want

config.json

Code: [Select]
{
  "bts_rpc": {
    "url": "http://localhost:1434/rpc",
    "username": "rpc-username-goes-here",
    "password": "rpc-password-goes-here"
  },
  "asset_list": ["USD","BTC","CNY"],
  "delegate_list": ["delegate-name-goes-here"],
  "variance": 1,
  "maxhours": 12
}

price_feed.py

Code: [Select]
import requests
import json
import sys
from math import fabs

import datetime, threading, time
from pprint import pprint


headers = {'content-type': 'application/json',
   'User-Agent': 'Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:22.0) Gecko/20100101 Firefox/22.0'}

config_data = open('/home/ubuntu/config.json')
config = json.load(config_data)
config_data.close()

## -----------------------------------------------------------------------
## function about bts rpc
## -----------------------------------------------------------------------
auth = (config["bts_rpc"]["username"], config["bts_rpc"]["password"])
url = config["bts_rpc"]["url"]

asset_list = config["asset_list"]
init_asset_list = asset_list
delegate_list = config["delegate_list"]

def fetch_from_btc38():
  url="http://api.btc38.com/v1/ticker.php"
  while True:
     try:
       params = { 'c': 'btsx', 'mk_type': 'btc' }
       responce = requests.get(url=url, params=params, headers=headers)
       result = responce.json()
       price["BTC"].append(float(result["ticker"]["last"]))

       params = { 'c': 'btsx', 'mk_type': 'cny' }
       responce = requests.get(url=url, params=params, headers=headers)
       result = responce.json()
       price_cny = float(result["ticker"]["last"])
       price["CNY"].append(float(result["ticker"]["last"]))

       price["USD"].append(price_cny/rate_usd_cny)
       break
     except:
       e = sys.exc_info()[0]
       print "Error: fetch_from_btc38: retrying in 30 seconds", e
       time.sleep(30)
       continue

def fetch_from_bter():
  while True:
     try:
       url="http://data.bter.com/api/1/ticker/btsx_btc"
       responce = requests.get(url=url, headers=headers)
       result = responce.json()
       price["BTC"].append(float(result["last"]))

       url="http://data.bter.com/api/1/ticker/btsx_cny"
       responce = requests.get(url=url, headers=headers)
       result = responce.json()
       price_cny = float(result["last"])
       price["CNY"].append(float(result["last"]))
       price["USD"].append(price_cny/rate_usd_cny)
       break
     except:
       e = sys.exc_info()[0]
       print "Error: fetch_from_bter: retrying in 30 seconds", e
       time.sleep(30)
       continue

def get_rate_from_yahoo():
  global headers
  global rate_usd_cny, rate_xau_cny

  while True:
     try:
       url="http://download.finance.yahoo.com/d/quotes.csv"
       params = {'s':'USDCNY=X,XAUCNY=X','f':'l1','e':'.csv'}
       responce = requests.get(url=url, headers=headers,params=params)

       pos = posnext = 0
       posnext = responce.text.find("\n", pos)
       rate_usd_cny = float(responce.text[pos:posnext])
       print "Fetch: rate usd/cny", rate_usd_cny
       pos = posnext + 1
       posnext = responce.text.find("\n", pos)
       rate_xau_cny = float(responce.text[pos:posnext])
       print "Fetch: rate xau/cny", rate_xau_cny
       print
       break
     except:
       e = sys.exc_info()[0]
       print "Error: get_rate_from_yahoo:  try again after 30 seconds", e
       time.sleep(30)
       continue

def update_price(delegate,asset,price,feed):
      update_request = {
         "method": "wallet_publish_price_feed",
         "params": [delegate, price, asset],
         "jsonrpc": "2.0",
         "id": 1
      }

      present  = datetime.datetime.now()
      feed_price  = feed['price']
      symbol      = feed['asset_symbol']
      last_update = feed['last_update']

      lu_yr  = int(last_update[0:4])
      lu_mn  = int(last_update[4:6])
      lu_dy  = int(last_update[6:8])
      lu_hr  = int(last_update[9:11])
      lu_min = int(last_update[11:13])
      lu_sec = int(last_update[13:15])
      lu_d   = datetime.date(lu_yr,lu_mn,lu_dy)
      lu_t   = datetime.time(lu_hr,lu_min,lu_sec)
      lu_dt  = datetime.datetime.combine(lu_d,lu_t)

      # Calculate Price Variance
      if (price > feed_price):
            diff = 100 - (round((feed_price / price) * 100,0))
      else:
            diff = 100 - (round((price / feed_price) * 100,0))

      # Calculate Time Since Last Update
      tm_df  = present-lu_dt
      tm_mx  = datetime.timedelta(hours=config['maxhours'])

      print "   Delegate Price Feed: ",symbol,feed_price
      print "         Current Price: ",asset,price
      print " BC Last Update String: ",last_update
      print "      Last Update Date: ",lu_dt
      print "     Current Date/Time: ",present
      print "     Time Since Update: ",str(tm_df)
      print " Max Hrs Before Update: ",str(tm_mx)
      print "        Price Variance: ",int(diff)
      print "    Max Price Variance: ",config['variance']
      print "           Update Feed: ",

      while True:
           try:
               # Publish Asset Price If Maximum Price Variance or Maximum Time Are Exceeded
               if ((int(diff) >= config['variance']) or (tm_df > tm_mx)):
                  print "Yes",
                  responce = requests.post(url, data=json.dumps(update_request), headers=headers, auth=auth)
                  result = json.loads(vars(responce)["_content"])
                  print "-",delegate, price_average[asset], asset
               else:
                  print "No"
               print
               break

           except:
               e = sys.exc_info()[0]
               print "Warnning: Can't connect to rpc server or other error, (update_request) try again after 30 seconds", e
               time.sleep(30)

def update_feed(price, asset):
  for delegate in delegate_list:
     headers = {'content-type': 'application/json'}
     feed_request = {
         "method": "blockchain_get_feeds_from_delegate",
         "params": [delegate],
         "jsonrpc": "2.0",
         "id": 1
     }
     while True:
        try:
           # Get Delegate Price Feeds
           responce = requests.post(url, data=json.dumps(feed_request), headers=headers, auth=auth)
           result   = json.loads(vars(responce)['_content'])
           lresult  = result['result']
           for i in lresult:
              if (asset == i['asset_symbol']):
                 update_price(delegate,asset,price,i)
           break

        except:
           e = sys.exc_info()[0]
           print "Warnning: Can't connect to rpc server or other error, (get_feeds) try again after 30 seconds", e
   time.sleep(30)

def fetch_price():
  for asset in init_asset_list:
    price[asset] = []

  fetch_from_btc38()
  fetch_from_bter()

  for asset in asset_list:
    if len(price[asset]) == 0:
      print "Warning: can't get price of", asset
      continue
    price_average[asset] = sum(price[asset])/len(price[asset])
    if price_average_last[asset] != 0.0:
      change = 100.0 * (price_average[asset] - price_average_last[asset])/price_average_last[asset]
    else:
      change = 100.0

    update_feed(price_average[asset], asset)

print '=================', time.strftime("%Y%m%dT%H%M%S", time.localtime(time.time())), '=================='

rate_usd_cny = 0.0
rate_xau_cny = 0.0
get_rate_from_yahoo()

price = {}
price_average = {}
price_average_last = {}

for asset in init_asset_list:
  price[asset] = []
  price_average[asset] = 0.0
  price_average_last[asset] = 0.0

fetch_price()

print '=================', time.strftime("%Y%m%dT%H%M%S", time.localtime(time.time())), '=================='
print


Below crontab will run the script every 4 hours:

crontab

Code: [Select]
0 1,5,9,13,17,21 * * *  python /home/ubuntu/price_feed.py >> /home/ubuntu/price_feed.out

Log of actions will be stored in /home/ubuntu/price_feed.out

This may grow large after awhile so keep an eye on it and remove it when it get's too large or if you are familiar with it, you can use logrotate to maintain it

Edit: Edited to fix bug where it wouldn't work for multiple delegates.

Edit: Edited to change the retry Timer to 60 seconds instead of 1 second.  I ended up missing blocks because the program got into a tight 1 second retry loop and spiked my CPU.  I highly recommend changing this if you are using the original to something more than 1 second.  Otherwise, you have a chance of spiking your CPU and missing blocks if it continually retries every second.

The relevant lines of the code to change start with threading.Timer(1
Change the 1 to 30 or 60 maybe.

Edit: Edited to remove use of "threading.Timer" to avoid possible zombie process/threads that may use up memory/cpu.  Substituted while loop for retries.
« Last Edit: September 08, 2014, 11:12:42 am by GaltReport »

Offline happyshares

  • Jr. Member
  • **
  • Posts: 33
    • View Profile
I think early on it will be helpful for feeds to be published every 4 hours.  The market is still thin and 4 hours is a lot of time with the volatility of BTSX.


I updated mine to every 4 hours and only if changed by more than 5% from previous update.

I updated mine to every 4 hours (and adjusted the fee  ;) )

I think we need tighter tolerances to enforce the peg better.   Update if changed by more than 1%.  Right now shorts are selling at 3% above.

This way i spent over 28 BTSX for updating the feed since midnight, using the python script. Quite expensive related to payrate.


Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
I suggest  to update the automatic feed price scripts.
the main different is use the median price to replace the average price.
you can change the pararm "median_length" to adjust the price change latency.
because version 0.4.12 will use feed price to decide  the min cover price,
we need to protect the cover order from a serial margin call,
maybe cause of a suddenly price drop with a short period at the central trade site.
my English is poor, maybe not say it clearly   ???
updated:
1. update config file
2. use median price to replace average price, to protect system from  a suddenly drop price with a short period at the central trade site.

Thank you alt, I will try the improved script.
"Neuron" sent you some compensation for your efforts.
yes, I have got your tips, thanks  :)

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Can someone point me in the direction of how to set up feeds for currency values? I'm very interested in creating a delegate, and this is a gap in my knowledge at the moment.
Thanks :)
Theses are the scripts:
https://github.com/Bitsuperlab/operation_tools/tree/master/btsxfeed

Offline cryptillionaire

  • Full Member
  • ***
  • Posts: 153
    • View Profile
Can someone point me in the direction of how to set up feeds for currency values? I'm very interested in creating a delegate, and this is a gap in my knowledge at the moment.
Thanks :)

Offline CalabiYau

I suggest  to update the automatic feed price scripts.
the main different is use the median price to replace the average price.
you can change the pararm "median_length" to adjust the price change latency.
because version 0.4.12 will use feed price to decide  the min cover price,
we need to protect the cover order from a serial margin call,
maybe cause of a suddenly price drop with a short period at the central trade site.
my English is poor, maybe not say it clearly   ???
updated:
1. update config file
2. use median price to replace average price, to protect system from  a suddenly drop price with a short period at the central trade site.

Thank you alt, I will try the improved script.
"Neuron" sent you some compensation for your efforts.

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
I suggest  to update the automatic feed price scripts.
the main different is use the median price to replace the average price.
you can change the pararm "median_length" to adjust the price change latency.
because version 0.4.12 will use feed price to decide  the min cover price,
we need to protect the cover order from a serial margin call,
maybe cause of a suddenly price drop with a short period at the central trade site.
my English is poor, maybe not say it clearly   ???
updated:
1. update config file
2. use median price to replace average price, to protect system from  a suddenly drop price with a short period at the central trade site.

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
The auto script of alt needs some more sanity checks .. I just pushed a feed with 0USD .. *strange* :)
It's very strange, I didn't  find the bug.
and thanks for your bitUSD tip :)

Offline amencon

  • Sr. Member
  • ****
  • Posts: 227
    • View Profile
My feed should now also update when difference over 1%.

Offline bytemaster

The auto script of alt needs some more sanity checks .. I just pushed a feed with 0USD .. *strange* :)

Working to add a RPC call to publish multiple feeds in a single transaction.
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 xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
The auto script of alt needs some more sanity checks .. I just pushed a feed with 0USD .. *strange* :)


Offline Riverhead

I think we need tighter tolerances to enforce the peg better.   Update if changed by more than 1%.  Right now shorts are selling at 3% above.


Done.

Offline GaltReport

I think early on it will be helpful for feeds to be published every 4 hours.  The market is still thin and 4 hours is a lot of time with the volatility of BTSX.


I updated mine to every 4 hours and only if changed by more than 5% from previous update.

I updated mine to every 4 hours (and adjusted the fee  ;) )

I think we need tighter tolerances to enforce the peg better.   Update if changed by more than 1%.  Right now shorts are selling at 3% above.

I update it regardless every 4 hours.  Is that okay?

Offline bytemaster

I think early on it will be helpful for feeds to be published every 4 hours.  The market is still thin and 4 hours is a lot of time with the volatility of BTSX.


I updated mine to every 4 hours and only if changed by more than 5% from previous update.

I updated mine to every 4 hours (and adjusted the fee  ;) )

I think we need tighter tolerances to enforce the peg better.   Update if changed by more than 1%.  Right now shorts are selling at 3% above.
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

I think early on it will be helpful for feeds to be published every 4 hours.  The market is still thin and 4 hours is a lot of time with the volatility of BTSX.


I updated mine to every 4 hours and only if changed by more than 5% from previous update.

I updated mine to every 4 hours (and adjusted the fee  ;) )

Offline Riverhead

I think early on it will be helpful for feeds to be published every 4 hours.  The market is still thin and 4 hours is a lot of time with the volatility of BTSX.


I updated mine to every 4 hours and only if changed by more than 5% from previous update.

Offline GaltReport

I set mine to only run every 12 hours. Maybe that's not frequently enough for the market. The original plan was for every 24 hours.
it would be not frenquently enough if all delegates published the fees the exact same time every 12 hours!
So I think it's ok, knowing the publish time differs for many reasons between delegates...

I think early on it will be helpful for feeds to be published every 4 hours.  The market is still thin and 4 hours is a lot of time with the volatility of BTSX.

Any plan to eliminate fees for publishing price feeds?

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
I think early on it will be helpful for feeds to be published every 4 hours.  The market is still thin and 4 hours is a lot of time with the volatility of BTSX.
just installed a 4h cronjob for the *.delegate.xeroc delegates ... (I hope you forgive me that the charity delegates do not set a price feed)

Offline emski

  • Hero Member
  • *****
  • Posts: 1282
    • View Profile
    • http://lnkd.in/nPbhxG
I set mine to only run every 12 hours. Maybe that's not frequently enough for the market. The original plan was for every 24 hours.
it would be not frenquently enough if all delegates published the fees the exact same time every 12 hours!
So I think it's ok, knowing the publish time differs for many reasons between delegates...

I think early on it will be helpful for feeds to be published every 4 hours.  The market is still thin and 4 hours is a lot of time with the volatility of BTSX.

Shouldn't feed publish time be based on price change ?

Offline bytemaster

I set mine to only run every 12 hours. Maybe that's not frequently enough for the market. The original plan was for every 24 hours.
it would be not frenquently enough if all delegates published the fees the exact same time every 12 hours!
So I think it's ok, knowing the publish time differs for many reasons between delegates...

I think early on it will be helpful for feeds to be published every 4 hours.  The market is still thin and 4 hours is a lot of time with the volatility of BTSX.
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 liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
I set mine to only run every 12 hours. Maybe that's not frequently enough for the market. The original plan was for every 24 hours.
it would be not frenquently enough if all delegates published the fees the exact same time every 12 hours!
So I think it's ok, knowing the publish time differs for many reasons between delegates...

Offline Riverhead

I set mine to only run every 12 hours. Maybe that's not frequently enough for the market. The original plan was for every 24 hours.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
sounds reasonable .. some APIs are limited to be called just a few times within 24h

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
this means can't get price from neither bter nor btc38....
can you connect to this two site?

same here. this auto feed script is broken

there are only 47 delegates who publish price in time.(at least every 24 hours)
Code: [Select]
a.delegate.xeroc
b.delegate.xeroc
bitcoiners
bits
bitsuperlab
calabiyau
cny.bts500
coolspeed
dac.bts500
dac.coolspeed
daslab
delegate1-galt
delegate1.john-galt
delegate1.maqifrnswa
delegate2.svk31
delegate3.svk31
delegate-alt
delegate-baozi
delegate.bitsuperlab
delegate.coinhoarder
delegate.coolspeed
delegate.liondani
delegate.svk31
delegate.taolje
delegate-watchman
delegate.xeroc
emski.bitdelegate
fox
future.dacwin
happyshares-2
hear.me.roar.lion
init5
init53
init58
init65
init88
init9
lotto-delegate
maqifrnswa
moon.delegate.service
my.watch.begins.nightswatch
now.dacwin
riverhead-del-server-1
sun.delegate.service
usd.bts500
www2.minebitshares-com
www.minebitshares-com
Code: [Select]

delegate (unlocked) >>> blockchain_get_feeds_for_asset USD
[{
  },{
    "delegate_name": "init5",
    "price": 0.028467925757082381,
    "last_update": "20140902T024920",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "init9",
    "price": 0.028467925757082381,
    "last_update": "20140902T024920",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "init53",
    "price": 0.028467925757082381,
    "last_update": "20140902T024920",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "init58",
    "price": 0.028467925757082381,
    "last_update": "20140902T024920",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "init65",
    "price": 0.028467925757082381,
    "last_update": "20140902T024920",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "init88",
    "price": 0.028467925757082381,
    "last_update": "20140902T024920",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "calabiyau",
    "price": 0.027908432951126279,
    "last_update": "20140902T181050",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "fox",
    "price": 0.029587949999999998,
    "last_update": "20140902T223610",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "bitsuperlab",
    "price": 0.027255425057747994,
    "last_update": "20140902T052140",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "daslab",
    "price": 0.027199999999999998,
    "last_update": "20140902T152950",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "coolspeed",
    "price": 0.027932397481985127,
    "last_update": "20140902T091020",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "bitcoiners",
    "price": 0.027745791656501581,
    "last_update": "20140902T204400",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "bits",
    "price": 0.027745791656501581,
    "last_update": "20140902T204400",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "happyshares-2",
    "price": 0.0281613401642677,
    "last_update": "20140902T181610",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate-alt",
    "price": 0.028337675024421999,
    "last_update": "20140902T002650",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate-baozi",
    "price": 0.028337675024421999,
    "last_update": "20140902T002650",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate-watchman",
    "price": 0.028337675024421999,
    "last_update": "20140902T002650",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "lotto-delegate",
    "price": 0.028500000000000001,
    "last_update": "20140902T121220",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "maqifrnswa",
    "price": 0.027799814673321079,
    "last_update": "20140902T124610",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "riverhead-del-server-1",
    "price": 0.028165004798542542,
    "last_update": "20140902T104130",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate1-galt",
    "price": 0.02751402781166138,
    "last_update": "20140902T170000",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "emski.bitdelegate",
    "price": 0.028500000000000001,
    "last_update": "20140902T121220",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate.xeroc",
    "price": 0.02814060542967288,
    "last_update": "20140902T093420",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "a.delegate.xeroc",
    "price": 0.02814060542967288,
    "last_update": "20140902T093420",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "b.delegate.xeroc",
    "price": 0.02814060542967288,
    "last_update": "20140902T093420",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate.taolje",
    "price": 0.027255425057747994,
    "last_update": "20140902T052140",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "cny.bts500",
    "price": 0.027981621533707406,
    "last_update": "20140902T175150",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "usd.bts500",
    "price": 0.027981621533707406,
    "last_update": "20140902T175150",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "dac.bts500",
    "price": 0.027981621533707406,
    "last_update": "20140902T175150",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate.bitsuperlab",
    "price": 0.028337675024421999,
    "last_update": "20140902T002650",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "my.watch.begins.nightswatch",
    "price": 0.027222890978299767,
    "last_update": "20140902T052320",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "hear.me.roar.lion",
    "price": 0.027222890978299767,
    "last_update": "20140902T052320",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate.liondani",
    "price": 0.027907000000000001,
    "last_update": "20140902T230400",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "www.minebitshares-com",
    "price": 0.027735302729609258,
    "last_update": "20140902T051850",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "www2.minebitshares-com",
    "price": 0.027222890978299767,
    "last_update": "20140902T052150",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate.svk31",
    "price": 0.0281,
    "last_update": "20140902T091710",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate2.svk31",
    "price": 0.0281,
    "last_update": "20140902T092630",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate3.svk31",
    "price": 0.0281,
    "last_update": "20140902T091710",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate.coolspeed",
    "price": 0.027932397481985127,
    "last_update": "20140902T091020",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "dac.coolspeed",
    "price": 0.027932397481985127,
    "last_update": "20140902T091020",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "now.dacwin",
    "price": 0.027969809847585271,
    "last_update": "20140902T094010",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "future.dacwin",
    "price": 0.027969809847585271,
    "last_update": "20140902T094010",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate1.maqifrnswa",
    "price": 0.027799814673321079,
    "last_update": "20140902T124610",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate1.john-galt",
    "price": 0.027933642351793121,
    "last_update": "20140902T171710",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate.coinhoarder",
    "price": 0.027751000000000001,
    "last_update": "20140902T193010",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "sun.delegate.service",
    "price": 0.028029999999999999,
    "last_update": "20140902T122850",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "moon.delegate.service",
    "price": 0.028029999999999999,
    "last_update": "20140902T122840",
    "asset_symbol": null,
    "median_price": null
  }
]

My script had stopped working as well.  Was showing nothing but a bunch of
Fetch: USD
Fetch: BTC
Fetch: CNY

over and over again.

Offline Riverhead




Try doing a new pull. Mine is working fine but I updated it yesterday.

Offline huzhuzhu

  • Newbie
  • *
  • Posts: 19
    • View Profile
same here. this auto feed script is broken

there are only 47 delegates who publish price in time.(at least every 24 hours)
Code: [Select]
a.delegate.xeroc
b.delegate.xeroc
bitcoiners
bits
bitsuperlab
calabiyau
cny.bts500
coolspeed
dac.bts500
dac.coolspeed
daslab
delegate1-galt
delegate1.john-galt
delegate1.maqifrnswa
delegate2.svk31
delegate3.svk31
delegate-alt
delegate-baozi
delegate.bitsuperlab
delegate.coinhoarder
delegate.coolspeed
delegate.liondani
delegate.svk31
delegate.taolje
delegate-watchman
delegate.xeroc
emski.bitdelegate
fox
future.dacwin
happyshares-2
hear.me.roar.lion
init5
init53
init58
init65
init88
init9
lotto-delegate
maqifrnswa
moon.delegate.service
my.watch.begins.nightswatch
now.dacwin
riverhead-del-server-1
sun.delegate.service
usd.bts500
www2.minebitshares-com
www.minebitshares-com
Code: [Select]

delegate (unlocked) >>> blockchain_get_feeds_for_asset USD
[{
  },{
    "delegate_name": "init5",
    "price": 0.028467925757082381,
    "last_update": "20140902T024920",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "init9",
    "price": 0.028467925757082381,
    "last_update": "20140902T024920",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "init53",
    "price": 0.028467925757082381,
    "last_update": "20140902T024920",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "init58",
    "price": 0.028467925757082381,
    "last_update": "20140902T024920",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "init65",
    "price": 0.028467925757082381,
    "last_update": "20140902T024920",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "init88",
    "price": 0.028467925757082381,
    "last_update": "20140902T024920",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "calabiyau",
    "price": 0.027908432951126279,
    "last_update": "20140902T181050",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "fox",
    "price": 0.029587949999999998,
    "last_update": "20140902T223610",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "bitsuperlab",
    "price": 0.027255425057747994,
    "last_update": "20140902T052140",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "daslab",
    "price": 0.027199999999999998,
    "last_update": "20140902T152950",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "coolspeed",
    "price": 0.027932397481985127,
    "last_update": "20140902T091020",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "bitcoiners",
    "price": 0.027745791656501581,
    "last_update": "20140902T204400",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "bits",
    "price": 0.027745791656501581,
    "last_update": "20140902T204400",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "happyshares-2",
    "price": 0.0281613401642677,
    "last_update": "20140902T181610",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate-alt",
    "price": 0.028337675024421999,
    "last_update": "20140902T002650",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate-baozi",
    "price": 0.028337675024421999,
    "last_update": "20140902T002650",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate-watchman",
    "price": 0.028337675024421999,
    "last_update": "20140902T002650",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "lotto-delegate",
    "price": 0.028500000000000001,
    "last_update": "20140902T121220",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "maqifrnswa",
    "price": 0.027799814673321079,
    "last_update": "20140902T124610",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "riverhead-del-server-1",
    "price": 0.028165004798542542,
    "last_update": "20140902T104130",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate1-galt",
    "price": 0.02751402781166138,
    "last_update": "20140902T170000",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "emski.bitdelegate",
    "price": 0.028500000000000001,
    "last_update": "20140902T121220",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate.xeroc",
    "price": 0.02814060542967288,
    "last_update": "20140902T093420",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "a.delegate.xeroc",
    "price": 0.02814060542967288,
    "last_update": "20140902T093420",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "b.delegate.xeroc",
    "price": 0.02814060542967288,
    "last_update": "20140902T093420",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate.taolje",
    "price": 0.027255425057747994,
    "last_update": "20140902T052140",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "cny.bts500",
    "price": 0.027981621533707406,
    "last_update": "20140902T175150",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "usd.bts500",
    "price": 0.027981621533707406,
    "last_update": "20140902T175150",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "dac.bts500",
    "price": 0.027981621533707406,
    "last_update": "20140902T175150",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate.bitsuperlab",
    "price": 0.028337675024421999,
    "last_update": "20140902T002650",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "my.watch.begins.nightswatch",
    "price": 0.027222890978299767,
    "last_update": "20140902T052320",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "hear.me.roar.lion",
    "price": 0.027222890978299767,
    "last_update": "20140902T052320",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate.liondani",
    "price": 0.027907000000000001,
    "last_update": "20140902T230400",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "www.minebitshares-com",
    "price": 0.027735302729609258,
    "last_update": "20140902T051850",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "www2.minebitshares-com",
    "price": 0.027222890978299767,
    "last_update": "20140902T052150",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate.svk31",
    "price": 0.0281,
    "last_update": "20140902T091710",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate2.svk31",
    "price": 0.0281,
    "last_update": "20140902T092630",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate3.svk31",
    "price": 0.0281,
    "last_update": "20140902T091710",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate.coolspeed",
    "price": 0.027932397481985127,
    "last_update": "20140902T091020",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "dac.coolspeed",
    "price": 0.027932397481985127,
    "last_update": "20140902T091020",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "now.dacwin",
    "price": 0.027969809847585271,
    "last_update": "20140902T094010",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "future.dacwin",
    "price": 0.027969809847585271,
    "last_update": "20140902T094010",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate1.maqifrnswa",
    "price": 0.027799814673321079,
    "last_update": "20140902T124610",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate1.john-galt",
    "price": 0.027933642351793121,
    "last_update": "20140902T171710",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate.coinhoarder",
    "price": 0.027751000000000001,
    "last_update": "20140902T193010",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "sun.delegate.service",
    "price": 0.028029999999999999,
    "last_update": "20140902T122850",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "moon.delegate.service",
    "price": 0.028029999999999999,
    "last_update": "20140902T122840",
    "asset_symbol": null,
    "median_price": null
  }
]

My script had stopped working as well.  Was showing nothing but a bunch of
Fetch: USD
Fetch: BTC
Fetch: CNY

over and over again.

Offline CalabiYau


My script had stopped working as well.  Was showing nothing but a bunch of
Fetch: USD
Fetch: BTC
Fetch: CNY

over and over again.

Same here. Script stops updating every time after ~ 12 hours

Code: [Select]
================= 20140904T165319 ==================
Fetch: USD [0.031113572685215352, 0.031001172867661433] ,ave: 0.0310573727764 ,change: 0.27 %
Fetch: GLD [2.4534033199813388e-05, 2.4445402399248617e-05] ,ave: 2.44897177995e-05 ,change: -4.45 %
Fetch: BTC [6.78e-05, 6.404e-05] ,ave: 6.592e-05 ,change: -2.93 %
Fetch: CNY [0.191, 0.19031] ,ave: 0.190655 ,change: 0.27 %

================= 20140904T165423 ==================
Fetch: USD [0.031113572685215352, 0.031001172867661433] ,ave: 0.0310573727764 ,change: 0.27 %
Fetch: GLD [2.4534033199813388e-05, 2.4445402399248617e-05] ,ave: 2.44897177995e-05 ,change: -4.45 %
Fetch: BTC [6.78e-05, 6.404e-05] ,ave: 6.592e-05 ,change: -2.93 %
Fetch: CNY [0.191, 0.19031] ,ave: 0.190655 ,change: 0.27 %
Fetch: rate usd/cny 6.1388
Fetch: rate xau/cny 7787.252

================= 20140904T165526 ==================
Fetch: USD [0.031113572685215352, 0.031001172867661433] ,ave: 0.0310573727764 ,change: 0.27 %
Fetch: GLD [2.4527265844228488e-05, 2.443865949117866e-05] ,ave: 2.44829626677e-05 ,change: -4.48 %
Fetch: BTC [6.78e-05, 6.4e-05] ,ave: 6.59e-05 ,change: -2.96 %
Fetch: CNY [0.191, 0.19031] ,ave: 0.190655 ,change: 0.27 %

================= 20140904T165629 ==================
Fetch: rate usd/cny 6.1388
Fetch: rate xau/cny 7792.8999
Fetch: rate usd/cny 6.1388
Fetch: rate xau/cny 7790.7515
Fetch: rate usd/cny 6.1388
Fetch: rate xau/cny 7792.2861
Fetch: rate usd/cny 6.1388
Fetch: rate xau/cny 7796.5835
Fetch: rate usd/cny 6.1388
Fetch: rate xau/cny 7794.7417
Fetch: rate usd/cny 6.1388
Fetch: rate xau/cny 7785.7178
Fetch: rate usd/cny 6.1388
Fetch: rate xau/cny 7791.6724
« Last Edit: September 04, 2014, 04:13:01 pm by CalabiYau »

Offline spartako

  • Sr. Member
  • ****
  • Posts: 401
    • View Profile
spartako,spartako1,spartako2 active delegates are using the script ./btsx_feed_auto.py USD BTC CNY and it seems working:

Code: [Select]
default (unlocked) >>> blockchain_get_feeds_from_delegate spartako
[{
    "delegate_name": "spartako",
    "price": 5.9855000000000002e-05,
    "last_update": "20140903T054800",
    "asset_symbol": "BTC",
    "median_price": 6.0600000000000003e-05
  },{
    "delegate_name": "spartako",
    "price": 0.18329999999999999,
    "last_update": "20140903T021940",
    "asset_symbol": "CNY",
    "median_price": 0.18149999999999999
  },{
    "delegate_name": "spartako",
    "price": 0.029809240376640487,
    "last_update": "20140903T021940",
    "asset_symbol": "USD",
    "median_price": 0.029499999999999998
  }
]

default (unlocked) >>> blockchain_get_feeds_from_delegate spartako1
[{
    "delegate_name": "spartako1",
    "price": 5.9855000000000002e-05,
    "last_update": "20140903T054800",
    "asset_symbol": "BTC",
    "median_price": 6.0600000000000003e-05
  },{
    "delegate_name": "spartako1",
    "price": 0.18329999999999999,
    "last_update": "20140903T021940",
    "asset_symbol": "CNY",
    "median_price": 0.18149999999999999
  },{
    "delegate_name": "spartako1",
    "price": 0.029809240376640487,
    "last_update": "20140903T021940",
    "asset_symbol": "USD",
    "median_price": 0.029499999999999998
  }
]

default (unlocked) >>> blockchain_get_feeds_from_delegate spartako2
[{
    "delegate_name": "spartako2",
    "price": 5.9855000000000002e-05,
    "last_update": "20140903T054800",
    "asset_symbol": "BTC",
    "median_price": 6.0600000000000003e-05
  },{
    "delegate_name": "spartako2",
    "price": 0.18329999999999999,
    "last_update": "20140903T021940",
    "asset_symbol": "CNY",
    "median_price": 0.18149999999999999
  },{
    "delegate_name": "spartako2",
    "price": 0.029809240376640487,
    "last_update": "20140903T021940",
    "asset_symbol": "USD",
    "median_price": 0.029499999999999998
  }
]

wallet_account_set_approval spartako

Offline svk



Tried to update more then once, but not visible when i calling blockchain_get_feeds_from_delegate.
Seems i'm on a fork :-[

happyshares-2 has been missing blocks so it might be on a fork yea. Restart the client with --rebuild-index if that's the case, will take a couple of minutes but should get you back on the right fork.

If you wanna have a quick check if your delegate has been missing blocks recently, just go here and check the "last missed blocks" table:

http://www.bitsharesblocks.com/home
I like the new look SVK.  I especially like that you list unclaimed genesis balance.  Forgive me if you did this awhile ago and it took me a long time to notice.

Thanks :) Think I added that this weekend, it was at 850 million when I first put it up, been decreasing steadily since.
Worker: dev.bitsharesblocks

Offline boombastic

  • Sr. Member
  • ****
  • Posts: 251
    • View Profile
    • AngelShares Explorer
Manually updated price feed for delegates:
mr.agsexplorer
mrs.agsexplorer
http://bitshares.dacplay.org/r/boombastic
Support My Witness: mr.agsexplorer
BTC: 1Bb6V1UStz45QMAamjaX8rDjsnQnBpHvE8

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
there are only 47 delegates who publish price in time.(at least every 24 hours)
Code: [Select]
a.delegate.xeroc
b.delegate.xeroc
bitcoiners
bits
bitsuperlab
calabiyau
cny.bts500
coolspeed
dac.bts500
dac.coolspeed
daslab
delegate1-galt
delegate1.john-galt
delegate1.maqifrnswa
delegate2.svk31
delegate3.svk31
delegate-alt
delegate-baozi
delegate.bitsuperlab
delegate.coinhoarder
delegate.coolspeed
delegate.liondani
delegate.svk31
delegate.taolje
delegate-watchman
delegate.xeroc
emski.bitdelegate
fox
future.dacwin
happyshares-2
hear.me.roar.lion
init5
init53
init58
init65
init88
init9
lotto-delegate
maqifrnswa
moon.delegate.service
my.watch.begins.nightswatch
now.dacwin
riverhead-del-server-1
sun.delegate.service
usd.bts500
www2.minebitshares-com
www.minebitshares-com
Code: [Select]

delegate (unlocked) >>> blockchain_get_feeds_for_asset USD
[{
  },{
    "delegate_name": "init5",
    "price": 0.028467925757082381,
    "last_update": "20140902T024920",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "init9",
    "price": 0.028467925757082381,
    "last_update": "20140902T024920",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "init53",
    "price": 0.028467925757082381,
    "last_update": "20140902T024920",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "init58",
    "price": 0.028467925757082381,
    "last_update": "20140902T024920",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "init65",
    "price": 0.028467925757082381,
    "last_update": "20140902T024920",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "init88",
    "price": 0.028467925757082381,
    "last_update": "20140902T024920",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "calabiyau",
    "price": 0.027908432951126279,
    "last_update": "20140902T181050",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "fox",
    "price": 0.029587949999999998,
    "last_update": "20140902T223610",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "bitsuperlab",
    "price": 0.027255425057747994,
    "last_update": "20140902T052140",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "daslab",
    "price": 0.027199999999999998,
    "last_update": "20140902T152950",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "coolspeed",
    "price": 0.027932397481985127,
    "last_update": "20140902T091020",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "bitcoiners",
    "price": 0.027745791656501581,
    "last_update": "20140902T204400",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "bits",
    "price": 0.027745791656501581,
    "last_update": "20140902T204400",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "happyshares-2",
    "price": 0.0281613401642677,
    "last_update": "20140902T181610",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate-alt",
    "price": 0.028337675024421999,
    "last_update": "20140902T002650",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate-baozi",
    "price": 0.028337675024421999,
    "last_update": "20140902T002650",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate-watchman",
    "price": 0.028337675024421999,
    "last_update": "20140902T002650",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "lotto-delegate",
    "price": 0.028500000000000001,
    "last_update": "20140902T121220",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "maqifrnswa",
    "price": 0.027799814673321079,
    "last_update": "20140902T124610",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "riverhead-del-server-1",
    "price": 0.028165004798542542,
    "last_update": "20140902T104130",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate1-galt",
    "price": 0.02751402781166138,
    "last_update": "20140902T170000",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "emski.bitdelegate",
    "price": 0.028500000000000001,
    "last_update": "20140902T121220",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate.xeroc",
    "price": 0.02814060542967288,
    "last_update": "20140902T093420",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "a.delegate.xeroc",
    "price": 0.02814060542967288,
    "last_update": "20140902T093420",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "b.delegate.xeroc",
    "price": 0.02814060542967288,
    "last_update": "20140902T093420",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate.taolje",
    "price": 0.027255425057747994,
    "last_update": "20140902T052140",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "cny.bts500",
    "price": 0.027981621533707406,
    "last_update": "20140902T175150",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "usd.bts500",
    "price": 0.027981621533707406,
    "last_update": "20140902T175150",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "dac.bts500",
    "price": 0.027981621533707406,
    "last_update": "20140902T175150",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate.bitsuperlab",
    "price": 0.028337675024421999,
    "last_update": "20140902T002650",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "my.watch.begins.nightswatch",
    "price": 0.027222890978299767,
    "last_update": "20140902T052320",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "hear.me.roar.lion",
    "price": 0.027222890978299767,
    "last_update": "20140902T052320",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate.liondani",
    "price": 0.027907000000000001,
    "last_update": "20140902T230400",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "www.minebitshares-com",
    "price": 0.027735302729609258,
    "last_update": "20140902T051850",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "www2.minebitshares-com",
    "price": 0.027222890978299767,
    "last_update": "20140902T052150",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate.svk31",
    "price": 0.0281,
    "last_update": "20140902T091710",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate2.svk31",
    "price": 0.0281,
    "last_update": "20140902T092630",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate3.svk31",
    "price": 0.0281,
    "last_update": "20140902T091710",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate.coolspeed",
    "price": 0.027932397481985127,
    "last_update": "20140902T091020",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "dac.coolspeed",
    "price": 0.027932397481985127,
    "last_update": "20140902T091020",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "now.dacwin",
    "price": 0.027969809847585271,
    "last_update": "20140902T094010",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "future.dacwin",
    "price": 0.027969809847585271,
    "last_update": "20140902T094010",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate1.maqifrnswa",
    "price": 0.027799814673321079,
    "last_update": "20140902T124610",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate1.john-galt",
    "price": 0.027933642351793121,
    "last_update": "20140902T171710",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate.coinhoarder",
    "price": 0.027751000000000001,
    "last_update": "20140902T193010",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "sun.delegate.service",
    "price": 0.028029999999999999,
    "last_update": "20140902T122850",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "moon.delegate.service",
    "price": 0.028029999999999999,
    "last_update": "20140902T122840",
    "asset_symbol": null,
    "median_price": null
  }
]

My script had stopped working as well.  Was showing nothing but a bunch of
Fetch: USD
Fetch: BTC
Fetch: CNY

over and over again.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
Tried to update more then once, but not visible when i calling blockchain_get_feeds_from_delegate.
Seems i'm on a fork :-[

happyshares-2 has been missing blocks so it might be on a fork yea. Restart the client with --rebuild-index if that's the case, will take a couple of minutes but should get you back on the right fork.

If you wanna have a quick check if your delegate has been missing blocks recently, just go here and check the "last missed blocks" table:

http://www.bitsharesblocks.com/home
I like the new look SVK.  I especially like that you list unclaimed genesis balance.  Forgive me if you did this awhile ago and it took me a long time to notice.
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline amencon

  • Sr. Member
  • ****
  • Posts: 227
    • View Profile
Hmm think my script file was bad.  I've re-set it up and I believe it should be working correctly now.  Thanks for the alert, I'll keep a closer eye to verify it keeps updating correctly.

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
wow, you have published price for  bitgold already  :D
I restarted mine with just ./btsx_feed_auto.py  :-[

forgot the USD CNY GLD BTC at the end

Code: [Select]
./btsx_feed_auto.py USD CNY GLD BTC

Thanks alt.
 
*.xeldal updated.

Xeldal

  • Guest
I restarted mine with just ./btsx_feed_auto.py  :-[

forgot the USD CNY GLD BTC at the end

Code: [Select]
./btsx_feed_auto.py USD CNY GLD BTC

Thanks alt.
 
*.xeldal updated.

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
there are only 47 delegates who publish price in time.(at least every 24 hours)
Code: [Select]
a.delegate.xeroc
b.delegate.xeroc
bitcoiners
bits
bitsuperlab
calabiyau
cny.bts500
coolspeed
dac.bts500
dac.coolspeed
daslab
delegate1-galt
delegate1.john-galt
delegate1.maqifrnswa
delegate2.svk31
delegate3.svk31
delegate-alt
delegate-baozi
delegate.bitsuperlab
delegate.coinhoarder
delegate.coolspeed
delegate.liondani
delegate.svk31
delegate.taolje
delegate-watchman
delegate.xeroc
emski.bitdelegate
fox
future.dacwin
happyshares-2
hear.me.roar.lion
init5
init53
init58
init65
init88
init9
lotto-delegate
maqifrnswa
moon.delegate.service
my.watch.begins.nightswatch
now.dacwin
riverhead-del-server-1
sun.delegate.service
usd.bts500
www2.minebitshares-com
www.minebitshares-com
Code: [Select]

delegate (unlocked) >>> blockchain_get_feeds_for_asset USD
[{
  },{
    "delegate_name": "init5",
    "price": 0.028467925757082381,
    "last_update": "20140902T024920",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "init9",
    "price": 0.028467925757082381,
    "last_update": "20140902T024920",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "init53",
    "price": 0.028467925757082381,
    "last_update": "20140902T024920",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "init58",
    "price": 0.028467925757082381,
    "last_update": "20140902T024920",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "init65",
    "price": 0.028467925757082381,
    "last_update": "20140902T024920",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "init88",
    "price": 0.028467925757082381,
    "last_update": "20140902T024920",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "calabiyau",
    "price": 0.027908432951126279,
    "last_update": "20140902T181050",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "fox",
    "price": 0.029587949999999998,
    "last_update": "20140902T223610",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "bitsuperlab",
    "price": 0.027255425057747994,
    "last_update": "20140902T052140",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "daslab",
    "price": 0.027199999999999998,
    "last_update": "20140902T152950",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "coolspeed",
    "price": 0.027932397481985127,
    "last_update": "20140902T091020",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "bitcoiners",
    "price": 0.027745791656501581,
    "last_update": "20140902T204400",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "bits",
    "price": 0.027745791656501581,
    "last_update": "20140902T204400",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "happyshares-2",
    "price": 0.0281613401642677,
    "last_update": "20140902T181610",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate-alt",
    "price": 0.028337675024421999,
    "last_update": "20140902T002650",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate-baozi",
    "price": 0.028337675024421999,
    "last_update": "20140902T002650",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate-watchman",
    "price": 0.028337675024421999,
    "last_update": "20140902T002650",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "lotto-delegate",
    "price": 0.028500000000000001,
    "last_update": "20140902T121220",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "maqifrnswa",
    "price": 0.027799814673321079,
    "last_update": "20140902T124610",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "riverhead-del-server-1",
    "price": 0.028165004798542542,
    "last_update": "20140902T104130",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate1-galt",
    "price": 0.02751402781166138,
    "last_update": "20140902T170000",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "emski.bitdelegate",
    "price": 0.028500000000000001,
    "last_update": "20140902T121220",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate.xeroc",
    "price": 0.02814060542967288,
    "last_update": "20140902T093420",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "a.delegate.xeroc",
    "price": 0.02814060542967288,
    "last_update": "20140902T093420",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "b.delegate.xeroc",
    "price": 0.02814060542967288,
    "last_update": "20140902T093420",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate.taolje",
    "price": 0.027255425057747994,
    "last_update": "20140902T052140",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "cny.bts500",
    "price": 0.027981621533707406,
    "last_update": "20140902T175150",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "usd.bts500",
    "price": 0.027981621533707406,
    "last_update": "20140902T175150",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "dac.bts500",
    "price": 0.027981621533707406,
    "last_update": "20140902T175150",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate.bitsuperlab",
    "price": 0.028337675024421999,
    "last_update": "20140902T002650",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "my.watch.begins.nightswatch",
    "price": 0.027222890978299767,
    "last_update": "20140902T052320",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "hear.me.roar.lion",
    "price": 0.027222890978299767,
    "last_update": "20140902T052320",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate.liondani",
    "price": 0.027907000000000001,
    "last_update": "20140902T230400",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "www.minebitshares-com",
    "price": 0.027735302729609258,
    "last_update": "20140902T051850",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "www2.minebitshares-com",
    "price": 0.027222890978299767,
    "last_update": "20140902T052150",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate.svk31",
    "price": 0.0281,
    "last_update": "20140902T091710",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate2.svk31",
    "price": 0.0281,
    "last_update": "20140902T092630",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate3.svk31",
    "price": 0.0281,
    "last_update": "20140902T091710",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate.coolspeed",
    "price": 0.027932397481985127,
    "last_update": "20140902T091020",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "dac.coolspeed",
    "price": 0.027932397481985127,
    "last_update": "20140902T091020",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "now.dacwin",
    "price": 0.027969809847585271,
    "last_update": "20140902T094010",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "future.dacwin",
    "price": 0.027969809847585271,
    "last_update": "20140902T094010",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate1.maqifrnswa",
    "price": 0.027799814673321079,
    "last_update": "20140902T124610",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate1.john-galt",
    "price": 0.027933642351793121,
    "last_update": "20140902T171710",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "delegate.coinhoarder",
    "price": 0.027751000000000001,
    "last_update": "20140902T193010",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "sun.delegate.service",
    "price": 0.028029999999999999,
    "last_update": "20140902T122850",
    "asset_symbol": null,
    "median_price": null
  },{
    "delegate_name": "moon.delegate.service",
    "price": 0.028029999999999999,
    "last_update": "20140902T122840",
    "asset_symbol": null,
    "median_price": null
  }
]
« Last Edit: September 02, 2014, 11:50:44 pm by alt »

Offline CalabiYau

calabiyau

neuronics

Auto-feed established

Offline amencon

  • Sr. Member
  • ****
  • Posts: 227
    • View Profile
Auto-feed running since last night, thanks!

Offline happyshares

  • Jr. Member
  • **
  • Posts: 33
    • View Profile

happyshares-2 has been missing blocks so it might be on a fork yea. Restart the client with --rebuild-index if that's the case, will take a couple of minutes but should get you back on the right fork.

If you wanna have a quick check if your delegate has been missing blocks recently, just go here and check the "last missed blocks" table:

http://www.bitsharesblocks.com/home

thanks for your kindness svk, node is running again.

Offline yidaidaxia

  • Full Member
  • ***
  • Posts: 179
    • View Profile
now.dacwin
future.dacwin
upgraded to 0.4.10 already

feed price for bitusd, bitcny, bitbtc available now!

Auto feed deployed.
PTS: PmUT7H6e7Hvp9WtKtxphK8AMeRndnow2S8   /   BTC: 1KsJzs8zYppVHBp7CbyvQAYrEAWXEcNvmp   /   BTSX: yidaidaxia (暂用)
新浪微博: yidaidaxia_郝晓曦 QQ:36191175试手补天

Offline coolspeed

  • Hero Member
  • *****
  • Posts: 536
    • View Profile
    • My Blog
delegate.coolspeed
dac.coolspeed

updated to 0.4.10
and have fed all the prices needed.

auto feed will be deployed soon. (thanks bitsuperlab)



Sent from my iPhone using Tapatalk

Auto feed deployed.
Please vote for  delegate.coolspeed    dac.coolspeed
BTS account: coolspeed
Sina Weibo:@coolspeed

Offline Harvey

  • Sr. Member
  • ****
  • Posts: 244
    • View Profile
hear.me.roar.lion   
fire.and.blood.dragon 
my.watch.begins.nightswatch

updated to 0.4.10
with auto-price-feeding
BTS       Witness:harvey-xts Seed:128.199.143.47:2015 API:wss://128.199.143.47:2016 
MUSE   Witness:harvey-xts Seed:128.199.143.47:2017 API:ws://128.199.143.47:2018

Offline svk

Tried to update more then once, but not visible when i calling blockchain_get_feeds_from_delegate.
Seems i'm on a fork :-[

happyshares-2 has been missing blocks so it might be on a fork yea. Restart the client with --rebuild-index if that's the case, will take a couple of minutes but should get you back on the right fork.

If you wanna have a quick check if your delegate has been missing blocks recently, just go here and check the "last missed blocks" table:

http://www.bitsharesblocks.com/home
Worker: dev.bitsharesblocks

Offline happyshares

  • Jr. Member
  • **
  • Posts: 33
    • View Profile
Tried to update more then once, but not visible when i calling blockchain_get_feeds_from_delegate.
Seems i'm on a fork :-[

Offline CalabiYau


Offline crazybit

upgraded and published the price feed.

Offline coolspeed

  • Hero Member
  • *****
  • Posts: 536
    • View Profile
    • My Blog
delegate.coolspeed
dac.coolspeed

updated to 0.4.10
and have fed all the prices needed.

auto feed will be deployed soon. (thanks bitsuperlab)



Sent from my iPhone using Tapatalk
Please vote for  delegate.coolspeed    dac.coolspeed
BTS account: coolspeed
Sina Weibo:@coolspeed

Offline king

  • Full Member
  • ***
  • Posts: 80
    • View Profile
sun.delegate.service
moon.delegate.service

updated to 0.4.10
and publish price feed usd,cny and btc...yesterday
BTSX Account: mister
BTSX Delegate :sun.delegate.service,moon.delegate.service

Offline testz

Updated to 0.4.10
Updated price feeds USD, BTC, and CNY

Offline yidaidaxia

  • Full Member
  • ***
  • Posts: 179
    • View Profile
now.dacwin
future.dacwin
upgraded to 0.4.10 already

feed price for bitusd, bitcny, bitbtc available now!
PTS: PmUT7H6e7Hvp9WtKtxphK8AMeRndnow2S8   /   BTC: 1KsJzs8zYppVHBp7CbyvQAYrEAWXEcNvmp   /   BTSX: yidaidaxia (暂用)
新浪微博: yidaidaxia_郝晓曦 QQ:36191175试手补天

Offline bitcoinerS

  • Hero Member
  • *****
  • Posts: 592
    • View Profile
delegate node upgraded, feeds published.
>>> approve bitcoiners

Offline taoljj

  • Full Member
  • ***
  • Posts: 177
    • View Profile
Done.
delegate.taolje
using alt's tools,publish the feed price for USD,BTC,CNY automatic
« Last Edit: September 01, 2014, 03:45:00 am by taoljj »
BTS      Witness: delegate.taoljj

Offline yidaidaxia

  • Full Member
  • ***
  • Posts: 179
    • View Profile
now.dacwin
future.dacwin
upgraded to 0.4.10 already
PTS: PmUT7H6e7Hvp9WtKtxphK8AMeRndnow2S8   /   BTC: 1KsJzs8zYppVHBp7CbyvQAYrEAWXEcNvmp   /   BTSX: yidaidaxia (暂用)
新浪微博: yidaidaxia_郝晓曦 QQ:36191175试手补天

Offline Webber

  • Sr. Member
  • ****
  • Posts: 223
    • View Profile
delegate.webber have updated to 0.4.10,and will feed price auto
Bitshares2.0 witness node:delegate.webber
Bitshares2.0 API:ws://114.215.116.57:8090

Offline Riverhead

delegate.bitsuperlab
delegate-alt
delegate-watchman
delegate-baozi

has updated, and publish the feed price for USD,BTC,CNY automatic


Ditto for riverhead-del-server-1 since I'm using Alt's tools :) .

Offline onceuponatime

Markets for USD and BTC are now live.... trade at will.

On the bitUSD market I have put in a bid that matches an ask (not short) and it is not going through - just sitting there as the highest bid. What's going on with that?

Shorts that are above the average are not matched and the GUI hasn't been updated to filter them out.


But it is not a short, it is an ask:   Ask   29.9904   7,091.8731   212,688.13280

And my bid:  29.9904   5,000.00   149,952.00

I figured out why this is happening and filed an issue on Github:  https://github.com/BitShares/web_wallet/issues/303

Thanks.

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
delegate.bitsuperlab
delegate-alt
delegate-watchman
delegate-baozi

has updated, and publish the feed price for USD,BTC,CNY automatic

Offline theoretical

Markets for USD and BTC are now live.... trade at will.

On the bitUSD market I have put in a bid that matches an ask (not short) and it is not going through - just sitting there as the highest bid. What's going on with that?

Shorts that are above the average are not matched and the GUI hasn't been updated to filter them out.


But it is not a short, it is an ask:   Ask   29.9904   7,091.8731   212,688.13280

And my bid:  29.9904   5,000.00   149,952.00

I figured out why this is happening and filed an issue on Github:  https://github.com/BitShares/web_wallet/issues/303
BTS- theoretical / PTS- PZxpdC8RqWsdU3pVJeobZY7JFKVPfNpy5z / BTC- 1NfGejohzoVGffAD1CnCRgo9vApjCU2viY / the delegate formerly known as drltc / Nothing said on these forums is intended to be legally binding / All opinions are my own unless otherwise noted / Take action due to my posts at your own risk

Offline clayop

  • Hero Member
  • *****
  • Posts: 2033
    • View Profile
    • Bitshares Korea
  • BitShares: clayop
 
Very confusing indeed. I love the concept of BitShares, but all of these rules/restrictions on trading activity are ridiculous. Just let the market work naturally for god's sake. It's what people want.
+5%
Bitshares Korea - http://www.bitshares.kr
Vote for me and see Korean Bitshares community grows
delegate-clayop

Offline dcchong

  • Sr. Member
  • ****
  • Posts: 203
    • View Profile
dc-delegate
bitsharesx-delegate


updated to 0.4.10,

and published prices for USD, BTC, and CNY. ;D
wallet_approve_delegate dc-delegate true
wallet_approve_delegate bitsharesx-delegate true

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
Very confusing indeed. I love the concept of BitShares, but all of these rules/restrictions on trading activity are ridiculous. Just let the market work naturally for god's sake. It's what people want.

My guts telling me: "he is right!"

Offline speedy

  • Hero Member
  • *****
  • Posts: 1160
    • View Profile
  • BitShares: speedy
Very confusing indeed. I love the concept of BitShares, but all of these rules/restrictions on trading activity are ridiculous. Just let the market work naturally for god's sake. It's what people want.

Whilst it would be great if things were just simple, what has been happening in reality is that when BTSX hits a peak, everyone desperately pays +20% for BitUSD. When BTSX hits a bottom, people pay less for it.

So instead of being pegged dollar, BitUSD just becomes some kind of trading game. That's what these rules are trying to solve.

Offline tonyk

  • Hero Member
  • *****
  • Posts: 3308
    • View Profile
Markets for USD and BTC are now live.... trade at will.

On the bitUSD market I have put in a bid that matches an ask (not short) and it is not going through - just sitting there as the highest bid. What's going on with that?

Shorts that are above the average are not matched and the GUI hasn't been updated to filter them out.


But it is not a short, it is an ask:   Ask   29.9904   7,091.8731   212,688.13280

And my bid:  29.9904   5,000.00   149,952.00
I guess the market is now greedier. I bought some of those giving the market 0.0001BTSX...
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

Offline dominic

  • Newbie
  • *
  • Posts: 2
    • View Profile
Very confusing indeed. I love the concept of BitShares, but all of these rules/restrictions on trading activity are ridiculous. Just let the market work naturally for god's sake. It's what people want.

Offline speedy

  • Hero Member
  • *****
  • Posts: 1160
    • View Profile
  • BitShares: speedy
Markets for USD and BTC are now live.... trade at will.

On the bitUSD market I have put in a bid that matches an ask (not short) and it is not going through - just sitting there as the highest bid. What's going on with that?

Shorts that are above the average are not matched and the GUI hasn't been updated to filter them out.

No wonder, but it's very confusing. When those orders will be filtered out?

I am working on that right now.  The market GUI is a mess right now, but I think DAC Sun can role out updates without a new release.

So is preventing shorts above average meant to stop shorters speculatively decreasing their asks in a clearly bullish BTSX market, just so that they can be first to match the bids? i.e. to fix the peg deviation.

Offline bytemaster

Markets for USD and BTC are now live.... trade at will.

On the bitUSD market I have put in a bid that matches an ask (not short) and it is not going through - just sitting there as the highest bid. What's going on with that?

Shorts that are above the average are not matched and the GUI hasn't been updated to filter them out.

No wonder, but it's very confusing. When those orders will be filtered out?

I am working on that right now.  The market GUI is a mess right now, but I think DAC Sun can role out updates without a new release.   
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 ripplexiaoshan

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 2300
    • View Profile
  • BitShares: jademont
Markets for USD and BTC are now live.... trade at will.

On the bitUSD market I have put in a bid that matches an ask (not short) and it is not going through - just sitting there as the highest bid. What's going on with that?

Shorts that are above the average are not matched and the GUI hasn't been updated to filter them out.

No wonder, but it's very confusing. When those orders will be filtered out?
BTS committee member:jademont

Offline liondani

  • Hero Member
  • *****
  • Posts: 3737
  • Inch by inch, play by play
    • View Profile
    • My detailed info
  • BitShares: liondani
  • GitHub: liondani
Updated to 0.4.10 and all price feeds published again with my new active delegate:

delegate.liondani


PS Sorry to miss the first blocks, I just came from work and I saw my new active delegate without mistakenly
     having set block production  to TRUE ... my apologizes.

Offline onceuponatime

Markets for USD and BTC are now live.... trade at will.

On the bitUSD market I have put in a bid that matches an ask (not short) and it is not going through - just sitting there as the highest bid. What's going on with that?

Shorts that are above the average are not matched and the GUI hasn't been updated to filter them out.


But it is not a short, it is an ask:   Ask   29.9904   7,091.8731   212,688.13280

And my bid:  29.9904   5,000.00   149,952.00

Offline bytemaster

Markets for USD and BTC are now live.... trade at will.

On the bitUSD market I have put in a bid that matches an ask (not short) and it is not going through - just sitting there as the highest bid. What's going on with that?

Shorts that are above the average are not matched and the GUI hasn't been updated to filter them out.
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 cgafeng

running 0.4.10 and price feeds published

delegate.cgafeng
BTC:1EYwcZ9cYVj6C9LMLafdcjK9wicVMDV376

Offline onceuponatime

Markets for USD and BTC are now live.... trade at will.

On the bitUSD market I have put in a bid that matches an ask (not short) and it is not going through - just sitting there as the highest bid. What's going on with that?

Offline x.ebit

  • Jr. Member
  • **
  • Posts: 33
    • View Profile
Updated to 0.4.10 and price feeds published +5% +5%

x.ebit
Delegate x.ebit, rose.ebit
Founder of BitRose

Offline gyhy

  • Hero Member
  • *****
  • Posts: 852
    • View Profile
dnsdac updated 0.4.10 and price feeds published
« Last Edit: September 01, 2014, 01:28:00 am by gyhy »

Offline muse-umum

  • Hero Member
  • *****
  • Posts: 717
  • BitShares everything
    • View Profile
*.bts500 are on 0.4.10 and will update the price feeds everytime when the prices on exchanges move +/- by more than 10% or at least once every 24 hours.
« Last Edit: August 31, 2014, 11:20:43 pm by heyD »

Offline tonyk

  • Hero Member
  • *****
  • Posts: 3308
    • View Profile
Markets for USD and BTC are now live.... trade at will.

Do you mind telling us the new rules in effect now????
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

Offline graffenwalder


Offline ripplexiaoshan

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 2300
    • View Profile
  • BitShares: jademont
Markets for USD and BTC are now live.... trade at will.

Can someone confirm this? The depth seems fine, but market is still frozen.
BTS committee member:jademont

Offline bytemaster

Markets for USD and BTC are now live.... trade at will.
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 emski

  • Hero Member
  • *****
  • Posts: 1282
    • View Profile
    • http://lnkd.in/nPbhxG
I'm having issues publishing price feed:

Code: [Select]
emski (unlocked) >>> blockchain_list_delegates 25 1
ID    NAME (* next in line)           APPROVAL       PRODUCED MISSED   RELIABILITY   PAY RATE PAY BALANCE         LAST BLOCK
============================================================================================================================
9811  emski.bitdelegate               10.02356077 %  3035     45       98.54 %       100 %    4,055.55036 BTSX    339478
emski (unlocked) >>> wallet_publish_price_feed emski.bitdelegate 0.031 USD
10 assert_exception: Assert Exception
my->_blockchain->is_active_delegate( current_account->id ):
    {}
    th_a  wallet.cpp:2840 publish_price

    {"account_to_publish_under":"emski.bitdelegate","amount_per_xts":0.031,"amount_asset_symbol":"USD","sign":true}
    th_a  wallet.cpp:2892 publish_price

    {}
    th_a  common_api_client.cpp:1699 wallet_publish_price_feed

    {"command":"wallet_publish_price_feed"}
    th_a  cli.cpp:481 execute_command

UPDATE: It works now. Perhaps I should wait for the round to end.

Offline wackou

wackou-delegate updated and feeds posted
Please vote for witness wackou! More info at http://digitalgaia.io

Offline yinchanggong

  • Sr. Member
  • ****
  • Posts: 464
    • View Profile
    • 微博 引长弓Fate
google.helloworld and microsoft.helloworld   updated to 0.4.10 and published all three feeds.

BTW, google.helloworld missed his first block at his 2011st block, which is a record, right? +5%
BTSX delegate: google.helloworld    microsoft.helloworld
BTSX Account:yinchg   Manager of BTSXCHINA Charity Fund
引长弓Fate 新浪微博

Ggozzo

  • Guest
When I get voted back in, I will post the feeds again.

Offline svk

Upgraded since this morning, just updated all three feeds on all three delegates as well.

A question for you BM: how come in the blockchain all feed ratios are stored as 0.0x and not their actual value?

See this as an example for my price feed of 0.192 for CNY:

http://bitsharesblocks.com/blocks/block?id=366726

It's listed as 0.0192 there, but in the get_feed_for_asset command the actual ratio is correct. Is there a fixed multiplier per asset to convert them to the actual ratios?
Worker: dev.bitsharesblocks

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
active: maqifrnswa
standby: delegate1.maqifrnswa

version 0.4.10, and running bitsuperlab's script for updating feeds
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

Offline ripplexiaoshan

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 2300
    • View Profile
  • BitShares: jademont
btsx.chinesecommunity has updated to 0.4.10 and published all the prices feeds. +5%

BTS committee member:jademont

Xeldal

  • Guest
Active:
delegate.xeldal
delegate2.xeldal
Standby:
delegate3.xeldal

0.4.10 with price feed via btsx_feed_auto.py USD BTC CNY

Offline spartako

  • Sr. Member
  • ****
  • Posts: 401
    • View Profile
spartako,spartako1,spartako2 active delegates upgraded to 0.4.10 and published feeds with command: btsx_feed_auto.py USD BTC CNY
wallet_account_set_approval spartako

Offline puppies

  • Hero Member
  • *****
  • Posts: 1659
    • View Profile
  • BitShares: puppies
I'm on 0.4.10 and alts script is working perfectly to update feeds
https://metaexchange.info | Bitcoin<->Altcoin exchange | Instant | Safe | Low spreads

Offline bytemaster

I will be voting out everyone who hasn't upgraded to 0.4.10 and enabling the markets within the next couple of hours. 

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.