Merge MKDT_0013

This commit is contained in:
2025-04-04 20:35:07 -04:00
parent e64c25949d
commit 616e43c6d3

View File

@@ -763,6 +763,13 @@ namespace MarketData.DataAccess
if (null != sqlConnection) sqlConnection.Close();
}
}
/// <summary>
/// If the trade is open then we only get a single BUY side for the position
/// If the trade is closed then we produce a buy lot and a sell lot.
/// </summary>
/// <param name="portfolioTrades"></param>
/// <returns>PortfolioTrades</returns>
private static PortfolioTrades BreakoutTrades(PortfolioTrades portfolioTrades)
{
PortfolioTrades allTrades = new PortfolioTrades();