stop doing anything at roll over midnight and start of Monday

sqx has a tendency to open trades or analyzer at roll overs mid nights and start of Monday
please add feature to disable any doings at specific time ranges
especially for daily strategies
hacks like delayopenbar and time range are not working
awful results especially at mondays 00:00 start
sqx breaks down


Attachments
No attachments
  • Votes 0
  • Project StrategyQuant X
  • Type Feature
  • Status New
  • Priority Normal

History

b
#1

gin

29.11.2020 23:14

Task created

b
#2

gin

29.11.2020 23:18
2020.11.30 00:00:20.821    eurcad-h1-wf-WF Matrix - Strategy 8.29.181(1) EURCAD,H1: - SQ LOG 2020.11.30 00:00 Max money to risk: 105.5504, SL:1.538863, One lot drawdown: 961.78260635, Point value: 76942.60850831
2020.11.30 00:00:20.821    eurcad-h1-wf-WF Matrix - Strategy 8.29.181(1) EURCAD,H1: - SQ LOG 2020.11.30 00:00 Computing Money Management - Smallest_Lot: 0.01, Largest_Lot: 100, Computed LotSize: 0.1
2020.11.30 00:00:20.821    eurcad-h1-wf-WF Matrix - Strategy 8.29.181(1) EURCAD,H1: - SQ LOG 2020.11.30 00:00 Computing Money Management for order -  Risk fixed % of account balance
2020.11.30 00:00:11.461    gbpaud-d1-wf-WF Matrix - Strategy 3.9.107 GBPAUD,Daily: OrderSendReliable v36:     
2020.11.30 00:00:11.461    gbpaud-d1-wf-WF Matrix - Strategy 3.9.107 GBPAUD,Daily: OrderSendReliable v36:     Last error: 2  ::  common error
2020.11.30 00:00:11.461    gbpaud-d1-wf-WF Matrix - Strategy 3.9.107 GBPAUD,Daily: OrderSendReliable v36:     Failed trade: SELL LIMIT 0.05 lots  GBPAUD@1.81545 tp@0 sl@0
2020.11.30 00:00:11.461    gbpaud-d1-wf-WF Matrix - Strategy 3.9.107 GBPAUD,Daily: OrderSendReliable v36:     Failed to execute stop or limit order after 10000 retries
2020.11.30 00:00:11.461    gbpaud-d1-wf-WF Matrix - Strategy 3.9.107 GBPAUD,Daily: OrderSendReliable v36:     Non-retryable error: 2  ::  common error
2020.11.30 00:00:11.461    gbpaud-d1-wf-WF Matrix - Strategy 3.9.107 GBPAUD,Daily: OrderSendReliable v36:     About to call OrderSend(), comment = gbpaud-d1-wf-WF Matrix - Strat
2020.11.30 00:00:10.649    gbpaud-d1-wf-WF Matrix - Strategy 3.97.160 GBPAUD,Daily: OrderSendReliable v36:     
2020.11.30 00:00:10.649    gbpaud-d1-wf-WF Matrix - Strategy 3.97.160 GBPAUD,Daily: OrderSendReliable v36:     Last error: 2  ::  common error
2020.11.30 00:00:10.649    gbpaud-d1-wf-WF Matrix - Strategy 3.97.160 GBPAUD,Daily: OrderSendReliable v36:     Failed trade: SELL LIMIT 0.20 lots  GBPAUD@1.80752 tp@0 sl@0
2020.11.30 00:00:10.649    gbpaud-d1-wf-WF Matrix - Strategy 3.97.160 GBPAUD,Daily: OrderSendReliable v36:     Failed to execute stop or limit order after 10000 retries
2020.11.30 00:00:10.649    gbpaud-d1-wf-WF Matrix - Strategy 3.97.160 GBPAUD,Daily: OrderSendReliable v36:     Non-retryable error: 2  ::  common error
2020.11.30 00:00:10.649    gbpaud-d1-wf-WF Matrix - Strategy 3.97.160 GBPAUD,Daily: OrderSendReliable v36:     About to call OrderSend(), comment = gbpaud-d1-wf-WF Matrix - Strat
2020.11.30 00:00:09.004    gbpaud-d1-wf-WF Matrix - Strategy 3.9.107 GBPAUD,Daily: OrderSendReliable v36:     Result of attempt 4 of 10000(33): Retryable error: 132  ::  market is closed
2020.11.30 00:00:08.754    gbpaud-d1-wf-WF Matrix - Strategy 3.9.107 GBPAUD,Daily: OrderSendReliable v36:     About to call OrderSend(), comment = gbpaud-d1-wf-WF Matrix - Strat
2020.11.30 00:00:07.598    gbpaud-d1-wf-WF Matrix - Strategy 3.97.160 GBPAUD,Daily: OrderSendReliable v36:     Result of attempt 4 of 10000(3): Retryable error: 132  ::  market is closed
2020.11.30 00:00:07.394    gbpaud-d1-wf-WF Matrix - Strategy 3.9.107 GBPAUD,Daily: OrderSendReliable v36:     Result of attempt 3 of 10000(33): Retryable error: 132  ::  market is closed
2020.11.30 00:00:07.332    gbpaud-d1-wf-WF Matrix - Strategy 3.97.160 GBPAUD,Daily: OrderSendReliable v36:     About to call OrderSend(), comment = gbpaud-d1-wf-WF Matrix - Strat
2020.11.30 00:00:07.150    gbpaud-d1-wf-WF Matrix - Strategy 3.9.107 GBPAUD,Daily: OrderSendReliable v36:     About to call OrderSend(), comment = gbpaud-d1-wf-WF Matrix - Strat
2020.11.30 00:00:06.388    gbpaud-d1-wf-WF Matrix - Strategy 3.97.160 GBPAUD,Daily: OrderSendReliable v36:     Result of attempt 3 of 10000(3): Retryable error: 132  ::  market is closed
2020.11.30 00:00:06.134    gbpaud-d1-wf-WF Matrix - Strategy 3.97.160 GBPAUD,Daily: OrderSendReliable v36:     About to call OrderSend(), comment = gbpaud-d1-wf-WF Matrix - Strat
2020.11.30 00:00:05.888    gbpaud-d1-wf-WF Matrix - Strategy 3.97.160 GBPAUD,Daily: OrderSendReliable v36:     Result of attempt 2 of 10000(3): Retryable error: 132  ::  market is closed
2020.11.30 00:00:05.602    gbpaud-d1-wf-WF Matrix - Strategy 3.97.160 GBPAUD,Daily: OrderSendReliable v36:     About to call OrderSend(), comment = gbpaud-d1-wf-WF Matrix - Strat
2020.11.30 00:00:05.252    gbpaud-d1-wf-WF Matrix - Strategy 3.9.107 GBPAUD,Daily: OrderSendReliable v36:     Result of attempt 2 of 10000(33): Retryable error: 132  ::  market is closed
2020.11.30 00:00:04.969    gbpaud-d1-wf-WF Matrix - Strategy 3.9.107 GBPAUD,Daily: OrderSendReliable v36:     About to call OrderSend(), comment = gbpaud-d1-wf-WF Matrix - Strat
2020.11.30 00:00:04.632    gbpaud-d1-wf-WF Matrix - Strategy 3.97.160 GBPAUD,Daily: OrderSendReliable v36:     Result of attempt 1 of 10000(3): Retryable error: 6  ::  no connection with trade server
2020.11.30 00:00:04.632    gbpaud-d1-wf-WF Matrix - Strategy 3.9.107 GBPAUD,Daily: OrderSendReliable v36:     Result of attempt 1 of 10000(33): Retryable error: 6  ::  no connection with trade server
2020.11.30 00:00:04.402    gbpaud-d1-wf-WF Matrix - Strategy 3.97.160 GBPAUD,Daily: OrderSendReliable v36:     About to call OrderSend(), comment = gbpaud-d1-wf-WF Matrix - Strat
2020.11.30 00:00:04.402    gbpaud-d1-wf-WF Matrix - Strategy 3.97.160 GBPAUD,Daily: OrderSendReliable v36:     Attempted SELL LIMIT GBPAUD: 0.200 lots @1.807520 sl:0.000000 tp:0.000000
2020.11.30 00:00:04.402    gbpaud-d1-wf-WF Matrix - Strategy 3.97.160 GBPAUD,Daily: - SQ LOG 2020.11.30 00:00 Opening order type SELL LIMIT with price 1.80752. Current market prices: 1.80608 / 1.80395
2020.11.30 00:00:04.402    gbpaud-d1-wf-WF Matrix - Strategy 3.97.160 GBPAUD,Daily: - SQ LOG 2020.11.30 00:00 Max money to risk: 105.5504, SL:1.8143937, One lot drawdown: 507.191216, Point value: 73784
2020.11.30 00:00:04.402    gbpaud-d1-wf-WF Matrix - Strategy 3.97.160 GBPAUD,Daily: - SQ LOG 2020.11.30 00:00 Computing Money Management - Smallest_Lot: 0.01, Largest_Lot: 100, Computed LotSize: 0.2
2020.11.30 00:00:04.402    gbpaud-d1-wf-WF Matrix - Strategy 3.97.160 GBPAUD,Daily: - SQ LOG 2020.11.30 00:00 Computing Money Management for order -  Risk fixed % of account balance
2020.11.30 00:00:04.395    gbpaud-d1-wf-WF Matrix - Strategy 3.9.107 GBPAUD,Daily: OrderSendReliable v36:     About to call OrderSend(), comment = gbpaud-d1-wf-WF Matrix - Strat
2020.11.30 00:00:04.395    gbpaud-d1-wf-WF Matrix - Strategy 3.9.107 GBPAUD,Daily: OrderSendReliable v36:     Attempted SELL LIMIT GBPAUD: 0.050 lots @1.815450 sl:0.000000 tp:0.000000
2020.11.30 00:00:04.395    gbpaud-d1-wf-WF Matrix - Strategy 3.9.107 GBPAUD,Daily: - SQ LOG 2020.11.30 00:00 Opening order type SELL LIMIT with price 1.81545. Current market prices: 1.80608 / 1.80395
2020.11.30 00:00:04.395    gbpaud-d1-wf-WF Matrix - Strategy 3.9.107 GBPAUD,Daily: - SQ LOG 2020.11.30 00:00 Max money to risk: 105.5504, SL:1.841582, One lot drawdown: 1928.34484, Point value: 73784
2020.11.30 00:00:04.395    gbpaud-d1-wf-WF Matrix - Strategy 3.9.107 GBPAUD,Daily: - SQ LOG 2020.11.30 00:00 Computing Money Management - Smallest_Lot: 0.01, Largest_Lot: 100, Computed LotSize: 0.05
2020.11.30 00:00:04.395    gbpaud-d1-wf-WF Matrix - Strategy 3.9.107 GBPAUD,Daily: - SQ LOG 2020.11.30 00:00 Computing Money Management for order -  Risk fixed % of account balance
2020.11.30 00:00:04.368    gbpaud-d1-wf-WF Matrix - Strategy 3.41.179 GBPAUD,Daily: - SQ LOG 2020.11.30 00:00 Based on its logic, the strategy tried to place stop/limit order at incorrect price. Market price: 1.80395, max. price allowed: 1.80195, stop/limit order price: 1.81253 (this is NOT an error)
2020.11.30 00:00:04.368    gbpaud-d1-wf-WF Matrix - Strategy 3.41.179 GBPAUD,Daily: - SQ LOG 2020.11.30 00:00 Opening order type SELL STOP with price 1.81253. Current market prices: 1.80608 / 1.80395
2020.11.30 00:00:04.368    gbpaud-d1-wf-WF Matrix - Strategy 3.41.179 GBPAUD,Daily: - SQ LOG 2020.11.30 00:00 Max money to risk: 105.5504, SL:1.834766, One lot drawdown: 1640.661024, Point value: 73784
2020.11.30 00:00:04.368    gbpaud-d1-wf-WF Matrix - Strategy 3.41.179 GBPAUD,Daily: - SQ LOG 2020.11.30 00:00 Computing Money Management - Smallest_Lot: 0.01, Largest_Lot: 100, Computed LotSize: 0.06
2020.11.30 00:00:04.368    gbpaud-d1-wf-WF Matrix - Strategy 3.41.179 GBPAUD,Daily: - SQ LOG 2020.11.30 00:00 Computing Money Management for order -  Risk fixed % of account balance
2020.11.30 00:00:00.376    LostConnectionFixer EURUSD,M1: The chart has not been updated for 2 minutes - start reconnect ...
2020.11.29 18:25:29.066    eurcad-h1-wf-WF Matrix - Strategy 10.12.168 EURCAD,H1: - SQ LOG 2020.11.28 00:00 0 variables cleared
2020.11.29 18:25:29.066    eurcad-h1-wf-WF Matrix - Strategy 10.12.168 EURCAD,H1: 2020.11.28 00:00 0 variables cleared
2020.11.29 18:25:29.066    eurcad-h1-wf-WF Matrix - Strategy 10.12.168 EURCAD,H1: - SQ LOG 2020.11.28 00:00 Clearing variables...

b
#3

gin

29.11.2020 23:19
make SQX stop doing anything even thinking about strategies at roll overs and MOndays start
AA
#4

AngelDuz

27.03.2021 17:07
How would you propose handling D1 strats?   x mins before D1 candle close evaluate open bar? or 1h after D1 candle close (or x mins after D1 candle close or spread goes normal)? 

Votes: 0

Drop files to upload

or

choose files

Max size: 5MB

Not allowed: exe, msi, application, reg, php, js, htaccess, htpasswd, gitignore

...
Wait please