Closed costargc closed 5 years ago
currently we are getting the price from the "AIDecision.json"... we could get the price from poloniex instead that way current price would update every 30s given this is the current refresh rate from the core.
we can grab the "asks": price from: https://poloniex.com/public?command=returnOrderBook¤cyPair=USDC_BTC&depth=1 via jquery/ajax
done!
currently we are getting the price from the "AIDecision.json"... we could get the price from poloniex instead that way current price would update every 30s given this is the current refresh rate from the core.
we can grab the "asks": price from: https://poloniex.com/public?command=returnOrderBook¤cyPair=USDC_BTC&depth=1 via jquery/ajax