pub fn trade_profile_menu(
ui: &mut Ui,
ranges: &mut TradeProfileRanges,
index: usize,
split_at: Option<DateTime<Utc>>,
) -> boolExpand description
Shows merge/split commands for index inside a host menu. split_at is a bar boundary
selected by the user, such as the hovered bar. Returns whether the ranges changed; rebuild
the profiles with crate::studies::trade_profiles after a change.