Files
QuanTAlib/lib/QuanTAlib.Tests.csproj
T
Miha Kralj bf611d319f Add R² and SMAPE error metrics with comprehensive tests and documentation
- Introduced R² (Coefficient of Determination) metric with detailed mathematical foundation, performance profile, and usage examples.
- Implemented SMAPE (Symmetric Mean Absolute Percentage Error) metric, addressing asymmetry in MAPE with symmetric error calculations.
- Added unit tests for SMAPE covering various scenarios including edge cases and input validation.
- Enhanced Dema class to correctly handle event publishing with isNew parameter.
- Updated Quantower test project to include coverage configuration for better test reporting.
2025-12-29 20:58:21 -08:00

58 lines
2.2 KiB
XML

<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFrameworks Condition="'$(Configuration)' == 'Release'">net10.0;net8.0</TargetFrameworks>
<TargetFramework Condition="'$(Configuration)' == 'Debug'">net10.0</TargetFramework>
<ImplicitUsings>enable</ImplicitUsings>
<Nullable>enable</Nullable>
<IsPackable>false</IsPackable>
<IsTestProject>true</IsTestProject>
<NoWarn>$(NoWarn);CS8892</NoWarn>
<EnableDefaultCompileItems>false</EnableDefaultCompileItems>
<!-- Coverage configuration for coverlet.msbuild -->
<CollectCoverage>true</CollectCoverage>
<CoverletOutputFormat>opencover</CoverletOutputFormat>
<CoverletOutput>TestResults/coverage.opencover.xml</CoverletOutput>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="coverlet.collector" Version="6.0.4" />
<PackageReference Include="coverlet.msbuild" Version="6.0.2">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers</IncludeAssets>
</PackageReference>
<PackageReference Include="MathNet.Numerics" Version="5.0.0" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
<PackageReference Include="OoplesFinance.StockIndicators" Version="1.1.1" />
<PackageReference Include="Skender.Stock.Indicators" Version="2.7.0" />
<PackageReference Include="TALib.NETCore" Version="0.5.0" />
<PackageReference Include="Tulip.NETCore" Version="0.8.0.1" />
<PackageReference Include="xunit" Version="2.9.3" />
<PackageReference Include="xunit.runner.visualstudio" Version="3.1.5" />
</ItemGroup>
<ItemGroup>
<Using Include="Xunit" />
<Using Include="QuanTAlib" />
<Using Include="System.Collections" />
</ItemGroup>
<ItemGroup>
<ProjectReference Include="quantalib.csproj" />
</ItemGroup>
<ItemGroup>
<Compile Include="**\*.Tests.cs" Exclude="**\*.Quantower.Tests.cs" />
<Compile Include="feeds\gbm\ValidationHelper.cs" />
<Compile Include="feeds\gbm\ValidationTestData.cs" />
</ItemGroup>
<ItemGroup>
<None Include="feeds\csv\daily_IBM.csv">
<CopyToOutputDirectory>PreserveNewest</CopyToOutputDirectory>
<Link>daily_IBM.csv</Link>
</None>
</ItemGroup>
</Project>