Home › Forums › Trading System Mentor Course Community › Progress Journal › Scott’s Journal
- This topic is empty.
-
AuthorPosts
-
September 8, 2016 at 5:53 am #105141TrentRothallParticipantDarryl Vink wrote:Scott McNab wrote:If anyone else is interested in this API for the ASX…
hi scott yes im interested.
i was also thinking about the possibility of a limit order that gets out at a target of x% above the entry price but places a MOC/MKT at end of day if the target is not reached.
Have you tested it using a profit target Darryl?
September 8, 2016 at 10:20 am #105142ScottMcNabParticipantTo be used in US market Darryl ? From my limited understanding (pun intended) it would need 2 possible limit orders to be used that way for ASX…the first as a profit tgt (which would need to be cancelled at a certain time…eg 15:59) and the second to close at the market price at the cspa (at 16:02 or similar)
September 8, 2016 at 2:32 pm #105143AnonymousInactiveTrent Rothall wrote:Have you tested it using a profit target Darryl?no :dry:
September 8, 2016 at 2:36 pm #105145AnonymousInactiveScott McNab wrote:To be used in US market Darryl ? From my limited understanding (pun intended) it would need 2 possible limit orders to be used that way for ASX…the first as a profit tgt (which would need to be cancelled at a certain time…eg 15:59) and the second to close at the market price at the cspa (at 16:02 or similar)yes us and asx were my thoughts but i have done no testing on this yet… its just an idea at this point
September 8, 2016 at 2:56 pm #105146SaidBitarMemberDarryl Vink wrote:Scott McNab wrote:To be used in US market Darryl ? From my limited understanding (pun intended) it would need 2 possible limit orders to be used that way for ASX…the first as a profit tgt (which would need to be cancelled at a certain time…eg 15:59) and the second to close at the market price at the cspa (at 16:02 or similar)yes us and asx were my thoughts but i have done no testing on this yet… its just an idea at this point
I think you need intraday data in order to test otherwise you will not know which was hit the first the entry or the take profit
September 8, 2016 at 8:56 pm #105147Nick RadgeKeymasterQuote:I think you need intraday data in order to test otherwise you will not know which was hit the first the entry or the take profitYes. You’re starting to walk down a dangerous corridor using EOD data for this exercise.
September 9, 2016 at 3:16 am #105148AnonymousInactiveSaid Bitar wrote:I think you need intraday data in order to test otherwise you will not know which was hit the first the entry or the take profitwhat about something like this to test the concept:
Code:priceAtBuy = longEntryPrice[j];
targetPrice = priceAtBuy*(1 + targetPercent);
SellPrice[j] = IIf(High[j] > targetPrice,targetPrice,Close[j]);September 9, 2016 at 5:57 am #105154Stephen JamesMemberWhen is the profit target order being set – at the same time as the limit order (pre-market open) or only when the limit order is triggered once the market has opened?
September 9, 2016 at 6:34 am #105155LeeDanelloParticipantDarryl Vink wrote:Said Bitar wrote:I think you need intraday data in order to test otherwise you will not know which was hit the first the entry or the take profitwhat about something like this to test the concept:
Code:priceAtBuy = longEntryPrice[j];
targetPrice = priceAtBuy*(1 + targetPercent);
SellPrice[j] = IIf(High[j] > targetPrice,targetPrice,Close[j]);The High[j] would have to be High[j-1]?
September 9, 2016 at 6:54 am #105156SaidBitarMemberFor execution it is OK since the sell order will be placed after the buy is filled but what about back testing you will not now which was reached first
For example you have your buy order at 9 and profit taking at 11 the stock opened at 10 went to 11.5 then down to 8.5 and closed around 9.5In your backtest you will see you bought on 9 sold at 10 while in reality it didn’t happen
September 9, 2016 at 10:49 am #105157AnonymousInactiveSaid Bitar wrote:For execution it is OK since the sell order will be placed after the buy is filled but what about back testing you will not now which was reached first
For example you have your buy order at 9 and profit taking at 11 the stock opened at 10 went to 11.5 then down to 8.5 and closed around 9.5In your backtest you will see you bought on 9 sold at 10 while in reality it didn’t happen
yes good point said 😳 the idea seems worthy of testing at some point when intraday data is available to me… until then… back to the drawing board
September 9, 2016 at 8:57 pm #105158Nick RadgeKeymasterI’m quite sure this was discussed somewhere in the course.
Remind me to tell a story on this exact topic that blew a lot of people up…
September 10, 2016 at 1:32 am #105165AnonymousInactiveNick Radge wrote:Remind me to tell a story on this exact topic that blew a lot of people up…the fact this story exists is all i need to know for now… :unsure:
September 14, 2016 at 10:08 am #103142ScottMcNabParticipantNew version of BatchTrader for MOC for the ASX arrived tonight…will take it for a trial tomorrow…will set it up to place sell limit order at 16:04 at 1.5% below last traded price.
I haven’t subscribed to live data yet so I am hoping price will not have dropped 1.5% in last 20 minutes (or should I go lower maybe ??)
September 15, 2016 at 12:10 am #105201TrentRothallParticipantScott McNab wrote:New version of BatchTrader for MOC for the ASX arrived tonight…will take it for a trial tomorrow…will set it up to place sell limit order at 16:04 at 1.5% below last traded price.I haven’t subscribed to live data yet so I am hoping price will not have dropped 1.5% in last 20 minutes (or should I go lower maybe ??)
whats the harm in going 5 or 8%?
To be safe -
AuthorPosts
- You must be logged in to reply to this topic.