Build a MultiIndex from date and ticker, then select the row identified by
date == "2020-01-01" and ticker == "GOOGL", restricted to the columns from
open through close inclusive (in their original column order).
Sample data:
df:
date ticker open close
0 2020-01-01 AAPL 95 100
1 2020-01-01 GOOGL 190 200
2 2020-01-02 AAPL 99 101
solve(...)