There are a few reasons why live runs on Tuned may suffer downtime. The behavior described in this article covers both our recovery process, after downtime, and how we execute trades on a day-to-day basis.
The three main causes for downtime are:
- Database connectivity issues
- AWS connectivity issues
- Exchange connectivity issues
During downtime, strategies won't work because signals may not get processed. The result is skipped signals. Once Tuned, the exchanges and the cloud environment are working as expected, Tuned conducts a warmup and does the following:
- If a close signal occurred during downtime, close appropriate trades as soon as Tuned is online.
- If an open signal occurs during downtime, create an order if the price matches slippage criteria.
The decision has been made to apply the same logic for all trades, regardless of recovery from downtime or processing any regular trades.
- Close signals should always be processed
- Open signals should be processed if the current price reaches within +/-0.10% of the signal price.
- For BUY (Spot), this means when the price NOW is less than x(1+0.10%) vs the price at SIGNAL.
- For LONG (Margin), this means when the price NOW is less than x(1+0.10%) vs the price at SIGNAL.
- For SHORT (Margin), when the price NOW is more than x(1-0.10%) vs the price at SIGNAL.
Tuned monitors the price until the CLOSE signal comes in. This means a new order could OPEN much later if the price is ok based on our slippage criteria.
Note For Coin Margined products, the proposal is to also base this check on the PRICE, to avoid specific Coin Margined P&L difficulties. If this intended simplification is actually not a simplification, please reach out.
The above logic applies for
- All the logical trades to a subscriber's live runs
- Take Profit and Stop Loss will count as 'close' trades
These will be noted under the subscriber live-run Log, within the Terminal.
If a signal is skipped, the note in the log will display
Order postponed due to price slippage
If a trade is executed later, note in the log should be
Price reversed to signal or better, order executed