Pages:
Author

Topic: CoinChoose - alternative site to show respective profitability of the alt coins - page 36. (Read 150624 times)

full member
Activity: 387
Merit: 100
How can you find out a profitability of a coin?
sr. member
Activity: 252
Merit: 250
would it be possible to add a button to take out the top result so we can see the history of the other coins?

eg with BTG hitting 53000% none of the other coins can be seen until its off the graph (and the coin toggle buttons no longer remove the coin)
hero member
Activity: 490
Merit: 500
*sigh* Block explorers died.
full member
Activity: 467
Merit: 100
DIA | Data infrastructure for DeFi
sr. member
Activity: 319
Merit: 250
What happened to CGB? Was it de-listed?
sr. member
Activity: 420
Merit: 250
You might have been blocked by CloudFlare as there is nothing on my side blocking it (several applications use it not from a browser with no issue).  Please PM me your IP and I can whitelist.

Found a solution, I had to add a browser user agent string to the request:


          URLConnection conn = url.openConnection();
          conn.setRequestProperty("User-Agent", "Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB;     rv:1.9.2.13) Gecko/20101203 Firefox/3.6.13 (.NET CLR 3.5.30729)");

Queries work now, not sure why I needed to add this to an API tho.
legendary
Activity: 1198
Merit: 1000
Any chance you will be adding trade volume in BTC to the charts?
it would be great !

Total volume trade (sum of all exchange)
full member
Activity: 155
Merit: 100
Any chance you will be adding trade volume in BTC to the charts?
hero member
Activity: 490
Merit: 500
I'm trying to access the API through Java but keep getting a 403 - Forbidden error, is the API blocked unless you're using a browser? I'm doing something like:

URL url = new URL("http://www.coinchoose.com/api.php");
HttpURLConnection conn;
try {
     conn = (HttpURLConnection) url.openConnection();
     return IOUtils.toString(conn.getInputStream());
} catch (IOException ex) {
     throw new Exception("CoinChoose unavailable", ex);
}

Doing this works for any other API, just not this one Sad

You might have been blocked by CloudFlare as there is nothing on my side blocking it (several applications use it not from a browser with no issue).  Please PM me your IP and I can whitelist.
hero member
Activity: 490
Merit: 500
I am trying to use the JSON feature.  Is there a param that can be passed to the PHP to just return one coin?  I'm trying to pull this into Excel however the data opening in http://jsonviewer.stack.hu/# is not really usable for my situation as it doesn't parse easy.  JSON doesn't seem to have any Start Array.  They all start with 0 so have no unique variable designator to call a particular block.

Thanks.

JR

Code:
  {
    "0": "ALF",
    "symbol": "ALF",
    "1": "Alphacoin",
    "name": "Alphacoin",
    "2": "scrypt",
    "algo": "scrypt",
    "3": "139899",
    "currentBlocks": "139899",
    "4": "0.28117197",
    "difficulty": "0.28117197",
    "5": "50",
    "reward": "50",
    "6": "0.5",
    "minBlockTime": "0.5",
    "7": "42348021",
    "networkhashrate": "42348021",
    "price": "0.00000668",
    "exchange": "CRY",
    "ratio": 177.67324231619,
    "adjustedratio": 149.30524564386,
    "avgProfit": "238.90397144111515",
    "avgHash": "32870159.8819"
  },
  {
    "0": "AMC",
    "symbol": "AMC",
    "1": "AmericanCoin",
    "name": "AmericanCoin",
    "2": "scrypt",
    "algo": "scrypt",
    "3": "26447",
    "currentBlocks": "26447",
    "4": "0.58185063",
    "difficulty": "0.58185063",
    "5": "100",
    "reward": "100",
    "6": "1",
    "minBlockTime": "1",
    "7": "4298789",
    "networkhashrate": "4298789",
    "price": "0.0000082675",
    "exchange": "CRY",
    "ratio": 212.52512455529,
    "adjustedratio": 196.45179580741,
    "avgProfit": "201.92091254984373",
    "avgHash": "5449881.8681"
  },

Hi - since the API is already being used in several applications, I can't alter the format now.  However, you could just iterate thru and find the symbol by examining the "symbol".
sr. member
Activity: 420
Merit: 250
I'm trying to access the API through Java but keep getting a 403 - Forbidden error, is the API blocked unless you're using a browser? I'm doing something like:

URL url = new URL("http://www.coinchoose.com/api.php");
HttpURLConnection conn;
try {
     conn = (HttpURLConnection) url.openConnection();
     return IOUtils.toString(conn.getInputStream());
} catch (IOException ex) {
     throw new Exception("CoinChoose unavailable", ex);
}

