Filter delta neutral markets
This commit is contained in:
@@ -12,21 +12,6 @@ public class TradaoService : ITradaoService
|
||||
{
|
||||
private readonly HttpClient _httpClient;
|
||||
|
||||
private readonly HashSet<Enums.Ticker> _deltaNeutralTickers = new()
|
||||
{
|
||||
Enums.Ticker.BTC,
|
||||
Enums.Ticker.ARB,
|
||||
Enums.Ticker.ETH,
|
||||
Enums.Ticker.BNB,
|
||||
Enums.Ticker.SOL,
|
||||
Enums.Ticker.LINK,
|
||||
Enums.Ticker.OP,
|
||||
Enums.Ticker.UNI,
|
||||
Enums.Ticker.AAVE,
|
||||
Enums.Ticker.PEPE,
|
||||
Enums.Ticker.WIF,
|
||||
};
|
||||
|
||||
public TradaoService()
|
||||
{
|
||||
_httpClient = new HttpClient();
|
||||
@@ -172,7 +157,7 @@ public class TradaoService : ITradaoService
|
||||
if (ticker == null || fundingRate.ExchangeName != "gmxv2")
|
||||
continue;
|
||||
|
||||
if (!_deltaNeutralTickers.Contains(ticker.Value))
|
||||
if (!Constants.GMX.Config.DeltaNeutralTickers.Contains(ticker.Value))
|
||||
continue;
|
||||
|
||||
var longRate = GetApy(fundingRate.LongFundingRate);
|
||||
|
||||
Reference in New Issue
Block a user