bar_spec_to_resolution

Function bar_spec_to_resolution 

Source
pub fn bar_spec_to_resolution(bar_type: &BarType) -> String
Expand description

Converts a Nautilus BarType to a Deribit chart resolution.

Deribit resolutions: “1”, “3”, “5”, “10”, “15”, “30”, “60”, “120”, “180”, “360”, “720”, “1D”