Jump to content
Medved Trader Forums
  • 0

New hotkey action request


TraderB
 Share

Question

Hello Jerry,

I place my orders from Level2 with hotkey (send=false) and then using keys to adjust the order and after submit with Buy or Sell without using the mouse. With tab key and cursor keys and select the desired items I can adjust all fields, but this is very slow and I have to be very careful not to miss it.

What if this could be filled by hotkeys?
Your hotkey system is very complex and flexible, I really love it, so I was thinking about how could be incorporated into it.

My suggetion is a new Hotkey Action:  ChangeTicket
This Action could be modify the values when we are in Level2 (or Trade Ticket) window.

There will be new variables:
TicketOrderType
TicketAction
TicketQuantity
TicketLimitPrice  (this already exists)
TicketStopLimitPrice (this already exists)
TicketRouting


When I create a new ChangeTicket Action then all these variables set to default.
If I want to create a hotkey to set the Route to EDGA, I set    
TicketRouting = "EDGA" and leave all other variables to default. When I press the hotkey standing on the level 2 window, the Route field changes to EDGA, everything else remains what it is at that moment.

If I want a hotkey to increase the Quantity field by 200, I set:
TicketQuantity = TicketQuantity + 200
And when I press the hotkey it always increases by 200.

If I want a hotkey to increase the limit price and set the routing at the same time:
TicketLimitPrice = TicketLimitPrice + 0.25
TicketRouting =if TicketLimitPrice>Ask+.05 then 'EDGA' else 'BATS'  

So my first step to press a hotkey which is a regular Order action (which doesn't Send the order), and after that I could use this new feature to tailor the order before submitting without using the mouse.  But possibly omitting the regular order action these ticket actions could be prepare an order itself.

Please, consider my suggestion,
Thank you very much!

Edited by TraderB
Link to comment
Share on other sites

18 answers to this question

Recommended Posts

  • 0

you can do that now with existing hotkey functionality.  Only required fields are Order Type and Action and the action doesn't matter if you are using DROP and explicit buy/sell buttons.  So you can create multiple hotkeys that set different parts of the order. For example:

Hotkey 1:

Action: BUY
OrderType: Limit
Routing: EDGA
 

Hotkey 2:

Action: BUY
OrderType: Limit
Quantity: DefaultQty+0.25
Routing: if TicketLimitPrice>Ask+.05 then 'EDGA' else 'BATS'  

etc...

Link to comment
Share on other sites

  • 0

However, there is a little problem with that solution.

I created 2 hotkeys to increease and decrease the limit price by 0.10 cents. So when I press the arrows, I can move the price by 1 cents, with these hotkeys  by 10 cents.

The hotkey: LimitPrice= TicketLimitPrice+0.1 

It works well until I use a stop order.  I have a separate hotkey to initiate a stop order with limit price. I press it and then I want to modify the ticketlimitprice. But in this case the another hotkey which modifies the limit price set the order type back to normal Limit order overwrite my initial Stop Limit order... That is because I have to set the OrderType in the hotkey configuration.  Recently I wanted to create a stop order but accidentally became a normal order and sold my shares immediately. The same problem with my Route changing hotkey.

In essence, the separate Actions like TradeQty is a cleaner solution, because don't bother with the current order type. 
Maybe the suggested separate action could be a good solution for these. 

What do you think?

 

Edited by TraderB
Link to comment
Share on other sites

  • 0
On 10/24/2022 at 4:32 PM, Jerry Medved said:

emailed you. As for Level II, not yet. right now the order has to be selected or hovered over (on chart), which is not relevant on Level II. Still working on enhancements

Thank you for the extension of ChangeOrder action to work in Level 2. 
It works fine, I have only one interesting phenomenom:

NewPrice:
+1  it works
TicketLimitPrice+0.1  it works
+0.1   for me it doesn't work: Invalid expression message
 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...