Hot Key
Hot Key
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:
Some script may take some parameters. Different parameter may have different function.
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
SetPopOut
This command is for most window which is able to popout.
Config
Popup Configure dialog for current window.
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 ??.
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=
TIF=??
Set the TIF hot key.
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.
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.
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
DataConfig
StudyConfig
AreaConfig
ChartHistory
ZoomIn
ZoomOut
ZoomFit
DataManage
RemoveAllLines
Symbol MSFT
AddStudy STO 3 4
MinuteChart number-of-minutes (e.g. MinuteChart 5)