Enum quandl_v3::prelude::Transform [] [src]

pub enum Transform {
    none,
    diff,
    rdiff,
    rdiff_from,
    cumul,
    normalize,
}

Perform calculations on your data prior to downloading.

Variants

No transformation, also the default.

Row-on-row change; a parameter that will transform the data to show the difference between days. Equivalent to y'[t] = y[t] - y[t - 1].

Row-on-row percentage change; a parameter that will transform the data to show the difference between days divided by the previous day. Equivalent to y'[t] = (y[t] - y[t - 1]) / y[t - 1].

Row-on-row percentage change from latest value; a parameter that will transfrom the data to show the percentage difference between the latest value and all subsequent values (where y[n] is the latest observation). Equivalent to y'[t] = (y[n] - y[t]) / y[t].

Cumulative sum; a parameter that will calculate the sum of all preceding data returned. Equivalent to y'[t] = y[t] + y[t - 1] + ... + y[0].

Start at 100; a parameter that will normalize the data to the oldest datapoint returned. Equivalent to y'[t] = (y[t] / y[0]) * 100.

Trait Implementations

impl Debug for Transform
[src]

Formats the value using the given formatter.

impl Copy for Transform
[src]

impl Clone for Transform
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Transform
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.