sujith, what is new quote call url ?
documentation shows this same url which i have used.
can u type the correct url here, if its udpated to new url.
Thanks,
Sourabh.
since last few minutes or hour, the single quote api is not working. it is returning false.
I tried below url
$url = 'https://api.kite.trade/instruments/NSE/INFY?api_key='.$api_key.'&access_token='.$access_token;
Response is
bool(false)
Mult…
Hi Vivek / Kailash,
This is with reference to Kite Bulk Quotes API. (https://kite.trade/docs/connect/v1/#retrieving-quotes-in-bulk)
I noticed that the prices are not accurate and up-to-date in Bulk Quotes API.
Attached below is the snapshot of on…
I was away from the forums for 2 month and i missed this release.
I dont have words to thank for this.
New bulk market quote APIs.
I will try to get this test and integrate as soon as possible. This is what i was exactly looking for.
Thanks a ton …
Sujith, I am already doing that on my web url.
But, my query is if i want order updates directly in my java program, can we do that ?
In documentation, it is mentioned that postback has to be https. So, presently, i m getting postback on my website…
No apologies Vivek, You guys are anyways doing amazing work.....
I am just dying to see BO/CO working.
I already have ready made tools waiting for integration.
Hope to see soon....
Also, I am trying to make product using your Java Streaming API…
Here is my code for KiteConnectUtilityClass
package utility;
import com.neovisionaries.ws.client.WebSocketException;
import com.rainmatter.kiteconnect.KiteConnect;
import com.rainmatter.kitehttp.exceptions.KiteException;
import com.rainmatter.mod…
Sujith,
I tried for the below
KiteConnectUtility.addTokens(53394951); //NICKEL APR
KiteConnectUtility.addTokens(53385735); //CURDE MAY
KiteConnectUtility.addTokens(5633); //ACC
KiteConnectUtility.addTokens(738561); //…
@ramatius I am already doing 30 sec approach.
But, with http request you cannot sent more than 3 request per second. So, there is no efficiency.
I am looking for Streaming data,
Anyways, now i have started on Java API for Streaming Quotes. So, i wi…
Hi sujith,
I was playing with the Java Streaming Code.
I found that today on 26-04-2017 (10:44 am), Only the MCX instruments are getting streaming prices.
I subscribed to NSE and NFO tokens, but not getting any tick price updates.
Can you please c…
@joy
Can i have exact URL or website for Azure
Did you meant https://azure.microsoft.com/en-us/pricing/ ?
If yes, this is microsoft Cloud product, will it allow Java uploading ?
Sorry, lazy to check all details, but if u already did it, ur analys…
Hey Sujith,
I check with GAE, it is not allowed to listen socket. So, i think i cannot deploy it on GAE.
Check below
----------------------
Although App Engine supports sockets, there are certain limitations and behaviors you need to be aware of …
How Kailash ???
what do u mean by porting the libraries?
sorry, but i m not so good in socket programming.
my server is in US. my requirement is i should get tick by tick data on that server. (as simple as that)
Now, my problem is technically i m no…
Sujith,
The fields are added back, but the values in realisedPnl and UnRealised PNL is not coming as correct.
If we book profit once and when we enter the trade again in the same instrument, the realised profit becomes zero and unrealised profit s…
This is not the correct workaround. It does not give correct results when positions are open. Please dont use it. Lets wait for the patch from IT team.
I did my workaround using the below code.
If anyone facing the same issue, can use the below code (modify it as per ur prog language)
function getUnrealisedProfit($openPosition){
if(!isset($openPosition["unrealised"])){
if($openPosition["netQu…
I did my workaround using the below code.
If anyone facing the same issue, can use the below code (modify it as per ur prog language)
function getUnrealisedProfit($openPosition){
if(!isset($openPosition["unrealised"])){
if($openPosition["netQu…
Thanks Sujith for the reply.
Also, to bring to your notice, most of the fields in JSON response of Positions now have word "day_" prefixed.
For example,
"m2m" - >"day_m2m"
"buy_price" - > "day_buy_price"
"buy_quantity" -> "day_buy_quanti…
Vivek,
Please download the word document at
http://pivottrading.co.in/uploads/zerodha-error-kite.docx
It contains 4 screenshot.
1st - My product with Buy/Sell button.
2dn - Kite Connect login page
3rd - 2FA page
4th - Blank page (instead of order …
Vivek,
Please download the word document at
http://pivottrading.co.in/uploads/zerodha-error-kite.docx
It contains 4 screenshot.
1st - My product with Buy/Sell button.
2dn - Kite Connect login page
3rd - 2FA page
4th - Blank page (instead of order …
I just did a sanity run on TestApp today for the first time. And its just superrrrrrrrrrrrbbbbbbbbbbbbbbb.
Amazing guys........
Will now dig more into it. This is just amazing.........!!!!
You guys are going to change the way trading works in Ind…
Hi Guys,
The issue still exists.
I have tried to replicate this in below youtube video
Please check at your end. Problem comes only in Mobile browsers.
Thanks,
Sourabh.
Even, I would request that. Currently, I do this with help of google finance API. But, google does not provide the functions for Futures Data.
If you can publish Futures/Instruments data for 20-50 scrips in one single shot, it would be of great hel…
ohhhhh. No worries. As of now i have handled it using the finished callback method.But still in few cases, it has problem.
A simple api function like clear or reset should be sufficient.
Thanks,
Sourabh.
@vishnus
Yes you are correct. But thats how my requirement is. It cannot be solved with the help of individual buttons.
The page gets just too slow in loading when individual buttons are used.
removing should be feasible. its just matter of calli…
@sujith
Yes exactly thats what i want, before creating or placing another order, i want to remove all existing entries from the kite object. What is the function to do so ?
Here is the scenarios.
I have 2 scrips (ICICIBANK & AXISBANK)
There a…
The problem that i am facing is, I add order dynamically using javascript. - all good till here.
Then, i click on some other button for trade. Again, i add order, but i want to clear that first order from Kite object.
how to clear or reset kite ob…
@vivek Thanks Vivek. Do let know, what is the limit that you are setting, so accordingly i will make changes in my code.
And you can always plan for scalability for such issues. In future, I will send request with much more volume and number of req…
Hey dude, you should increase this. Atleast for order cancellation and order placement, please dont keep any limit.
Vivek/Kailash, I think we should increase the limit for order cancellation.
If i have few orders pending and my program identifies …
As far as my understanding goes, Kite connect api's are meant for pure programmers who do their raw level coding.
For Amibroker integration.i think Pi bridge is correct option. Still Kailash and Vivek may tell better.
@vivek By non-integer you mean the decimal values passed in stoploss was creating the problem ?
Great to know that it has been fixed. Will run my algo again tommorow.
Please confirm my above understanding.
Hi Sujith,
There are several orders. I am just sharing one order details for simplicity
Reference numbers:
BO Order ID: 161122000024855
Child SL order ID: 161122000045885
Request sent to zerodha using below url
api_key=********&access_token=*…
Hey Sujith,
I know that much basic that if position is in loss, the trailing stoploss does not come into picture.
As per the bracket order and trailing SL concept, if the prices move in your trade direction, then the stoploss also keeps moving.
M…
Yes. Thanks. This solves the purpose. Also, I would request, if you can provide tag in positions query as well to get the positions based on specific tag. That would be another great help and feature in Kite Connect API.
ohhh ok. Then I think your API Documentation needs to be updated .
https://kite.trade/docs/connect/v1/#retrieving-an-individual-order
It shows that parent_order_id will also be returned.
However, I think from trading perspective, it should retur…
Sujith,
Yes the parent order was executed, that is why we have this order.
When doing complete orders query, I get proper parent id (below is the extract from full orders query)
{"exchange_order_id": "1100000000544352", "disclosed_quantity": 1, "…