Author Topic: Cryptofresh API  (Read 24557 times)

0 Members and 1 Guest are viewing this topic.

Offline IdoKrauss

  • Newbie
  • *
  • Posts: 8
    • View Profile

Offline lil_jay890

  • Hero Member
  • *****
  • Posts: 1197
    • View Profile
He also hasn't fixed the Market Cap bug on cryptofresh.... BTS's market cap hasn't changed in the last couple months.

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
Is @roadscape still alive? Last I heard was that he was hired by Steemit for frontend stuff .. don't know what happend to him

Offline IdoKrauss

  • Newbie
  • *
  • Posts: 8
    • View Profile
hey guys, just added the api and i noticed several errors
the major one is incorrect data on depth call

https://cryptofresh.com/api/market/depth?pair=OBITS_OPEN.BTC{"bid":[[7.0000001e-05,83818.2988],[9.0e-05,81937.4701],[9.001e-05,81712.4701],[0.0001,11176.597399999999],[0.00011,5176.5974],[0.000145000003,5076.597299999999],[0.000147110009,1628.3215],[0.000165,948.5581],[0.000172000209,32.5581],[0.0002,5076.5974]],"ask":[[0.00019989999,1000.0],[0.000199899992,2280.0978999999998],[0.0002,22280.0979],[0.000205,42280.0979],[0.00021,65048.345799999996],[0.000215,100048.3458],[0.00023,100053.3458],[0.000239999985,100583.238],[0.00024,100957.238],[0.00025,106962.238],[0.00028,106967.238],[0.0003,107230.7699],[0.0004,107270.7699],[0.0008,110290.7699],[0.002,111122.4281],[0.0023,112207.4281],[0.0025,122207.4281],[0.25,123207.4281],[0.999999999988,124029.85310000001]]}highest bid ([0.0002,5076.5974]) is higher than lowest ask ([0.00019989999,1000.0]), 0.0002 bid dose not exist for some time now but api is not updated correctly)

same issue can be found in bitSILVER/BTS market - https://cryptofresh.com/api/market/depth?pair=SILVER_BTS - (bid: [5000.0,89.35770000000001], ask: [3350.0,6.3576])

is there any way someone can fix this? or should i rely on parsnig the html from the site https://cryptofresh.com/a/OBITS_OPEN.BTC (which seems correct)

cheers = ]

Offline Yao

  • Hero Member
  • *****
  • Posts: 534
    • View Profile
  • BitShares: yao
  • GitHub: imYao
@roadscape Why cryptofresh.com didn't offer a view of multi signature transactions? The GUI wallet not offer too, very inhuman!

Each one of multi-signer need to know the detail of the multi-sig transaction to prevent cheating.

Another question:
Why the previous committee proposal can not query to? cryptofresh.com says "Page not found".
« Last Edit: August 21, 2016, 02:53:01 pm by Yao »

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12922
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BitShares: xeroc
  • GitHub: xeroc
@roadscape is no with steemit Inc and with the current rush on Steem, I don't think he will find the time to do this .. :(

Offline nmywn

  • Sr. Member
  • ****
  • Posts: 266
    • View Profile
https://cryptofresh.com/api/asset/markets?asset=BTS

Any chance for more frequent updates at least for most volume markets? 

Offline roadscape

Thanks @bang-king  :) I haven't had a chance to mess around with any web wallet code yet, not sure what the learning curve is like! But I would enjoy such a project.

Thanks, any specific API's you like to see added??

API for order book of various traiding pairs would be awesome.

Do you need orders or just depth? I added a depth API recently but haven't documented it yet:
https://cryptofresh.com/api/market/depth?pair=BTS_USD

Would be nice i you could add 24 hour statistics like...
users registered, bts volume traded,  assets created, transactions processes etc...

Great ideas.. I will include these "quick stats" as I tidy up the front page

A moving average would be nice for the charts to show long term trends

Are you referring to price charts, operation-types charts, or both?
http://cryptofresh.com  |  witness: roadscape

Offline bang-king

@roadscape  +5%  I would support a worker proposal for you to redesign our current exchange GUI.

Offline JA

  • Hero Member
  • *****
  • Posts: 650
    • View Profile
Would be nice i you could add 24 hour statistics like...
users registered, bts volume traded,  assets created, transactions processes etc...

Offline dannotestein

  • Hero Member
  • *****
  • Posts: 760
    • View Profile
    • BlockTrades International
  • BitShares: btsnow
A moving average would be nice for the charts to show long term trends
http://blocktrades.us Fast/Safe/High-Liquidity Crypto Coin Converter

Offline paliboy

Thanks, any specific API's you like to see added??

API for order book of various traiding pairs would be awesome.

Offline roadscape

That looks like a good way to organize it, thanks @tbone. I may end up breaking it out into pages once I add charts for some of the useful queries I have laying around.

@all: please put any further feedback not related to API in this thread: https://bitsharestalk.org/index.php/topic,19507.0.html -- trying to keep this thread clean so people can subscribe to API change notifications. Thanks!
http://cryptofresh.com  |  witness: roadscape

Offline tbone

  • Hero Member
  • *****
  • Posts: 632
    • View Profile
  • BitShares: tbone2
@tbone I think this is a good point about the default ops on the charts, I've made the change and it will be in the next release. It looks better too. I've made a note about the 30-day MA, will keep it in mind as I break this chart out into more detailed ones.

Great.  Perhaps you'll also consider giving each of those 3 key measures of DEX progress their own mini chart.  For example, you could have 3 smaller charts below the main chart, each the width of the existing tables.  And you could rearrange the existing tables such that a) the right charts are adjacent to the right tables, and b) all of the tables are in the best orientation to each other.   See below as an example:


Code: [Select]
-----------------------------------------------------------------------------
|  orders filled CHART  |  Transfers CHART   |   Accounts Registered CHART  |
-----------------------------------------------------------------------------
|  Most orders filled   |  Most transfers    |   Most accounts registered   |
-----------------------------------------------------------------------------
|  Most orders placed   |  Most fees paid    |      Most referrals          |
-----------------------------------------------------------------------------
|  Most assets created  |  Most assets held  |      Most operations         | 
-----------------------------------------------------------------------------

Offline roadscape

Thanks for the positive feedback!

@tbone I think this is a good point about the default ops on the charts, I've made the change and it will be in the next release. It looks better too. I've made a note about the 30-day MA, will keep it in mind as I break this chart out into more detailed ones.

@bitacer - I haven't forgotten about your request! But to do it properly we will need to locate/create images for all primary assets so they are all fairly represented and visually balanced. I haven't had time to be collect these images, maybe you could help organize such an effort? Ideally 16x16 PNGs for important assets here: https://cryptofresh.com/assets, as well as a nice default image for the others (it shouldn't be bold, and maybe there could be a different default image to distinguish UIA/PM/MPA)

Excellent job! Waiting for more!

Thanks, any specific API's you like to see added??
http://cryptofresh.com  |  witness: roadscape