Doing this works for any other API, just not this one Sad
full member
Activity: 147
Merit: 100
I am trying to use the JSON feature.  Is there a param that can be passed to the PHP to just return one coin?  I'm trying to pull this into Excel however the data opening in http://jsonviewer.stack.hu/# is not really usable for my situation as it doesn't parse easy.  JSON doesn't seem to have any Start Array.  They all start with 0 so have no unique variable designator to call a particular block.

Thanks.

JR

Code:
  {
    "0": "ALF",
    "symbol": "ALF",
    "1": "Alphacoin",
    "name": "Alphacoin",
    "2": "scrypt",
    "algo": "scrypt",
    "3": "139899",
    "currentBlocks": "139899",
    "4": "0.28117197",
    "difficulty": "0.28117197",
    "5": "50",
    "reward": "50",
    "6": "0.5",
    "minBlockTime": "0.5",
    "7": "42348021",
    "networkhashrate": "42348021",
    "price": "0.00000668",
    "exchange": "CRY",
    "ratio": 177.67324231619,
    "adjustedratio": 149.30524564386,
    "avgProfit": "238.90397144111515",
    "avgHash": "32870159.8819"
  },
  {
    "0": "AMC",
    "symbol": "AMC",
    "1": "AmericanCoin",
    "name": "AmericanCoin",
    "2": "scrypt",
    "algo": "scrypt",
    "3": "26447",
    "currentBlocks": "26447",
    "4": "0.58185063",
    "difficulty": "0.58185063",
    "5": "100",
    "reward": "100",
    "6": "1",
    "minBlockTime": "1",
    "7": "4298789",
    "networkhashrate": "4298789",
    "price": "0.0000082675",
    "exchange": "CRY",
    "ratio": 212.52512455529,
    "adjustedratio": 196.45179580741,
    "avgProfit": "201.92091254984373",
    "avgHash": "5449881.8681"
  },
sr. member
Activity: 319
Merit: 250
Tip sent your way. Thanks
sr. member
Activity: 319
Merit: 250
Bottlecaps is hung currently
hero member
Activity: 490
Merit: 500
And how often is this site updating the network hashrate info? And why might it now be a lot more inaccurate more often these days as opposed to past?
Thanks bud

Updates every 10 minutes.   It might be that the coin daemons are now reporting inaccurate numbers and did not in the past.
newbie
Activity: 55
Merit: 0
And how often is this site updating the network hashrate info? And why might it now be a lot more inaccurate more often these days as opposed to past?
Thanks bud
hero member
Activity: 490
Merit: 500
I'll address the others - but 90% of the network hash rates are based on info directly from the client coin daemon.  The other 10% are from coin provided info (either a website or other block explorer that has figured out the rate where the coin daemon has no "getnetworkhash" command.
newbie
Activity: 55
Merit: 0
Hey Sal
Just curious how or where you pool the "network hashrate" stats and info? And how often it updates? Is it coming direct from the applicable coin's client software or some sort of addition of specified pools? And does this include solo mining as well? ..I ask because in the past it seems some were fairly accurate but now many I follow seem to be off more often then not.
Thanks for the info. Love the site.
Oh and one suggestion would be a column similar to other sites that shows how many coins the current difficulty will approximately get you based on a standard 1000 kh/s or whatever...would be nice bonus..
Actually one last thing..and this would be for all sites out there cuz no one has it yet...but profitability is always fluctuating so frequently based on *current* exchange rates that go up and down by the minute..maybe there could be some way to have an option to see it also based on a daily or weekly average of the exchange rate..
Just some ideas.
I mainly want to know information about the network hashrates.
Thanks
hero member
Activity: 490
Merit: 500
I will work on adding.  Right now it is based on the main profitability.
newbie
Activity: 5
Merit: 0
Is "avg profitability past 7 days" based in "profitability" or "adjusted profitability for stales". I´m asking this because fastcoin´s profitability is 275, adjusted profitability 161 and avg profitability is 265 at the moment. If avg profit for 7 days is based in profitability would be very missleading (erroneus) since adjusted profit for stales is what matters specially in fastcoin. sorry for my english

I agree with this.  I, personally, would like to see either "Avg Profitability Past 7 Days" be based on "Profitability % Adj for Stales" or a second, "Avg Profitability Adj for Stales Past 7 Days" be added.  Thanks for a great service! 
Pages:
Jump to: