Commit Graph

54 Commits

Author SHA1 Message Date
Umar Bolatov
999090dbdb Add Yadio exchange rate provider
Yadio is a service which provides exchange rates for many currencies such as the Lebanese Pound which have the real exchange rate which differs from the official rate significantly (32,525 LBP for USD real rate vs 1,510 official rate).

See more details here: https://yadio.io/info.html

See discussions here:
https://github.com/btcpayserver/btcpayserver/discussions/4001
https://github.com/btcpayserver/btcpayserver/discussions/2489#discussioncomment-3102370
2022-08-18 08:08:55 +02:00
Kukks
15e1169f62
Fix Kraken rate provider 2022-08-10 08:20:41 +02:00
nicolas.dorier
499352e51c
Fix the ExchangeSharpRateProvider for some pairs 2022-07-11 23:39:11 +09:00
nicolas.dorier
bd73cac1a1
Fix: For some asset pair the kraken rate was inverted (Fix #3957) 2022-07-11 23:09:35 +09:00
nicolas.dorier
0c43fda86d
Prevent stackoverflow exception when ripio is unavailable 2022-07-11 23:08:59 +09:00
Kukks
ac6770bdff
Add Buda rate provider for CLP
closes #3766
2022-06-09 12:01:40 +02:00
Andrew Camilleri
ae10d0c7fd
Bump and fix rate providers (#3813)
* Bump and fix rate providers

* fix
2022-06-06 18:56:50 +09:00
nicolas.dorier
05ec398346
Update CoinGeckoRateProvider 2022-04-04 14:47:50 +09:00
Dennis Reimann
e344749d2f Remove Polis
As per [this comment](https://github.com/btcpayserver/btcpayserver/pull/3514#issuecomment-1059583143)
2022-03-08 12:12:01 +01:00
nicolas.dorier
c6a7e90c1a
Warning if not using 'is not null' 2022-01-14 17:48:15 +09:00
Nicolas Dorier
04b8eafacb
Run dotnet format (#3244) 2021-12-31 16:59:02 +09:00
Nicolas Dorier
ed5b159fb6
Use ArgumentNullException.ThrowIfNull everywhere (#3239) 2021-12-28 17:39:54 +09:00
nicolas.dorier
e2b18cf9db
Make sure dotnet test show test progress 2021-12-27 14:26:03 +09:00
nicolas.dorier
c0e9f91bdc
Fix warnings 2021-12-27 13:58:18 +09:00
Jonathan Underwood
e3def45c83
Update Bitbank API (#3157)
Co-authored-by: Kukks <evilkukka@gmail.com>
2021-11-25 09:34:49 +01:00
Umar Bolatov
8a0660cbd6
Add support for CryptoMarket exchange rates (#3012)
* Add support for CryptoMarket exchange rates

* Add unit test for CryptoMarket
2021-10-27 15:19:34 +09:00
nicolas.dorier
4230ba513f
Add support for rpio exchange rate (close #2960) 2021-10-15 12:18:02 +09:00
nicolas.dorier
de4cd55adf
Update coingecko exchanges 2021-03-06 13:58:02 +09:00
nicolas.dorier
a249a164f7
Fix HitBTC again 2020-08-20 13:15:35 +09:00
nicolas.dorier
f4ad04ec2e
Fix HitBTC provider 2020-08-16 23:12:21 +09:00
Oleg Semyonov
3051724ad8 Add Argoneum 2020-07-07 07:44:45 +03:00
rockstardev
f88c02cccd Removing unused usings, readonly fields where possible 2020-06-28 22:07:48 -05:00
rockstardev
b6c7af32de Cleaning up bom from cs files 2020-06-28 21:44:35 -05:00
nicolas.dorier
51514252b6
Run dotnet format 2020-06-28 17:55:27 +09:00
Kukks
587f244f1d Remove dependency on Common from Rating
replaces #1591 and #1592 , closes #1571 Replaces the Currencies.txt to a json format which includes the networks too ( there is also a test to check now) Also makes CurrencyPair not depend on network and instead use CurrencyNameTable
2020-05-31 20:54:50 +02:00
nicolas.dorier
10e52f08be
Prevent NRE exception 2020-03-26 01:21:47 +09:00
nicolas.dorier
5565d8dae5
Catch error with bitflyer 2020-03-26 01:21:46 +09:00
nicolas.dorier
c906fd42df
Add bitflyer direct integration 2020-03-26 00:48:01 +09:00
rockstardev
5a93857b4a Simplifying delegate invoke
Ref: 0074790684 (r37477529)
2020-02-25 16:08:57 -06:00
Hans Looman
1a409a441d
Update POLIS related entries (#1313)
* Update Polis related info and services

* Fix Polis Rate Fetcher

* Fix Polis ratefetcher - Cryptopia is obsolete

* POLIS rate provider changes to comply with internal testing

* URL / pair alignment

* Add small doc to re-trigger testing
2020-02-13 14:44:31 +09:00
rockstardev
876c940032 Reverting delegate reference to previous state until Nicolas confirms change 2020-02-01 00:26:01 -06:00
Umar Bolatov
0074790684 Remove "#nullable enable" directive and unnecessary operators 2020-01-29 01:53:47 -06:00
Umar Bolatov
23aaf794ef Add nullable enable directive to HttpClientRequestMaker.MakeRequestAsync 2020-01-29 01:53:47 -06:00
nicolas.dorier
53a60d1660
Add Direct Provider with bitfinex, okex and coinbasepro 2020-01-18 21:48:04 +09:00
nicolas.dorier
25b733ca7f
Remove knowledge of ExchangeName from BackgroundRateFetcher 2020-01-18 19:42:46 +09:00
nicolas.dorier
a8ac01cd8b
Refactor rate handling to prevent error of exchange name 2020-01-17 18:11:05 +09:00
nicolas.dorier
90ec416125
Add exponential backoff for CoinGecko, pass the cancellationtoken around 2020-01-17 15:08:28 +09:00
nicolas.dorier
827b6085af
Do not hammer CoinGecko with tests 2020-01-17 14:56:05 +09:00
nicolas.dorier
6dffbbd93d
Remove CachedRateProvider 2020-01-17 14:42:02 +09:00
nicolas.dorier
9b165de5e6
Remove CoinAverage integration 2020-01-17 14:29:22 +09:00
nicolas.dorier
48799562f8
Fix comment 2020-01-17 14:18:18 +09:00
nicolas.dorier
7d545ca682
Remove ability to set custom cache, fix coinaverage not really using coinaverage 2020-01-17 14:16:12 +09:00
nicolas.dorier
5dbdb4b399
Keep coinaverage compatibility, improve UX, hardcode feed provider supported exchanges 2020-01-13 23:37:01 +09:00
Kukks
58d9a48787
CoinGecko Rate Provider
The CoinGecko rate provider is similar to the bitcoin average one, in that you can ask it for a rate from its aggregated sourcing or you can get rates from specific exchanges. I've added support for both.
I haven't integrated it or replaced coinaverage just to see if we should use it as the default and switch everyone to it or what other action to take.
2020-01-13 20:20:00 +09:00
nicolas.dorier
57985e78e5
Save the last update time instead of the next update time 2019-12-26 16:24:57 +09:00
nicolas.dorier
731341b749
Do not preemptively fetch rates of all exchanges 2019-12-26 14:54:26 +09:00
Kukks
0df7506ad5 Bump ExchangeSharp, fixes breaking changes and switch to exchangesharp provider for ndax 2019-11-11 07:14:29 +01:00
nicolas.dorier
5054e76d64
Fix build 2019-10-20 16:24:11 +09:00
nicolas.dorier
9a28dc5121
Pass cancellationToken around in the Kraken Provider 2019-10-20 15:24:07 +09:00
nicolas.dorier
2e0abdbd06
Fix BTC_GBP pair not resolved for kraken 2019-09-21 13:05:05 +09:00