Error 132 Market is closed
9 replies
gin
6 years ago #259025
Hello
What is this error I am getting?
non retryable erro
how to fix it?
2020 06 01 23:00
market was open
0
Tomas Matejka
6 years ago #259042
Hello,
there will be some code modification done into next SQX update regarding treatment for the market closed situation with the EA code. The strange thing is you mention the market was open. Can you double-check with your broker that the market was really open and accepting new orders at that time?
0
gin
6 years ago #259049
mostly like ECN was closed because of nightly roll overs
how long for? seconds or minutes?
5 mins?
0
gin
6 years ago #259282
very buggy
because of market closed error
sq opens 3 or more positions
please double check
0
gin
6 years ago #259283
market is closed only for several seconds during roll over 00:00
0
gin
6 years ago #259284
2020.06.09 06:57:58.239 ‘5870277’: pending order #833755816 was deleted
2020.06.09 06:57:58.044 ‘5870277’: delete pending order #833755816 sell limit 0.60 EURCAD at 1.51302 sl: 1.51402 tp: 1.50552
2020.06.09 06:57:56.301 ‘5870277’: pending order #833755817 was deleted
2020.06.09 06:57:56.189 ‘5870277’: delete pending order #833755817 sell limit 0.60 EURCAD at 1.51302 sl: 1.51402 tp: 1.50552
2020.06.09 00:00:02.023 ‘5870277’: pending order #833755816 sell limit 0.60 EURCAD was modified -> price: 1.51302 sl: 1.51402 tp: 1.50552
2020.06.09 00:00:01.806 ‘5870277’: modify pending order #833755816 sell limit 0.60 EURCAD at 1.51302 sl: 0.00000 tp: 0.00000 -> price: 1.51302 sl: 1.51402 tp: 1.50552
2020.06.09 00:00:01.805 ‘5870277’: order was opened : #833755816 sell limit 0.60 EURCAD at 1.51302 sl: 0.00000 tp: 0.00000
2020.06.09 00:00:01.576 ‘5870277’: pending order sell limit 0.60 EURCAD at 1.51302 sl: 0.00000 tp: 0.00000
2020.06.09 00:00:00.799 ‘5870277’: order sell limit 0.60 EURCAD opening at 1.51302 sl: 0.00000 tp: 0.00000 failed [Market is closed]
2020.06.09 00:00:00.613 ‘5870277’: pending order sell limit 0.60 EURCAD at 1.51302 sl: 0.00000 tp: 0.00000
2020.06.09 00:00:00.361 ‘5870277’: order sell limit 0.60 EURCAD opening at 1.51302 sl: 0.00000 tp: 0.00000 failed [Market is closed]
2020.06.09 00:00:00.183 ‘5870277’: pending order sell limit 0.60 EURCAD at 1.51302 sl: 0.00000 tp: 0.00000
2020.06.08 14:24:02.373 Automated trading enabled
2020.06.08 14:24:01.326 Automated trading disabled
I had to manually remove 2 orders :/
please check errors and bugs during roll over market closed event
how to emulate this during tests?
0
gin
6 years ago #259285
2020.06.09 00:00:02.527 Strategy 4.76.571 GBPJPY D1 2007 pf 7.66 nrt 1431 MM GBPJPY,Daily: – SQ LOG 2020.06.09 00:00 Order modified successfuly
2020.06.09 00:00:02.527 Strategy 4.76.571 GBPJPY D1 2007 pf 7.66 nrt 1431 MM GBPJPY,Daily: Ticket: 833755833 (continue) – CloseTime: 0,ClosePrice: 137.948,Commission: 0,Swap: 0,Profit: 0,Comment: Strategy 4.76.571,MagicNumber: 11111
2020.06.09 00:00:02.527 Strategy 4.76.571 GBPJPY D1 2007 pf 7.66 nrt 1431 MM GBPJPY,Daily: Ticket: 833755833 – OpenTime: 1591660802,Type: 3,Size: 0.7,Symbol: GBPJPY,OpenPrice: 138.238,SL: 138.338,PT: 0
2020.06.09 00:00:02.527 Strategy 4.76.571 GBPJPY D1 2007 pf 7.66 nrt 1431 MM GBPJPY,Daily: OrderModifyReliable v36: Ticket #833755833: Modification successful, updated trade details follow.
2020.06.09 00:00:02.527 Strategy 4.76.571 GBPJPY D1 2007 pf 7.66 nrt 1431 MM GBPJPY,Daily: modify #833755833 sell limit 0.70 GBPJPY at 138.238 sl: 138.338 tp: 0.000 ok
2020.06.09 00:00:02.097 Strategy 4.76.571 GBPJPY D1 2007 pf 7.66 nrt 1431 MM GBPJPY,Daily: OrderModifyReliable v36: Attempted modify of #833755833 price:138.2380 sl:138.3380 tp:0.0000 exp:1970.01.01 00:00
2020.06.09 00:00:02.097 Strategy 4.76.571 GBPJPY D1 2007 pf 7.66 nrt 1431 MM GBPJPY,Daily: – SQ LOG 2020.06.09 00:00 Modifying order with ticket: 833755833, SL: 138.338 and PT: 0
2020.06.09 00:00:02.097 Strategy 4.76.571 GBPJPY D1 2007 pf 7.66 nrt 1431 MM GBPJPY,Daily: Ticket: 833755833 (continue) – CloseTime: 0,ClosePrice: 137.954,Commission: 0,Swap: 0,Profit: 0,Comment: Strategy 4.76.571,MagicNumber: 11111
2020.06.09 00:00:02.097 Strategy 4.76.571 GBPJPY D1 2007 pf 7.66 nrt 1431 MM GBPJPY,Daily: Ticket: 833755833 – OpenTime: 1591660802,Type: 3,Size: 0.7,Symbol: GBPJPY,OpenPrice: 138.238,SL: 0,PT: 0
2020.06.09 00:00:02.097 Strategy 4.76.571 GBPJPY D1 2007 pf 7.66 nrt 1431 MM GBPJPY,Daily: OrderSendReliable v36: Ticket #833755833: Successful SELL LIMIT order placed with comment = Strategy 4.76.571, details follow.
2020.06.09 00:00:02.097 Strategy 4.76.571 GBPJPY D1 2007 pf 7.66 nrt 1431 MM GBPJPY,Daily: open #833755833 sell limit 0.70 GBPJPY at 138.238 ok
2020.06.09 00:00:01.859 Strategy 4.76.571 GBPJPY D1 2007 pf 7.66 nrt 1431 MM GBPJPY,Daily: OrderSendReliable v36: About to call OrderSend(), comment = Strategy 4.76.571
2020.06.09 00:00:01.040 Strategy 4.76.571 GBPJPY D1 2007 pf 7.66 nrt 1431 MM GBPJPY,Daily: OrderSendReliable v36: Result of attempt 2 of 10000(3): Retryable error: 132 :: market is closed
2020.06.09 00:00:00.880 Strategy 4.76.571 GBPJPY D1 2007 pf 7.66 nrt 1431 MM GBPJPY,Daily: OrderSendReliable v36: About to call OrderSend(), comment = Strategy 4.76.571
2020.06.09 00:00:00.795 Strategy 4.76.571 GBPJPY D1 2007 pf 7.66 nrt 1431 MM GBPJPY,Daily: OrderSendReliable v36: Result of attempt 1 of 10000(3): Retryable error: 132 :: market is closed
2020.06.09 00:00:00.106 Strategy 4.76.571 GBPJPY D1 2007 pf 7.66 nrt 1431 MM GBPJPY,Daily: OrderSendReliable v36: About to call OrderSend(), comment = Strategy 4.76.571
2020.06.09 00:00:00.106 Strategy 4.76.571 GBPJPY D1 2007 pf 7.66 nrt 1431 MM GBPJPY,Daily: OrderSendReliable v36: Attempted SELL LIMIT GBPJPY: 0.700 lots @138.2380 sl:0.0000 tp:0.0000
2020.06.09 00:00:00.106 Strategy 4.76.571 GBPJPY D1 2007 pf 7.66 nrt 1431 MM GBPJPY,Daily: – SQ LOG 2020.06.09 00:00 Opening order type SELL LIMIT with price 138.238. Current market prices: 137.979 / 137.95
2020.06.09 00:00:00.106 Strategy 4.76.571 GBPJPY D1 2007 pf 7.66 nrt 1431 MM GBPJPY,Daily: – SQ LOG 2020.06.09 00:00 Max money to risk: 64.60608, SL:138.3377931, One lot drawdown: 92.2236978, Point value: 922.23697801
2020.06.09 00:00:00.106 Strategy 4.76.571 GBPJPY D1 2007 pf 7.66 nrt 1431 MM GBPJPY,Daily: – SQ LOG 2020.06.09 00:00 Computing Money Management – Smallest_Lot: 0.01, Largest_Lot: 100, Computed LotSize: 0.7
2020.06.09 00:00:00.099 Strategy 4.76.571 GBPJPY D1 2007 pf 7.66 nrt 1431 MM GBPJPY,Daily: – SQ LOG 2020.06.09 00:00 Computing Money Management for order – Risk fixed % of account balance
2020.06.08 11:14:05.229 Strategy 4.76.571 GBPJPY D1 2007 pf 7.66 nrt 1431 MM GBPJPY,Daily: – SQ LOG 2020.06.08 11:14 8 variables cleared
0
gin
6 years ago #259286
added case ERR_MARKET_CLOSED: everywhere
this helps with market closed but brings new bugs eg multiple orders
0
Albertabson Albertabson
6 years ago #259460
Also run echo 0 and let us know what shell is in use when you get the error. Ive seen errors because of shell resets, but never like this. I cant duplicate it on stable.
TC
0
gin
6 years ago #259755
What is it mean echo 0
How and where to do it?
0
Viewing 9 replies - 1 through 9 (of 9 total)