We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0c52ff3 + 235fc75 commit dcca1eaCopy full SHA for dcca1ea
Cargo.toml
@@ -1,6 +1,6 @@
1
[package]
2
name = "indexes-rs"
3
-version = "0.1.1"
+version = "0.1.2"
4
edition = "2021"
5
license = "MIT"
6
authors = ["Onik Sahakyan <onik.sahakyan.09@gmail.com>"]
src/v1/roc/types.rs
@@ -3,7 +3,7 @@ use serde::Serialize;
use crate::v1::types::TradingSignal;
/// The result of an ROC calculation.
-#[derive(Debug, Serialize)]
+#[derive(Debug, Clone, Serialize)]
7
pub struct ROCResult {
8
/// The calculated ROC value as a percentage.
9
pub value: f64,
0 commit comments