diff --git a/lib/xtb_client/connection.ex b/lib/xtb_client/connection.ex index 0c27bb6..9f665af 100644 --- a/lib/xtb_client/connection.ex +++ b/lib/xtb_client/connection.ex @@ -537,7 +537,7 @@ defmodule XtbClient.Connection do {:response, ref, %RateInfos{data: data} = resp} = _message, %State{clients: clients} = state ) do - {_client, _method, %{info: %ChartRange.Query{symbol: symbol}}} = Map.get(clients, ref) + {_client, _method, %{info: %{symbol: symbol}}} = Map.get(clients, ref) resp = %RateInfos{ resp