The basic premise is, I want to write a python script that trades options using EMAs (it doesn't matter the EMA)? I would like for the script to buy calls when the short EMA crosses above the long EMA, and RSI is above 54. 

I would like the script to buy puts when the 13 EMA crosses under the 48 EMA, and RSI is below 46. All options should have a trailing 10% stoploss, and positions should only use 10% of holdings.

I have worked all of the exceptions out of the script, but no purchases are being made. I'm currently only testing this on single options, but may select an options universe in the future. Any help would be greatly appreciated.