fix backtest below 10usdc + update trade
This commit is contained in:
@@ -184,6 +184,11 @@ public class TradingService : ITradingService
|
||||
await _tradingRepository.UpdatePositionAsync(position);
|
||||
}
|
||||
|
||||
public async Task UpdateTradeAsync(Trade trade)
|
||||
{
|
||||
await _tradingRepository.UpdateTradeAsync(trade);
|
||||
}
|
||||
|
||||
public async Task<IEnumerable<Position>> GetPositionsAsync()
|
||||
{
|
||||
var positions = new List<Position>();
|
||||
|
||||
Reference in New Issue
Block a user