expiration time in pending orders
-
bones @l-andorrà , l'altre dia ja em vaig trobar amb problemes amb les pending orders, quan li posava un expiration time no m'agafava cap operació, i quan el treia si. Ara tinc un robot creat amb pending orders i expiration time, i amb el @RTY funciona perfecte, pero si poso l'@EP ja no agafa res, si trec l'expiration time si que va, pero clar despres la grafica és un xurro.. m'està sortint fum del cap.. xD
salutacions -
Poden haver-hi diverses causes perquè passi això. Si em comparteixes l'enllaç del teu projecte m'ho miro i et dic el que.
-
perfecte. com t'ho comparteixo?
-
@trunxi many brokers do not accept expiry times for pending orders shorter than 10-15 minutes. Can it be that?
-
-
30 minutes is ok. have you check the journal tab for any error?
-
yes
failed: invalid expiration -
seems to be a broker limitation. try to put a bigger value (48 hours eg:) and see what happens. Strange that works on a broker and not on the other
-
48 hours and same
invalid expiration -
@trunxi please can you share the link to your project?

-
shared/pae7WihL
-
@trunxi i'm sorry but i don't get any expiration time error, seems to be alright
Only i change the open price because your custon level "result" is = 0
-
ok I've put Ask on open price and it make operations, but if I put custom price appears invalid expiration. the varible is not the proble because I have tried to put in custom price ( low candle) and nothing
-
Veig que n'ambrogio ja t'ha resolt bona part del problema. Per altra banda, et recomano que substitueixis tots els blocks blaus 'if trade' pels rosa 'for each trade'. Els blocks rosa no funcionen 100% correctamente si no es troben connectats sota un 'for each trade'. Si tens qualsevol altre problema, només ha s de tornar a aquest fil a fer-nos-ho saber.