Daytrading Platform

#1
For nasdaq I have set hotkeys which help me a lot in being fast. Popular s/w like TT5 or PIB don't offer extensive key-mapping. Can anybody help ?

Keyboard Configuration:

Numeric Keys for changing tier size: 1-100,2-200 etc.
shift+1: 1000, shift+2: 2000 etc.
shift + o: market buy
shift + w: market sell
shift + p: place offer
shift + q: place bid
shift + a: place 10 paisa better bid
shift + l: place 10 paisa better offer
shift + `: cancel last pending order
`: cancel all pending orders
.............
 
#2
:eek: no replies.

I am willing to pay more than 5k pm just as charges for the platform And no, I dont expect even 10% of the feature that Graybox or IB provides.
 

trader111

Active Member
#4
Sounds much useful.

Was looking for something like if I hit a 'buy' key, it buys for me 'tier' shares from best offer; and if not sufficient quantity at offer, fills partial and sends a limit buy order for remaining shares at second best offer.
Still further on Graybox we have that such orders automatically get cancelled after 3 seconds if not filled; and it does not buys me if second best offer is more than 50 paisa expensive (preset range).

A good keyboard always makes things easier. Shall check with it and autohotkey.
 

jdm

Well-Known Member
#5
Sounds much useful.

Was looking for something like if I hit a 'buy' key, it buys for me 'tier' shares from best offer; and if not sufficient quantity at offer, fills partial and sends a limit buy order for remaining shares at second best offer.
Still further on Graybox we have that such orders automatically get cancelled after 3 seconds if not filled; and it does not buys me if second best offer is more than 50 paisa expensive (preset range).

A good keyboard always makes things easier. Shall check with it and autohotkey.
all you have to do is write 2 lines of code. even a excel macro can do the job. just google appactivate & sendkeys.

and yeah, dont know bout graybox (heard about blackbox... the one they have in planes) but nse have provisions which fits your bill, like IOC (Immediate or cancel) and also "all or none" orders.
 

trader111

Active Member
#6
Eh Joy, for a while felt like coming from the stone-age :D

still clueless how the script gonna pick best 5 orders price from the terminal; to save me from manually typing in the price rather use '->' and '<-' keys.

shift + o: market buy
shift + w: market sell
shift + p: place offer
shift + q: place bid
shift + a: place 10 paisa better bid
shift + l: place 10 paisa better offer


Just at market open I have orders placed in 4-5 stocks. If could have a window on screen to monitor their status could be good (tt5 requires the aweful procedure to press F3 then find manually which orders are folating). I mean an additional orders window to the message window that is provided.
 

jdm

Well-Known Member
#7
Eh Joy, for a while felt like coming from the stone-age :D

still clueless how the script gonna pick best 5 orders price from the terminal; to save me from manually typing in the price rather use '->' and '<-' keys.





Just at market open I have orders placed in 4-5 stocks. If could have a window on screen to monitor their status could be good (tt5 requires the aweful procedure to press F3 then find manually which orders are folating). I mean an additional orders window to the message window that is provided.
no stone or star age dear. the answers are all blowing in the air, just like money. just grab them :D :D

p.s. - you can also hire a good programmer. will save u a lot of trouble.
 
#8
all you have to do is write 2 lines of code. even a excel macro can do the job. just google appactivate & sendkeys.
*****
p.s. - you can also hire a good programmer. will save u a lot of trouble.
I have tried sending keys with a macro to PIB, but its bit inconsistent. cant use it for real trading. ref : Automated Trading in PIB

Moreover here is some similar discussion : Sendkeys, Appactivate and inconsistency [Post by Mr.unreliable]



Isnt there any hack to PIB for robust (scriptbased) order placement. It will be worth paying for such script.

Regards.
 

jdm

Well-Known Member
#9
I have tried sending keys with a macro to PIB, but its bit inconsistent. cant use it for real trading. ref : Automated Trading in PIB

Moreover here is some similar discussion : Sendkeys, Appactivate and inconsistency [Post by Mr.unreliable]



Isnt there any hack to PIB for robust (scriptbased) order placement. It will be worth paying for such script.

Regards.
a couple years back i made an app which extensively used sendkeys and appactivate.

andding a simple "True" makes sendkeys work the way it is meant to do.

e.g. - sendkeys <key>, True; //instead of just useing Sendkeys <keys>;

and you are right, sendkeys are not the final solution, but a wayaround. even if one can get the topic/link of pib (hope pib supports dde), a neat dde interface can be built.
 
#10
already tried the way. IMO PIB do not support DDE.

This is a post from another thread.

Well, if your programming language is java i can help you a bit. I am having account with www.icicidirect.com and i am using java program to interact with this site, hence getting market data as well as sending orders (using httpclient from apache and parsing html page).

But before that :
I am struggling to get right algorithm. Can some one chip some idea around this, "how does a day trader take decision" at any instance of time. I have created a small "test bed" that can test any strategy on past six month of data (1 min tick data for nifty stocks from bse).

Here is simple java program

HttpClient httpClient = new HttpClient();
HostConfiguration hostConfiguration = httpClient.getHostConfiguration();
hostConfiguration.setHost("secure.icicidirect.com", 443, "https");
String DATA_URL = "/trading/equity/trading_stock_quote.asp?Symbol=";
String url = DATA_URL + symbol.getSymbol();
PostMethod getMethod = new PostMethod(url);
int statusCode = httpClient.executeMethod(getMethod);
byte[] bytes = getMethod.getResponseBody();
String response = new String(bytes);

now you can parse the html and get data. Similarly you can simulate any post request. e.g. for log in to icici site

String url = "/customer/validlogon.asp?nFile=tradehome";
PostMethod method = new PostMethod(url);
method.addParameter("FML_USR_ID", user);//view source of html page
method.addParameter("FML_USR_USR_PSSWRD", password);
method.addParameter("startin", "1");
byte[] bytes = method.getResponseBody();
Is it any way possible to write such thing for indiabulls website to place orders. as PIB connects to 'trade.indiabulls.c0m' site for the transactions (the same site, where browser based trading is possible.)

I do not have any programming knowledge except some googled vbscripts, thats why the question.

Rergards.
 

Similar threads