Add UCFG2 type definitions and lock file for QuanTAlib

- Introduced type definitions for various classes in the QuanTAlib library, including Ema, EmaVector, EmaState, TSeries, CsvFeed, GBM, TBarSeries, TBar, and TValue.
- Added methods and properties for each class to enhance functionality and maintainability.
- Created a lock file to manage dependencies and ensure consistent builds.
This commit is contained in:
Miha Kralj
2025-11-29 16:43:52 -08:00
parent 8d8e60098e
commit 2b4e8e3fc3
70 changed files with 45335 additions and 49 deletions
+2 -2
View File
@@ -3,7 +3,7 @@ using System.Runtime.InteropServices;
namespace QuanTAlib;
public struct EmaState
internal struct EmaState
{
public double Ema { get; set; }
public double E { get; set; }
@@ -81,7 +81,7 @@ public class Ema
/// Assumes input has already been validated via GetValidValue().
/// </summary>
[MethodImpl(MethodImplOptions.AggressiveInlining)]
public static double Compute(double input, double alpha, ref EmaState state)
internal static double Compute(double input, double alpha, ref EmaState state)
{
state.Ema += alpha * (input - state.Ema);