0% found this document useful (0 votes)
35 views8 pages

Hot Key

Uploaded by

kakembogift3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
35 views8 pages

Hot Key

Uploaded by

kakembogift3
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

DAS Command Script and Hot Key User Manual

Last modify: 02/14/2006

Confidential Notice: This user manual is copy-written. The intended usage is for
software reference purpose by the customers of DASTrader and further use of this
reference does not entitle or permit anyone to copy or reverse engineer the script. If you
do not agree to these terms, please stop here and delete this document from you
computer.

Change log:
11/25: Add the PostOnly, TogOrdEntry script.

Introduction:

For the script command, we have two kinds of scripts:


1: Global script --- this script will be available any where in this software. For example,
script command Login will popup login window anywhere.
2: Local script --- this script will only be available in some window. For example,
Price=Price+0.01 is only available to current active Level 2 window. It will increase the
price by 1 cent. This script will take no effect if no Level 2 window is activated.

Some script may take some parameters. Different parameter may have different function.

Multiple scripts can be combined together. For example:


Route=ARCAL;NoRR=Y;SELL
This is 3 script commands separated by semi-comma(;). These three commands will do
the following things:
1. Set the route to ARCA limit order
2. Set do not rout out flag to Yes
3. Send the sell order.

If you don’t want to go over all the details of this manual, the following link will bring
you to these headings:
Some useful scripts
Script for Montage trading window
Script for Chart Window

How to use the command script


You can use these command script through the toolbar or the hotkey.
1: Use in the tool bar
Right click the toolbar, it will popup the following menu options:

Click New to add a new tool bar item.


Click Delete to delete the current toolbar item.
Click Config to popup the Config button toolbar. See Figure below:

2: Use with Hot Key


Go to menu and select Setup then Hot Key. This will popup Hot Key configure
window.
You can then define the hot key in the Hot Key configure window.

Global Command Script:


NewWindow
Available Parameters:
Montage, TimeSale, Chart, Mail
This script will open some window by parameters:
Example:
NewWindow Montage
will open an new Montage window.
NewWindow Mail
will open mail window.
ShowAccount accountnumber
Bring up the account summary window by account number:
Example:
ShowAccount 30023456
Will bring account summary for account 30023456
Show Statistic
Bring up the statistic window.
Login
Bring up Login window.

SetPopOut
This command is for most window which is able to popout.

SetPopOut Y will pop window out;


SetPopOut N Will put the popup window to MDI child window.
SetPopOut will switch window status between PopOut and MDI Child.

Config
Popup Configure dialog for current window.

Local Hot key For Montage Level2 Trading window:


Note: the ??? in the script is the number you want to put in your script.

BUY: Send Buy command


SELL: Send Sell command. Automatically go short if don’t have enough shares.
Price= ??? Set the price in the price box.
Bid: The Level1 Bid price;
Ask: the Level1 Ask price;
Bid+??? The Level 1 Bid +??? Where ??? is the dollar
Ask+??? The level 1 Ask +???
L2Bid+??? The Best Bid price in Level2
L2Ask+??? The Best Ask price in Level2;
ISBBid+??? The Island BOOK Best Bid price in Level2
ISBAsk+??? The Island BOOK Best Ask price in Level2;

Price+??? Current price +???


Last+??? The last trade price + ???
??? the exact price for this order.
[none] Clear the price box.
Share=??? Set the share in the share box
Pos: The Current position;
Share+??? The current share increase ??? or decrease ???
DEFSHARE+??? Set the share as default share, and incress by ???
??? the exact share
SShare=??? Set the share in the Show Shares box (reserve order)
SShare+??? The current share increase ??? or decrease ???
??? the exact share
Route=??? Change the Route to ???
CXL: Cancel last trade.
CXL ALL: Cancel All the open orders
CXL ALL BUY will cancel all the buy orders
CXL ALL SELL will cancel all sell orders
CXL ALLSYMB: Cancel all the orders that have same symbol In Lv2 window.
CXL ALLSYMB BUY will cancel all buy orders of the same symbol in Level 2
window
CXL ALLSYMB SELL will cancel all sell orders of the same symbol in Level 2
window
CXL LAST: Cancel the last new order. (Keeps cancel live until no new order is entered.
Once the order has been cancelled, it is no longer a new order).
CXL FIRST: Cancel the first new order. (Keeps cancel live until no new order. Once the
order has been cancelled, it is no longer a new order.).
CXL LASTSYMB: Cancel the last new order of same symbol in the level 2 window.
CXL FIRSTSYMB: Cancel the first new order of same symbol in the level 2 window.

SwitchTWnd: Switch Trading window;


NoRR=?
NoRR=Y, Check the No ReReoute box.
NoRR=N, Uncheck the No ReRRoute Box.
NoD+=?
NoD+=Y, Check the No Direct+ box.
NoD+=N, Uncheck the No Direct+ Box.
TMP:
Set order template.
RefreshLv2:
Refresh the level 2 quotes.

