Post
Topic
Board Mining (Altcoins)
Re: [Awesome Miner] - Powerful Windows GUI to manage and monitor up to 200000 miners
by
patrike
on 14/01/2020, 08:06:04 UTC
How to get the value of 'buy_price' on this?

{
    "markets": [
        {
            "coin_name": "Ankh Credit",
            "coin_tck": "0AC",
            "market": "0AC/BTC",
            "buy_price": "0.0000003300",
            "sell_price": "0.0000012300",
            "volume24h": 100,
            "price24hago": "0.0000003300",
            "latest_price": "0.0000003300"
        },
I think it should work with:
markets[0].buy_price

The reason for
Code:
[0]
is that markets is an JSON array, starting with
Code:
[
. In your case you pick the first element in the array.