diff --git a/strategy/generator/confirm/vi.py b/strategy/generator/confirm/vi.py index 9923c496..e77f7bf8 100644 --- a/strategy/generator/confirm/vi.py +++ b/strategy/generator/confirm/vi.py @@ -8,4 +8,4 @@ class ViConfirm(Confirm): type: ConfirmType = ConfirmType.Vi atr_period: Parameter = StaticParameter(1.0) - period: Parameter = StaticParameter(14.0) + period: Parameter = StaticParameter(21.0) diff --git a/ta_lib/strategies/confirm/src/lib.rs b/ta_lib/strategies/confirm/src/lib.rs index 9720067d..5b1210e5 100644 --- a/ta_lib/strategies/confirm/src/lib.rs +++ b/ta_lib/strategies/confirm/src/lib.rs @@ -7,6 +7,7 @@ mod roc; mod rsi_neutrality; mod rsi_signalline; mod stc; +mod vi; pub use cci::CciConfirm; pub use dpo::DpoConfirm; @@ -17,3 +18,4 @@ pub use roc::RocConfirm; pub use rsi_neutrality::RsiNeutralityConfirm; pub use rsi_signalline::RsiSignalLineConfirm; pub use stc::StcConfirm; +pub use vi::ViConfirm;