I'm having some trouble with my FX trading algo. It trades only once per week but needs to open a position as soon as the US retail FX market opens on Sunday at 5pm. It's encountering the two following main issues. 

1. "Warning: fill at stale price (05/15/2020 17:00:00 America/New_York)". Seems to still have this problem even if I push the scheduled Trade() function later on Sunday night. Ideally it would just behave the same as the market on open orders available to Equity markets. 

2. The market order to open a position is being filled in the same bar as its take-profit/stop-loss order (resulting in "BrokerageModel declared unable to submit order"). I'm using the OCO implementation described here: Support for one-cancels-the-other order (OCO ) by Levitikon

I'm already using the highest resolution available and the width of the orders seems wide enough as suggested in the above thread?

Author