feat(c-abi): expose warmup_period / is_ready across the C ABI bindings (#297)
* feat(c-abi): expose warmup_period / is_ready across the C ABI bindings The C ABI hub exposed new/update/batch/reset/free per indicator but not the Indicator::warmup_period / is_ready queries that the native (Python/Node/WASM) bindings already had, so C/C#/Go/Java/R callers could not ask an indicator whether it was warmed up without feeding it and watching for NaN. Regenerated from the ScriptHelpers capi + language generators: - bindings/c: wickra_<ind>_warmup_period (size_t) and wickra_<ind>_is_ready (bool) for every indicator (504; the 10 alt-chart bar builders are excluded by design). wickra.h regenerated via cbindgen (additive only). - bindings/csharp: int WarmupPeriod() / bool IsReady() on each wrapper. - bindings/go: WarmupPeriod() int / IsReady() bool. - bindings/java: int warmupPeriod() / boolean isReady(). - bindings/r: C glue + registration; hand-written warmup_period() / is_ready() S3 generics in methods.R, plus NAMESPACE exports. Tests: C-ABI Rust unit tests, the C examples/archetypes.c suite, and the C#, Go, Java and R archetype suites all gain a warmup/is_ready transition check. * build(go): sync vendored wickra.h with the C ABI header The Go binding vendors bindings/c/include/wickra.h; refresh it with the new warmup_period / is_ready declarations so the CI sync check passes.
This commit is contained in:
@@ -7,6 +7,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
|
||||
## [Unreleased]
|
||||
|
||||
### Added
|
||||
- C ABI hub: every indicator now exposes `wickra_<ind>_warmup_period` and
|
||||
`wickra_<ind>_is_ready`, closing the gap with the native bindings (which
|
||||
already had them). The C-ABI languages surface them idiomatically: C# `int
|
||||
WarmupPeriod()` / `bool IsReady()`, Go `WarmupPeriod()` / `IsReady()`, Java
|
||||
`int warmupPeriod()` / `boolean isReady()`, and R `warmup_period()` /
|
||||
`is_ready()` generics. The alt-chart bar builders are excluded by design (a
|
||||
candle can complete 0..n bars, so they have no warmup).
|
||||
|
||||
### Changed
|
||||
- Standardised programming-language naming and ordering across all docs, READMEs,
|
||||
the documentation site, marketing site, organization profile and GitHub
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
+13710
File diff suppressed because it is too large
Load Diff
@@ -34,6 +34,21 @@ public class ArchetypeTests
|
||||
Assert.InRange(last, 1.0, 10.0);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Query_WarmupPeriodAndIsReady()
|
||||
{
|
||||
using var sma = new Sma(3);
|
||||
Assert.Equal(3, sma.WarmupPeriod());
|
||||
Assert.False(sma.IsReady());
|
||||
sma.Update(1.0);
|
||||
sma.Update(2.0);
|
||||
Assert.False(sma.IsReady());
|
||||
sma.Update(3.0);
|
||||
Assert.True(sma.IsReady());
|
||||
sma.Reset();
|
||||
Assert.False(sma.IsReady());
|
||||
}
|
||||
|
||||
[Fact]
|
||||
public void Candle_Atr_IsFinitePositive()
|
||||
{
|
||||
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@@ -24,6 +24,34 @@ func TestScalarKnownValue(t *testing.T) {
|
||||
}
|
||||
}
|
||||
|
||||
func TestWarmupPeriodAndIsReady(t *testing.T) {
|
||||
s, err := NewSma(3)
|
||||
if err != nil {
|
||||
t.Fatalf("NewSma: %v", err)
|
||||
}
|
||||
defer s.Close()
|
||||
|
||||
if got := s.WarmupPeriod(); got != 3 {
|
||||
t.Fatalf("sma(3) WarmupPeriod = %d, want 3", got)
|
||||
}
|
||||
if s.IsReady() {
|
||||
t.Fatal("sma is ready before any update")
|
||||
}
|
||||
s.Update(1)
|
||||
s.Update(2)
|
||||
if s.IsReady() {
|
||||
t.Fatal("sma is ready mid-warmup")
|
||||
}
|
||||
s.Update(3)
|
||||
if !s.IsReady() {
|
||||
t.Fatal("sma is not ready after the warmup period")
|
||||
}
|
||||
s.Reset()
|
||||
if s.IsReady() {
|
||||
t.Fatal("sma is ready after reset")
|
||||
}
|
||||
}
|
||||
|
||||
func TestScalarBatchMatchesStreaming(t *testing.T) {
|
||||
input := []float64{1, 2, 3, 4, 5, 6, 7, 8}
|
||||
|
||||
|
||||
@@ -71,6 +71,26 @@ public final class AbandonedBaby implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_ABANDONED_BABY_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_ABANDONED_BABY_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -71,6 +71,26 @@ public final class Abcd implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_ABCD_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_ABCD_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -57,6 +57,26 @@ public final class AbsoluteBreadthIndex implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_ABSOLUTE_BREADTH_INDEX_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_ABSOLUTE_BREADTH_INDEX_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -47,6 +47,26 @@ public final class AccelerationBands implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_ACCELERATION_BANDS_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_ACCELERATION_BANDS_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -80,6 +80,26 @@ public final class AcceleratorOscillator implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_ACCELERATOR_OSCILLATOR_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_ACCELERATOR_OSCILLATOR_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -71,6 +71,26 @@ public final class AdOscillator implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_AD_OSCILLATOR_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_AD_OSCILLATOR_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -57,6 +57,26 @@ public final class AdVolumeLine implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_AD_VOLUME_LINE_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_AD_VOLUME_LINE_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -74,6 +74,26 @@ public final class AdaptiveCci implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_ADAPTIVE_CCI_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_ADAPTIVE_CCI_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -51,6 +51,26 @@ public final class AdaptiveCycle implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_ADAPTIVE_CYCLE_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_ADAPTIVE_CYCLE_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -54,6 +54,26 @@ public final class AdaptiveLaguerreFilter implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_ADAPTIVE_LAGUERRE_FILTER_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_ADAPTIVE_LAGUERRE_FILTER_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -54,6 +54,26 @@ public final class AdaptiveRsi implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_ADAPTIVE_RSI_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_ADAPTIVE_RSI_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -71,6 +71,26 @@ public final class Adl implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_ADL_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_ADL_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -71,6 +71,26 @@ public final class AdvanceBlock implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_ADVANCE_BLOCK_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_ADVANCE_BLOCK_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -57,6 +57,26 @@ public final class AdvanceDecline implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_ADVANCE_DECLINE_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_ADVANCE_DECLINE_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -57,6 +57,26 @@ public final class AdvanceDeclineRatio implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_ADVANCE_DECLINE_RATIO_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_ADVANCE_DECLINE_RATIO_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -47,6 +47,26 @@ public final class Adx implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_ADX_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_ADX_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -74,6 +74,26 @@ public final class Adxr implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_ADXR_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_ADXR_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -53,6 +53,26 @@ public final class Alligator implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_ALLIGATOR_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_ALLIGATOR_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -54,6 +54,26 @@ public final class Alma implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_ALMA_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_ALMA_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -58,6 +58,26 @@ public final class Alpha implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_ALPHA_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_ALPHA_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -39,6 +39,26 @@ public final class AmihudIlliquidity implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_AMIHUD_ILLIQUIDITY_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_AMIHUD_ILLIQUIDITY_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -51,6 +51,26 @@ public final class AnchoredRsi implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_ANCHORED_RSI_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_ANCHORED_RSI_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -71,6 +71,26 @@ public final class AnchoredVwap implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_ANCHORED_VWAP_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_ANCHORED_VWAP_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -47,6 +47,26 @@ public final class AndrewsPitchfork implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_ANDREWS_PITCHFORK_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_ANDREWS_PITCHFORK_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -57,6 +57,26 @@ public final class Apo implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_APO_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_APO_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -46,6 +46,26 @@ public final class Aroon implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_AROON_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_AROON_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -74,6 +74,26 @@ public final class AroonOscillator implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_AROON_OSCILLATOR_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_AROON_OSCILLATOR_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -74,6 +74,26 @@ public final class Atr implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_ATR_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_ATR_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -47,6 +47,26 @@ public final class AtrBands implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_ATR_BANDS_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_ATR_BANDS_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -46,6 +46,26 @@ public final class AtrRatchet implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_ATR_RATCHET_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_ATR_RATCHET_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -74,6 +74,26 @@ public final class AtrTrailingStop implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_ATR_TRAILING_STOP_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_ATR_TRAILING_STOP_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -48,6 +48,26 @@ public final class AutoFib implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_AUTO_FIB_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_AUTO_FIB_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -57,6 +57,26 @@ public final class Autocorrelation implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_AUTOCORRELATION_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_AUTOCORRELATION_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -57,6 +57,26 @@ public final class AutocorrelationPeriodogram implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_AUTOCORRELATION_PERIODOGRAM_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_AUTOCORRELATION_PERIODOGRAM_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -74,6 +74,26 @@ public final class AverageDailyRange implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_AVERAGE_DAILY_RANGE_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_AVERAGE_DAILY_RANGE_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -54,6 +54,26 @@ public final class AverageDrawdown implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_AVERAGE_DRAWDOWN_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_AVERAGE_DRAWDOWN_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -71,6 +71,26 @@ public final class AvgPrice implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_AVG_PRICE_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_AVG_PRICE_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -77,6 +77,26 @@ public final class AwesomeOscillator implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_AWESOME_OSCILLATOR_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_AWESOME_OSCILLATOR_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -80,6 +80,26 @@ public final class AwesomeOscillatorHistogram implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_AWESOME_OSCILLATOR_HISTOGRAM_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_AWESOME_OSCILLATOR_HISTOGRAM_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -71,6 +71,26 @@ public final class BalanceOfPower implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_BALANCE_OF_POWER_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_BALANCE_OF_POWER_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -54,6 +54,26 @@ public final class BandpassFilter implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_BANDPASS_FILTER_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_BANDPASS_FILTER_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -71,6 +71,26 @@ public final class Bat implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_BAT_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_BAT_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -71,6 +71,26 @@ public final class BeltHold implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_BELT_HOLD_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_BELT_HOLD_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -58,6 +58,26 @@ public final class Beta implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_BETA_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_BETA_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -58,6 +58,26 @@ public final class BetaNeutralSpread implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_BETA_NEUTRAL_SPREAD_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_BETA_NEUTRAL_SPREAD_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -74,6 +74,26 @@ public final class BetterVolume implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_BETTER_VOLUME_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_BETTER_VOLUME_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -54,6 +54,26 @@ public final class BipowerVariation implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_BIPOWER_VARIATION_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_BIPOWER_VARIATION_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -71,6 +71,26 @@ public final class BodySizePct implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_BODY_SIZE_PCT_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_BODY_SIZE_PCT_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -48,6 +48,26 @@ public final class BollingerBands implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_BOLLINGER_BANDS_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_BOLLINGER_BANDS_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -54,6 +54,26 @@ public final class BollingerBandwidth implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_BOLLINGER_BANDWIDTH_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_BOLLINGER_BANDWIDTH_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -47,6 +47,26 @@ public final class BomarBands implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_BOMAR_BANDS_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_BOMAR_BANDS_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -60,6 +60,26 @@ public final class BreadthThrust implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_BREADTH_THRUST_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_BREADTH_THRUST_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -71,6 +71,26 @@ public final class Breakaway implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_BREAKAWAY_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_BREAKAWAY_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -57,6 +57,26 @@ public final class BullishPercentIndex implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_BULLISH_PERCENT_INDEX_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_BULLISH_PERCENT_INDEX_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -54,6 +54,26 @@ public final class BurkeRatio implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_BURKE_RATIO_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_BURKE_RATIO_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -71,6 +71,26 @@ public final class Butterfly implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_BUTTERFLY_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_BUTTERFLY_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -36,6 +36,26 @@ public final class CalendarSpread implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_CALENDAR_SPREAD_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_CALENDAR_SPREAD_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -54,6 +54,26 @@ public final class CalmarRatio implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_CALMAR_RATIO_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_CALMAR_RATIO_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -50,6 +50,26 @@ public final class Camarilla implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_CAMARILLA_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_CAMARILLA_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -46,6 +46,26 @@ public final class CandleVolume implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_CANDLE_VOLUME_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_CANDLE_VOLUME_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -74,6 +74,26 @@ public final class Cci implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_CCI_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_CCI_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -54,6 +54,26 @@ public final class CenterOfGravity implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_CENTER_OF_GRAVITY_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_CENTER_OF_GRAVITY_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -44,6 +44,26 @@ public final class CentralPivotRange implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_CENTRAL_PIVOT_RANGE_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_CENTRAL_PIVOT_RANGE_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -54,6 +54,26 @@ public final class Cfo implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_CFO_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_CFO_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -74,6 +74,26 @@ public final class ChaikinMoneyFlow implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_CHAIKIN_MONEY_FLOW_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_CHAIKIN_MONEY_FLOW_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -77,6 +77,26 @@ public final class ChaikinOscillator implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_CHAIKIN_OSCILLATOR_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_CHAIKIN_OSCILLATOR_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -77,6 +77,26 @@ public final class ChaikinVolatility implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_CHAIKIN_VOLATILITY_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_CHAIKIN_VOLATILITY_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -49,6 +49,26 @@ public final class ChandeKrollStop implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_CHANDE_KROLL_STOP_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_CHANDE_KROLL_STOP_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -46,6 +46,26 @@ public final class ChandelierExit implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_CHANDELIER_EXIT_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_CHANDELIER_EXIT_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -74,6 +74,26 @@ public final class ChoppinessIndex implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_CHOPPINESS_INDEX_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_CHOPPINESS_INDEX_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -48,6 +48,26 @@ public final class ClassicPivots implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_CLASSIC_PIVOTS_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_CLASSIC_PIVOTS_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -71,6 +71,26 @@ public final class CloseVsOpen implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_CLOSE_VS_OPEN_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_CLOSE_VS_OPEN_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -71,6 +71,26 @@ public final class ClosingMarubozu implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_CLOSING_MARUBOZU_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_CLOSING_MARUBOZU_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -54,6 +54,26 @@ public final class Cmo implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_CMO_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_CMO_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -54,6 +54,26 @@ public final class CoefficientOfVariation implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_COEFFICIENT_OF_VARIATION_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_COEFFICIENT_OF_VARIATION_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -50,6 +50,26 @@ public final class Cointegration implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_COINTEGRATION_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_COINTEGRATION_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -54,6 +54,26 @@ public final class CommonSenseRatio implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_COMMON_SENSE_RATIO_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_COMMON_SENSE_RATIO_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -50,6 +50,26 @@ public final class CompositeProfile implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_COMPOSITE_PROFILE_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_COMPOSITE_PROFILE_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -71,6 +71,26 @@ public final class ConcealingBabySwallow implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_CONCEALING_BABY_SWALLOW_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_CONCEALING_BABY_SWALLOW_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -54,6 +54,26 @@ public final class ConditionalValueAtRisk implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_CONDITIONAL_VALUE_AT_RISK_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_CONDITIONAL_VALUE_AT_RISK_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -60,6 +60,26 @@ public final class ConnorsRsi implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_CONNORS_RSI_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_CONNORS_RSI_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -60,6 +60,26 @@ public final class Coppock implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_COPPOCK_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_COPPOCK_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -54,6 +54,26 @@ public final class CorrelationTrendIndicator implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_CORRELATION_TREND_INDICATOR_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_CORRELATION_TREND_INDICATOR_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -71,6 +71,26 @@ public final class Counterattack implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_COUNTERATTACK_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_COUNTERATTACK_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -71,6 +71,26 @@ public final class Crab implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_CRAB_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_CRAB_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -36,6 +36,26 @@ public final class CumulativeVolumeDelta implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_CUMULATIVE_VOLUME_DELTA_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_CUMULATIVE_VOLUME_DELTA_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -57,6 +57,26 @@ public final class CumulativeVolumeIndex implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_CUMULATIVE_VOLUME_INDEX_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_CUMULATIVE_VOLUME_INDEX_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -71,6 +71,26 @@ public final class CupAndHandle implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_CUP_AND_HANDLE_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_CUP_AND_HANDLE_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -54,6 +54,26 @@ public final class CyberneticCycle implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_CYBERNETIC_CYCLE_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_CYBERNETIC_CYCLE_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -71,6 +71,26 @@ public final class Cypher implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_CYPHER_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_CYPHER_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
@@ -47,6 +47,26 @@ public final class DayOfWeekProfile implements AutoCloseable {
|
||||
}
|
||||
}
|
||||
|
||||
/** Number of updates required before update() yields a value. */
|
||||
public int warmupPeriod() {
|
||||
try {
|
||||
long n = (long) NativeMethods.WICKRA_DAY_OF_WEEK_PROFILE_WARMUP_PERIOD.invokeExact(handle);
|
||||
return (int) n;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Whether the indicator has consumed enough input to emit a value. */
|
||||
public boolean isReady() {
|
||||
try {
|
||||
byte r = (byte) NativeMethods.WICKRA_DAY_OF_WEEK_PROFILE_IS_READY.invokeExact(handle);
|
||||
return r != 0;
|
||||
} catch (Throwable t) {
|
||||
throw WickraNative.rethrow(t);
|
||||
}
|
||||
}
|
||||
|
||||
/** Reset to the just-constructed state. */
|
||||
public void reset() {
|
||||
try {
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user