mirror of
https://github.com/mihakralj/QuanTAlib.git
synced 2026-08-13 16:18:05 +00:00
cleaned-up GBM, removed Python tests
This commit is contained in:
@@ -51,7 +51,7 @@ public class GBM_Feed : TBars
|
||||
}
|
||||
|
||||
private static double GBM_value (double Seed, double Volatility, double Drift) {
|
||||
Random rnd = new((int)(DateTime.UtcNow.Ticks));
|
||||
Random rnd = new();
|
||||
double U1 = 1.0-rnd.NextDouble();
|
||||
double U2 = 1.0-rnd.NextDouble();
|
||||
double Z = Math.Sqrt(-2.0 * Math.Log(U1)) * Math.Sin(2.0 * Math.PI * U2);
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
<?xml version="1.0" encoding="utf-8"?>
|
||||
<Project Sdk="Microsoft.NET.Sdk">
|
||||
<PropertyGroup>
|
||||
<Version>0.1.14</Version>
|
||||
<Version>0.1.15</Version>
|
||||
<releaseNotes>
|
||||
</releaseNotes>
|
||||
<Title>QuanTAlib</Title>
|
||||
|
||||
Reference in New Issue
Block a user