I have an extract of a large dataframe below:
ticker date buy_fg sell_fg hold_fg action 18360 CXP 2003-08-22 0.0 2.0 ZZZ NIL