pub enum BarSize {
Show 21 variants
Sec,
Sec5,
Sec10,
Sec15,
Sec30,
Min,
Min2,
Min3,
Min5,
Min10,
Min15,
Min20,
Min30,
Hour,
Hour2,
Hour3,
Hour4,
Hour8,
Day,
Week,
Month,
}Expand description
Request granularity for historical bars.
Variants§
Sec
One-second bars.
Sec5
Five-second bars.
Sec10
Ten-second bars.
Sec15
Fifteen-second bars.
Sec30
Thirty-second bars.
Min
One-minute bars.
Min2
Two-minute bars.
Min3
Three-minute bars.
Min5
Five-minute bars.
Min10
Ten-minute bars.
Min15
Fifteen-minute bars.
Min20
Twenty-minute bars.
Min30
Thirty-minute bars.
Hour
One-hour bars.
Hour2
Two-hour bars.
Hour3
Three-hour bars.
Hour4
Four-hour bars.
Hour8
Eight-hour bars.
Day
One-day bars.
Week
One-week bars.
Month
One-month bars.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for BarSize
impl<'de> Deserialize<'de> for BarSize
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Copy for BarSize
impl StructuralPartialEq for BarSize
Auto Trait Implementations§
impl Freeze for BarSize
impl RefUnwindSafe for BarSize
impl Send for BarSize
impl Sync for BarSize
impl Unpin for BarSize
impl UnsafeUnpin for BarSize
impl UnwindSafe for BarSize
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more