If an order becomes active we can derive the accrued interest.
{"time":{"updated":"Dec 12, 2020 13:03:00 UTC","updatedISO":"2020-12-12T13:03:00+00:00","updateduk":"Dec 12, 2020 at 13:03 GMT"},"disclaimer":"This data was produced from the CoinDesk Bitcoin Price Index (USD). Non-USD currency data converted using hourly conversion rate from openexchangerates.org","chartName":"Bitcoin","bpi":{"USD":{"code":"USD","symbol":"$","rate":"18,457.9816","description":"United States Dollar","rate_float":18457.9816},"GBP":{"code":"GBP","symbol":"£","rate":"13,956.3567","description":"British Pound Sterling","rate_float":13956.3567},"EUR":{"code":"EUR","symbol":"€","rate":"15,239.9248","description":"Euro","rate_float":15239.9248}}}
If an order becomes active we can derive the accrued interest.
Actual:
Expected:
I like the implementation of Coindesk, no additional API Key is needed:
https://api.coindesk.com/v1/bpi/currentprice.json