Orlean (#32)
* Start building with orlean * Add missing file * Serialize grain state * Remove grain and proxies * update and add plan * Update a bit * Fix backtest grain * Fix backtest grain * Clean a bit
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using Managing.Application.Abstractions;
|
||||
using Managing.Application.Abstractions.Repositories;
|
||||
using Managing.Application.Abstractions.Repositories;
|
||||
using Managing.Application.Abstractions.Services;
|
||||
using Managing.Application.Backtesting;
|
||||
using Managing.Application.Bots;
|
||||
@@ -8,16 +7,15 @@ using Managing.Infrastructure.Databases.InfluxDb;
|
||||
using Managing.Infrastructure.Databases.InfluxDb.Models;
|
||||
using Managing.Infrastructure.Evm;
|
||||
using Managing.Infrastructure.Evm.Abstractions;
|
||||
using Managing.Infrastructure.Evm.Models.Privy;
|
||||
using Managing.Infrastructure.Evm.Services;
|
||||
using Managing.Infrastructure.Evm.Subgraphs;
|
||||
using Managing.Infrastructure.Exchanges;
|
||||
using Managing.Infrastructure.Exchanges.Abstractions;
|
||||
using Managing.Infrastructure.Exchanges.Exchanges;
|
||||
using Microsoft.Extensions.Logging;
|
||||
using Microsoft.Extensions.Logging.Abstractions;
|
||||
using Microsoft.Extensions.Options;
|
||||
using Moq;
|
||||
using Nethereum.Web3;
|
||||
using static Managing.Common.Enums;
|
||||
|
||||
namespace Managing.Application.Tests
|
||||
@@ -26,7 +24,7 @@ namespace Managing.Application.Tests
|
||||
{
|
||||
public static IExchangeService GetExchangeService()
|
||||
{
|
||||
ILoggerFactory loggerFactory = new Microsoft.Extensions.Logging.Abstractions.NullLoggerFactory();
|
||||
ILoggerFactory loggerFactory = new NullLoggerFactory();
|
||||
|
||||
var ChainlinkGmx = new ChainlinkGmx(SubgraphService.GetSubgraphClient(SubgraphProvider.ChainlinkGmx));
|
||||
var Chainlink = new Chainlink(SubgraphService.GetSubgraphClient(SubgraphProvider.ChainlinkPrice));
|
||||
@@ -53,23 +51,23 @@ namespace Managing.Application.Tests
|
||||
exchangeProcessors);
|
||||
}
|
||||
|
||||
public static ILogger<TradingBot> CreateTradingBotLogger()
|
||||
public static ILogger<TradingBotBase> CreateTradingBotLogger()
|
||||
{
|
||||
ILoggerFactory loggerFactory = new Microsoft.Extensions.Logging.Abstractions.NullLoggerFactory();
|
||||
ILoggerFactory loggerFactory = new NullLoggerFactory();
|
||||
|
||||
return loggerFactory.CreateLogger<TradingBot>();
|
||||
return loggerFactory.CreateLogger<TradingBotBase>();
|
||||
}
|
||||
|
||||
public static ILogger<Backtester> CreateBacktesterLogger()
|
||||
{
|
||||
ILoggerFactory loggerFactory = new Microsoft.Extensions.Logging.Abstractions.NullLoggerFactory();
|
||||
ILoggerFactory loggerFactory = new NullLoggerFactory();
|
||||
|
||||
return loggerFactory.CreateLogger<Backtester>();
|
||||
}
|
||||
|
||||
public static ILogger<CandleRepository> CreateCandleRepositoryLogger()
|
||||
{
|
||||
ILoggerFactory loggerFactory = new Microsoft.Extensions.Logging.Abstractions.NullLoggerFactory();
|
||||
ILoggerFactory loggerFactory = new NullLoggerFactory();
|
||||
|
||||
return loggerFactory.CreateLogger<CandleRepository>();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user