View Categories

How to use hotkeys for single, Trigger and OCO orders

3 min read

To place single orders, such as limit/market buy/sells or stop orders using hotkeys on DAS, users can use our Hotkey Script Builder to help create hotkey scripts. To create a hotkey for these types of orders, go to “Setup”, then “Hotkeys/Scripts”, then “Hotkeys”. This window will popup. Press “Add New Item”

Single Order hotkeys

To build single orders, users can use the “Order script wizard”. Below is an example of a buy limit order. Note that every “=” in the script is where you can customize your order in the boxes on the bottom. Users can include the share and symbol price if they prefer or enter those into the montage so that this hotkey is applicable to many different symbols and share sizes. This script will be built after selecting “Build Script”. (Note: I separated each line to be more readable).

*Note that the “BUY=Send” means that the order will immediately be sent after you use this hotkey. If you would just like to load the order information into the montage, then set it as “BUY=Load”, which will require you to press “Enter” into the montage after executing the hotkey.  

Further note that any field that is not populated will obtain the information from the order box on the montage.

Once the script is created, assign a hotkey to it, in this case I chose “Ctrl + A”. Select the “Commit” button at the bottom of the window and then “Ok” on the previous window to save.

See below for how to setup a stop range order in the montage, and you will see that this is significantly slower if you want to consistently send these types of orders compared to creating a hotkey to automatically send an order each time.

Trigger Order hotkeys

Trigger Orders are secondary orders that are sent once the primary (first order) has been executed.  Creating a Trigger Order hotkey script is a two step process. First, you would create the secondary order (Trigger Order portion) script. Once that is completed you would then create the primary order portion to add to the remainder of the script.

To create the Trigger Order (secondary order) portion of the script, navigate to the “TriggerOrder wizard” button and fill in the order you want triggered after the primary order fills. Once the fields are configured to your order, hit Build Script.

Next, you will add the primary order to the Trigger Order script. Keep the Trigger Order showing in the Script field in tact and Navigate to the Order Script Wizard. Then, you will add in the details for the primary order as outlined in the instructions for the single order noted earlier.  Once you have filled in the fields for the primary order, you will hit Build Script to add on the primary portion of the script to the Trigger Order.

Once the script is created, assign a hotkey to it and select the “Commit” button at the bottom of the window and then “Ok” on the previous window to save.

Order Cancels Order (OCO) hotkey script

If you want to see an example for an OCO order made with hotkeys, refer to our OCO Order Guide or  video here.

Powered by BetterDocs