Hi I have a data frame for all stock data in my country market, the data look like this
Ticker  Date/Time   Open    High    Low Close   Volume
AAA     7/15/2010   19.581  20.347  18.429  18.698  174100.0
BBB     7/16/2010   19.002  19.002  17.855  17.855  109200.0
BBB     7/19/2010   19.002  19.002  17.777  17.777  104900.0
CCC     7/20/2010   18.429  18.429  17.084  17.354  328700.0
CCC     7/21/2010   17.354  17.431  16.895  17.316  75800.0
The column Ticker has the stock name, each row is the data in one specific date. I would like to write a loop code that create variable with variable name is the stock name, and the variable is the subset of the whole dataframe that contain data of this stock.
For example,
When I call variable BBB I will get this dataframe:
BBB
Ticker  Date/Time   Open    High    Low Close   Volume
BBB     7/16/2010   19.002  19.002  17.855  17.855  109200.0
BBB     7/19/2010   19.002  19.002  17.777  17.777  104900.0
Could you please advice how could I write this code
 
     
    