@sujith here is my test code
c();
function c () {
var tok3="wss://ws.kite.trade?api_key=xxxxxx&access_token=xxxxxxxxx";
var ws = new WebSocket(tok3);
ws.binaryType = 'arraybuffer';
ws.onopen = function(evt)
{
//var message = {"a": "subscrib…
thanks for the code. error was due to sessions conflict btwn v1 and v3.
but even after different successful token exchange.
i got error while holdings call.
curl :
https://api.kite.trade/portfolio/holdings/?api_key=myapi&access_token=my access …
i am generate super trend for 250 scripts and trigger buy and sell signal from it.
with auto averaging, mass buying, mass selling, alert message to my mobile with pushbullet,
remote execution of various functions using google drive... lot more to d…
Hi,
@sujith
can you please add master table like instrument table for master field list with field type and length
i.e.
NAME TYPE
average_price N(10,3)
buy_m2m N(10,3)
buy_price N(10,3)
tradingsymbole C(60)
justification it self confirms OMS was or is not mature, POC/UAT not carried out in for extreme scenarios? what's the point of doing RCA in live system where real money is involved.....
I stoped my code for now... lol think my code passed 10buy.... than u changed it to 1 now on next sell my code would hv passed 20 to nullify my first buy and to creat new sell .. where it would hv ended... risky....isn't it?
Checked it ... this is realy nasty I passed 10qty for crudemini and order executed from my code. Now u change ur environment so hve to pass 1lot. Callss for my code revision .. u btr be not doing in live market .....
ok, so for placing order I have to pass 100EA for 1Lot which will convert to 1lot in depth.......
why there is difference in order quantity and depth quantity?
just for curiosity.. asking
Better be update change log and alert mail to existing clients... Also check documentation and actual response structure both are diffrent for example quotes .....
Ok, your answer is defered to @Kailash answer. My machine times are auto synced with google server. If api service timing defered, include function to sync timing with api server.
i tried websocket toooo, but many time faced that socket giving err…
HI @Kailash
please find my fox-pro code to request, just to create response log..
with log file and response in text files generated at every minute+1second
as i i said in previous post i am getting response late by 1minute+1second or even more …
no it is not, getting response late by 1minute and 1second even more.
Say 10:04:01AM.
Will send you my request and response log by night...
For deciding timing i tried test on 10seconds increment... too
So finally i am requesting every minute +1 sec…
Simple wayout is hit ur login page once and from the same page fopen() fwrite some text file, where u save ur token. and get it from that taxt file to yoyr app....
This is risky... What will happen if actual orders are firing? Luckily i was testing for commodity....?
Thinking of going live soon... How can i get assurances this wont happen in live market.... Request to post or sms email alert when such th…
I m doing it. Just use websocket webpage on localhost, and get tick data.
My sample foxpro code is here.
I am not professional developer. Kaam chal jata hai...... ;/
appIE = Createobject("InternetExplorer.Application")
appIE.V…
I AM GETING PRICE WITHOUT DECIMAL
i.e. 302930 in place of 3029.30
please help
mycode is
console.log("WebSocket is supported by your Browser!");
// Let us open a web socket
var ws = new Web…