drpout / boilr

Price alarms for Bitcoin, cryptocurrencies, cryptoassets, futures and options.
http://boilr.mobi
GNU General Public License v3.0
128 stars 67 forks source link

support bitfinex swaps #197

Open algazarra opened 9 years ago

algazarra commented 9 years ago

https://www.bitfinex.com/pages/api

Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.

dllud commented 7 years ago

Bitfinex has no REST API endpoint to retrieve the last trade value for a margin funding market. I've emailed them with a request.

Right now, ticker info for margin funding markets is only published in their Websocket API. Though, as you may know, we cannot use a Websocket connection due to the power and data restrictions of a mobile environment.

Meanwhile, the best thing we have is an endpoint that publishes hourly averages: https://api.bitfinex.com/v1/lends/usd