bar_new

Function bar_new 

Source
#[unsafe(no_mangle)]
pub extern "C" fn bar_new( bar_type: BarType, open: Price, high: Price, low: Price, close: Price, volume: Quantity, ts_event: UnixNanos, ts_init: UnixNanos, ) -> Bar