I'm trying to make an algo that sells SPY in May and buys in OCT but I'm not sure what I have wrong. Any feedback would be greatly appreciated.

Thanks,

Clayton.

Author