trading with stop order within a candle #785
Unanswered
shovalyechiel
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Hi everyone! If you can help... |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hey everyone!
Been playing around with this great engine and have some very nice results and insights so far!
I have an idea for some ( very ) short term plays following 1 min candles and have some very small sl/tp (about .5% size). i wanted to run my strategy with stop-orders but i have some problems.
For this example i set the commision to be 0.
Lets say i open on candle 1 a long-stoporder at the price of 100$ and candle 1 closes at 99$
Candles 2 assuming opens on 99 as well and closes on 101$. at that point my long stoporder will be triggered right? but from what i see in my trades (and the code ) the entry price would be 101$ (candle Close ). so in this specific case this is a 1% off.
i also tried to do stop + limit (but as i suspected from viewing the code it still doesn't give me the wanted results.
So as far as i can tell the way im testing currently can give me some very misleading results from the deviation.
and as what i think when a stop orders gets hit it feels like it should be in the stoporder price itself but maybe im missing something here ?
any idea how i can run some more accurate test with in-candle trading ?
Thanks!
Beta Was this translation helpful? Give feedback.
All reactions