Fetch closed position to get last pnl realized
This commit is contained in:
@@ -42,5 +42,11 @@ namespace Managing.Infrastructure.Exchanges.Exchanges
|
||||
public abstract Task<Trade> GetTrade(string reference, string orderId, Ticker ticker);
|
||||
public abstract Task<List<FundingRate>> GetFundingRates();
|
||||
public abstract Task<IEnumerable<Position>> GetPositions(Account account);
|
||||
|
||||
public abstract Task<List<Position>> GetPositionHistory(
|
||||
Account account,
|
||||
Ticker ticker,
|
||||
DateTime? fromDate = null,
|
||||
DateTime? toDate = null);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user