AUTODEF=BUY
AUTODEF=SELL
Automatically default the share amount to the remaining order amount. That is ,if
my default shares are set to 1000 and I’m 560 long on a partial, when I hit sell the
share amount should automatically be for 560 shares, not 1000. (This currently
happens most times but not all times) Most importantly, the default should
change to position only on the closing side of the trade (like it currently does).
For example, if you want to buy 1000 shares long and you are bidding for it, your
bid gets hit for 300 shares and the price moves away from you but you want to hit
the ask to top up your shares to your desired 1000. Your default shares on the buy
side should be 700 not 300. So that you can top your order up to your default
without manually changing it in your box.
Put AUTODEF=BUY before the buy hot key. And put AUTODEF=SELL before
the sell hot key.
ShareCap=??
Set the share limit box. In the trading window, there is a box for OverFill
protection. If that box has a value, auto-cancel the pending order when fill is
achieved and the position reach this amount.
Some customer may want to put a lot of orders in different market place, as soon
as some of the shares are filled and shares of this position reaches the ShareCap
value, the system will automatically cancel the remaining order.

TogSShare=??
Toggle the Show share (reserve order). If the SShare is not empty, then it set it as
empty, else set the SShare as ??.

DefShare=??? Set the Default share to ???


DefShare+??? The current Default share + ???
??? the exact Default share
Note: this command just change the default share temporary and will not save it.
If you want to save it, do it in normal way.
Also if you are using the Global Default, this hot key will change the global
default. Which will affect the other trading window using the same Order template.

PANIC Cancel all the open orders and sends market order to clear the positions.

OrdPrepare=Y or N or T:
Y: Set to prepare order status.
N: Clear the prepare order status;
T: Toggle the prepare order status;

StopType=
StopPrice=
TrailPrice=

Pref= preference route.


This is the hot key for Preference. For INET, it is the Rash strategies. Check the
following link to find the detail of INET Rash settings.
http://www.nasdaqtrader.com/trader/tradingservices/productservices/productdescriptions/
inet/rash_strategy.pdf

http:// website URL


This hot key will open Internet Explorer and direct you to any web site. If the
URL has %SYMB%, it will be replaced as current symbol in the level 2.
For example, you can define hot key like this:
“http://finance.yahoo.com/q/pr?s=%SYMB%”
When you activate this hot key, you will get to the company profile form in yahoo
finance.
It is not necessary to use yahoo to get your company profile. You can use any of
your favorite web site to get your information.

REPLACE Send Replace command.


Use this command to replace order.

TIF=??
Set the TIF hot key.

BoxPosition, Toggle the Box position enable to True or false.


BoxPosition=Y, Set the Box position enable
BoxPosition=N, Disable Box position

TogOrdEntry for Montage window, will swith the order entry on or off, if the orderentry
window is not visible, just make it visible, if order entry window is visible, then hide the
order entry window.

PostOnly, Toggle the order post only


PostOnly=Y, Set the post only on
PostOnly=N, Set the post only off;

FOCUS Set the input focus to certain window contrl: you can type in direct when you
got focus.
FOCUS Share set the input focus to share box.
FOCUS SShare set the input focus to show share box.
FOCUS Price set the input focus to Price box.
FOCUS BUY set the input focus to BUY button.
FOCUS SELL set the input focus to SELL button.
FOCUS CXL set the input focus to SELL button.
FOCUS RPL set the input focus to SELL button.

NOTE: When you set the stack order, do not change price when switching routes. You
need to configure it the way it is done through the Setup menu.
Checking does not change the Price and the constant shares.

Trades and Orders Window Hot Key:

ClearFilter:
Clear the filter for the Trades Window.
SetFilter
Parameters:
Symbol [symbol]
Status [Open|Canceled]
Route [route]
Token [ClientOrderID]
Branch [Branch]
Account [account number]
Trader [trader logon]
Category [|Real|Training]
Side [Buy|Sell]
DoFilter:
After you set all the filter or ClearFilter, you can use this command to enable this
filter.

For example:
Following script will let the trading window only show MSFT Buy Trades.
ClearFilter;SetFilter Symbol MSFT;SetFilter Buy;DoFilter

Local Hot key apply to chart window:


Config

DataConfig

StudyConfig

AreaConfig

ChartHistory

ZoomIn

ZoomOut

ZoomFit

Print

DataManage

RemoveAllLines

Symbol MSFT

AddStudy STO 3 4
MinuteChart number-of-minutes (e.g. MinuteChart 5)

DayChart number-of-days/weeks/months/years unit


examples:
DayChart 1d
DayChart 1D
DayChart 1w
DayChart 1m
DayChart 1y

Some Useful scripts.

BUY Stop Trailing for 5 cents.


Route=STOP;StopType=Trailing;TrailPrice=0.05;BUY

Find the profile for the current symbol in Yahoo finance.


http://finance.yahoo.com/q/pr?s=%SYMB%

You might also like