Jump to content

kolodziejm

Lifetime Members
  • Content Count

    3
  • Joined

  • Last visited

Posts posted by kolodziejm


  1. So I have tested, thanks for this, one last question:

    I am using the following script to setup stop loss through double click:

    Share=Pos;ROUTE=STOP;StopType=MARKET;StopPrice=Price;TIF=DAY+;Buy=SEND

    Is this correct?

    Why i'm asking its correct because if I set the stop loss using the above HK, and then I try to cover my position using:

    CXL ALLSYMB;Price=ASK+0.05;Price=Round2;Share=Pos;TIF=DAY+;BUY=Send

    It doesnt work, any ideas? I am thinking the double click HK must have an error.


  2. Hi All,

    I have a question regarding hotkeys.

    When I place an order for example going short:

    ROUTE=SMRTL;Share=100;Price=Bid-0.05;TIF=DAY+;SELL=Send

    I then place stop loss through Double click: I then close half my position moving my stop to B/E using HK:

    CXL ALLSYMB;Route=LIMIT;Share=Pos*0.5;Price=Ask+0.05;TIF=DAY+;BUY=Send;ROUTE=STOP;StopType=Market;StopPrice=AvgCost;Share=Pos+share;TIF=GTC;BUY=SEND

    This then sells half my position, however the new order created opens a buy position of 150 shares, how do I make it so it gets 50 shares?

    if I then cancel this order and just want to close out my position with HK:

    ROUTE=SMRTL;Share=Pos;Price=Ask+0.05;TIF=DAY+;BUY=Send

    It doesnt close out the position at market but instead creates a different stop order closer to the stop loss i had previously.

    Can someone  let me know what I am doing wrong? In summary what I'm trying to do is long or short x amount of shares, then double click select my stop loss, if I reach one of my targets I want to cover/sell 50% of my position and bring my stop loss to B/E, if the price continues to go in my direction I would like to close out the rest of my open position at market.

    Can someone help?

    Thanks,

    Mariusz

×
×
  • 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.