Leaderboard
Popular Content
Showing content with the highest reputation on 02/01/2023 in Posts
-
1 pointupdate 2/2/2023. Few things did not work as intended. The partial and the stop would not go to b/e, and the amount differed. I had to adjust some of the arguments from "Shares" to "Pos" to correct the Quantity remained after the partial. I also had to change the stop price variable to "AvgCost." The two versions below, one places the stop at the original stop price, and leaves it there, with the adjust number of shares after the partial. Second one does the same, but moves the stop to b/e. I also modified the limit bid and ask amount from +/- 1 to +/- 3 to get the orders filled. It was missing the fills at times, unlike IB. But for free trades, it is worth the cost for now. I am small day trader, and don't require huge orders to be filled, so TD should be fine. but lost $50 on slippage on $TSLA today, due to an order not closing. Tweaking it a big. Ver 1.4 ## this adjust the correct number of shares, but leaves the b/e at the entry stop price, versus to b/e. Sell 1/4 CXL ALLSYMB;ROUTE=MARKET; ROUTE=LIMIT;Share=Pos*.25;Price=Bid-.01;TIF=DAY+;SELL=Send; TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0.1 ACT:SELL STOPPRICE:StopPrice QTY:Pos TIF:DAY+; Sell 1/2 CXL ALLSYMB;ROUTE=MARKET; ROUTE=LIMIT;Share=Pos*.5;Price=Bid-.01;TIF=DAY+;SELL=Send; TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0.1 ACT:SELL STOPPRICE:StopPrice QTY:Pos TIF:DAY+; Buy 1/4 CXL ALLSYMB;ROUTE=MARKET; ROUTE=LIMIT;Share=Pos*.25;Price=Bid-.01;TIF=DAY+;Buy=Send; TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0.1 ACT:BUY STOPPRICE:StopPrice QTY:Pos TIF:DAY+; Buy 1/4 CXL ALLSYMB;ROUTE=MARKET; ROUTE=LIMIT;Share=Pos*.5;Price=Bid-.01;TIF=DAY+;Buy=Send; TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0.1 ACT:BUY STOPPRICE:StopPrice QTY:Pos TIF:DAY+; ============================ Ver 1.5 ## this adjust the correct number of shares, places the stop @ b/e. Sell 1/4 CXL ALLSYMB;ROUTE=MARKET; ROUTE=LIMIT;Share=Pos*.25;Price=Bid-.01;TIF=DAY+;SELL=Send; TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0.1 ACT:SELL STOPPRICE:AvgCost QTY:Pos TIF:DAY+; Sell 1/2 CXL ALLSYMB;ROUTE=MARKET; ROUTE=LIMIT;Share=Pos*.5;Price=Bid-.01;TIF=DAY+;SELL=Send; TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0.1 ACT:SELL STOPPRICE:AvgCost QTY:Pos TIF:DAY+; Buy 1/4 CXL ALLSYMB;ROUTE=MARKET; ROUTE=LIMIT;Share=Pos*.25;Price=Bid-.01;TIF=DAY+;BUY=Send; TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0.1 ACT:BUY STOPPRICE:AvgCost QTY:Pos TIF:DAY+; Buy 1/4 CXL ALLSYMB;ROUTE=MARKET; ROUTE=LIMIT;Share=Pos*.5;Price=Bid-.01;TIF=DAY+;BUY=Send; TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0.1 ACT:BUY STOPPRICE:AvgCost QTY:Pos TIF:DAY+; ========== Hi, I have been tweaking my hot keys after making a move from IBKR to TD AM. As Trinity said, you have to modify the script to either limit or market. For IB, it was SMARTL or SMARTM. With TD, it does not allow partial if you have a stop b/e. I modified my scripts, so now, it will remove the stop, take partial, and then replace the stop @ b/e. Here is my working script, enjoy. =================Partial 25%=================== Clear order, sell 1/4, then stop b/e CXL ALLSYMB;ROUTE=MARKET; ROUTE=LIMIT;Share=Pos*.25;Price=Bid-.01;TIF=DAY+;SELL=Send; TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0.1 ACT:SELL STOPPRICE:StopPrice QTY:Share TIF:DAY+; Clear order, buy 1/4, then stop b/e CXL ALLSYMB;ROUTE=MARKET; ROUTE=LIMIT;Share=Pos*.25;Price=Ask+.01;TIF=DAY+;BUY=Send; TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice+0.1 ACT:BUY STOPPRICE:StopPrice QTY:Share TIF:DAY+; =================Partial 50%=================== Clear order, sell 1/2, then stop b/e CXL ALLSYMB;ROUTE=MARKET; ROUTE=LIMIT;Share=Pos*.5;Price=Bid-.01;TIF=DAY+;SELL=Send; TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0.1 ACT:SELL STOPPRICE:StopPrice QTY:Share TIF:DAY+; Clear order, buy 1/2, then stop b/e CXL ALLSYMB;ROUTE=MARKET; ROUTE=LIMIT;Share=Pos*.5;Price=Ask+.01;TIF=DAY+;BUY=Send; TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice+0.1 ACT:BUY STOPPRICE:StopPrice QTY:Share TIF:DAY+; ========== Buy $40 StopPrice=Price-0.01;DefShare=BP*0.97;Price=Ask-Price+0.01;SShare=40/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=Limit;Price= Ask+0.02;TIF=DAY+;BUY=Send;DefShare=400;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0.1 ACT:SELL STOPPRICE:StopPrice QTY:Share TIF:DAY+; Sell $40 StopPrice=Price+0.01;DefShare=BP*0.97;Price=Price-Bid+0.01;SShare=40/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=Limit;Price=Bid-0.02;TIF=DAY+;SELL=Send;DefShare=400;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice+0.1 ACT:BUY STOPPRICE:StopPrice QTY:Share TIF:DAY+;
-
1 pointI just switched to DAS with TDA. I was with IB before. So far, I haven't noticed any major problems with fills. I have had a couple instances of bad slippage, but might have happened anyway regardless of the broker because I got stopped on a breakout. I am trading small size and doing lots of scalps, so the savings in commissions is definitely worth it. When I start increasing my trade size and profits, I will probably switch back to IB. In my first couple weeks, these are the differences I noticed: Need to change all my hotkeys to LIMIT and MARKET instead of SMRTL and SMRTM. No problem. Otherwise, it was really easy to switch from DAS IB to DAS TDA It seems TDA will not allow me to close my position or close part of my position if I have a stop in place. I don't like this because I like to partial and then edit my stop after. Keeping the old stop keeps the little order marker on my the chart showing me visually where my stop was and I can click on my order and just replace my share quantity without redoing the stop. This is not a huge issue, but it is more work for me. I think TDA might be trying to protect people from accidentally forgetting they have a stop order and then get filled the opposite direction without knowing. Personally, I like that IB gives you the freedom to do anything you want even if it might not make sense for most people. When I click to buy/sell, there is a delay in DAS showing my order in the platform...less than one second, but for those milliseconds I wonder if I was filled and what price I was filled. I think it's just the delay in the data showing the platform and not the actual price filled. So for example, if I was going long, I hit buy...the price keeps moving up and after a slight delay I see the trade triangle where I was filled and it is usually better than where the price is currently trading. The delay is a little annoying since I like quick scalps, but it looks like I get filled where I expected. TD free commissions does not apply to every ticker or instrument. Honestly, I haven't figured out which stocks have commission or not, maybe the OTC ones (?). I will research this later since I just got started here. There were also some names I can trade on IB, but not on DAS TD, like JUVAF. Again, I am not sure why (not short locate problem because I was long). Perhaps it was foreign - I don't know. Hope this helps!