831864d188
Mt5DataClient (returned by create_trading_client) exposes copy_rates_from_pos_as_df, not fetch_latest_rates_as_df. Adds a fallback path that resolves the granularity string to an integer timeframe via parse_timeframe, fetches count+1 bars from start_pos=0, and applies the same drop_forming_rate_bar + tail(count) logic so callers that use the client returned by create_trading_client no longer need a compatibility shim. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>