Jump to content

Jinagt

Lifetime Members
  • Content Count

    12
  • Joined

  • Last visited

  • Days Won

    2

Posts posted by Jinagt


  1. Quote
    18 hours ago, KyleK29 said:

    Since the way you suggested is a pair hotkey (one for entry, and one for taking profit). You can use Price=AvgCost; at the beginning of the take-profit hotkey instead .. that will get the exact price value without having to worry about the montage keeping it.

    Quote
    On 12/4/2020 at 9:09 PM, JasonH said:

    Price=Price-Bid; Share=100/Price; Price=Bid-.10; TIF=DAY+; ROUTE=LIMIT; SELL=Send;

     

    Hi Jason and Kyle Thank you for the help

    I tried the Partial hotkey  today Price=AvgCost; Share=100/Price; Price=Bid-.10; TIF=DAY+; ROUTE=LIMIT; SELL=Send; but it only sold 2 number of shares.

     


  2. 55 minutes ago, JasonH said:

    Jina, what problems did you run into? The hotkeys I mentioned worked for me today in sim.

    Hi Jason, I tried the hotkey today with JMIA in sim, At the time  I am hitting the Hotkey my P&L was $175 but it saying can't get the valid price. I used Kyle's  $ risk hotkey for entry and used yours's for partial is that the reason I got error message?


  3. 1 hour ago, KyleK29 said:

    Hi Jina,

    Regarding the chat message this morning. Are you trying to do this on-the-fly (e.g. the price moves in your favor and you want it to dynamically calculate the shares needed to sell to return 1-R in profit at the current price area when you hit the hotkey) or as a pending order in the system?

    The latter method is way easier and a few scripts exist for this ... I haven't released these as they were pending DAS bug fixes and are complex to configure, I need to test them in the latest DAS production version.

     

     

     

     

     

    Hi Kyle, I am a reversal trader. Some times I enter 2 trades at the same time and I couldn't keep up with the 2 at the same time, So I would like to take a partial at certain $ amount($100) when my Unrealized P&L is more than $100 and keep the rest of the shares for catching further move. No relation to my R.
    Thank you for your Time and effort to help me.
    Jina 


  4. 14 minutes ago, JasonH said:

    FYI, this hotkey will fail if you don't have >$100 in Unrealized P&L. Since it approximates entry/exit prices using best Bid/Ask prices, it may even fail in some cases around $100. So don't delete your other hotkeys in case that happens!

    Thank You Jason, I really appreciate your help. I will test the Hotkey in sim on Monday and let you know.


  5. Hi Kyle,

    ShareCap=1000;StopPrice=Price-0;DefShare=BP*0.925;Price=Ask-Price+0.00;SShare=50/Price;Share=DefShare-SShare;DefShare=DefShare+SShare;SShare=Share;Sshare=DefShare-SShare;Share=0.5*SShare;TogSShare;ROUTE=SMRTL;Price= Ask+0.05;TIF=DAY+;BUY=Send;DefShare=200;TriggerOrder=RT:STOP STOPTYPE:MARKET PX:StopPrice-0.05 ACT:SELL STOPPRICE:StopPrice QTY:Pos TIF:DAY+;

    I tried this hotkey in sim for placing a long order with $50 stoploss also a maximum number of shares is 1000, but It bought more than 1000. Can you please check is there anything missing in this script 

    Thank you for creating these amazing hotkeys

    Jina

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.