54 lines
1.4 KiB
C#
54 lines
1.4 KiB
C#
namespace Managing.Infrastructure.Tests;
|
|
|
|
public class SubgraphTests
|
|
{
|
|
public SubgraphTests()
|
|
{
|
|
}
|
|
|
|
// [Fact]
|
|
// public async void Should_get_price_from_chainlink_gmx()
|
|
// {
|
|
// var prices = await ChainlinkGmx.GetPrices(Ticker.BTC, DateTime.UtcNow.AddDays(-4), Timeframe.FiveMinutes);
|
|
|
|
// Assert.NotNull(prices);
|
|
// Assert.True(prices.Any());
|
|
// }
|
|
|
|
// [Fact]
|
|
// public async void Should_get_price_from_gbc()
|
|
// {
|
|
// var prices = await GbcFeed.GetPrices(Ticker.BTC, DateTime.UtcNow.AddDays(-15), Timeframe.FiveMinutes);
|
|
|
|
// Assert.NotNull(prices);
|
|
// Assert.True(prices.Any());
|
|
// }
|
|
|
|
// [Fact]
|
|
// public async void Should_get_price_from_chainlink()
|
|
// {
|
|
// var prices = await Chainlink.GetPrices(Ticker.BTC, DateTime.UtcNow.AddDays(-4), Timeframe.FiveMinutes);
|
|
|
|
// Assert.NotNull(prices);
|
|
// Assert.True(prices.Any());
|
|
// }
|
|
|
|
// [Fact]
|
|
// public async void Should_get_top_tokens()
|
|
// {
|
|
// var top = await Uniswap.GetTopTokens();
|
|
|
|
// Assert.NotNull(top);
|
|
// Assert.True(top.Tokens.Any());
|
|
// }
|
|
|
|
// [Fact]
|
|
// public async void Should_get_available_pairs_for_chainlink()
|
|
// {
|
|
// var pairs = await Chainlink.GetTickers();
|
|
|
|
// Assert.NotNull(pairs);
|
|
// Assert.True(pairs.Any());
|
|
// }
|
|
}
|