@sujith
PLEASE UPDATE DOCUMENTATIONS FOR API
SOME PPL HAVE A CUSTOM IMPLEMENTATION AND WE FACE HUGE ISSUE TO SOLVE PROBLEMS WHEN THEY ARISE.
AND HOW TO GET BSE INDICES ??
THANKS.
I got the solution the format of
packet is
struct QuoteModeIndex
{
public uint Instrumenttocken; //4 bytes
public uint Ltp; //4 byte
public uint Highprice;
public uint Lowprice;
pu…
@sujith in this https://kite.trade/docs/connect/v1/#retrieving-market-quotes here we get only 5 fields [LTP] [PerChg] [NetChange] [Open] [Close] but no high low FOR INDICES AND ALL THE DATA FOR STOCKS ,ETC
IF U WANT ILL POST THE RESPONSE JASON ,
…
by quote we are refurring to this https://kite.trade/docs/connect/v1/#retrieving-market-quotes(here we get only 5 fields [LTP] [PerChg] [NetChange] [Open] [Close] but no high low)
and FYI websocket quote mode check this https://kite.trade/docs/c…
need nifty 50 data in full mode format with irrelevant fields as zero.
also we are not getting india vix data by calling it via "Retrieving market quotes".
Hi @trader007 ,
Im not that good in python , but there will always be someone who has faced a problem like yours in such a popular language like python(use text file as db ,sql also works fine and gives you greater flexibility),my advice at this po…
Hi @trader007 ,
Im not that good in python , but there will always be someone who has faced a problem like yours in such a popular language like python(use text file as db ,sql also works fine and gives you greater flexibility),my advice at this po…
@trader007 the granularity on historical ApI is of 1 min ,so if u want to use indicators like PVT(Price volume trend),or VWAP,or market profile visualization which really work well on tick data(or atleast one sec data) you will have to store the tic…
@Nawinck check out my implementation here
https://github.com/apurvaChaudhari/KiteCore/blob/master/Core/KiteStream.cs
look at public List Getpackets()
I hope it helps you .
hi @trader007 It depends on your time horizon , if trading intraday with time horizon of 1 day u can save the ticks to calculate indicators othervise u will have to subcribe to the historical API and feed data to library to get the outputs. It real…
hi @amitsingh ,
im sorry for replying late ,have been very sick for the last week, you have to subcribe to historical data .
B4 it was free i guess ,my lib includes calls for it but unless you subcribe ,it will not allow you to make the call.if any …
hi @ramangoswami
Check this out This will help you
http://www.codeproject.com/Articles/3511/Exposing-NET-Components-to-COM
or
http://stackoverflow.com/questions/23368008/com-enabled-dll
Hi,
@Ganesh Its good to know that people are able to draw value from my work .It really started out as a project for my personal framework.The reason its so basic is that I really wanted it to be configurable and to learn from the community of progr…
the code is in c# but you should get it
if ((DateTime.Now.TimeOfDay > DataHelpers.RoundUp(starttym, TimeSpan.FromMinutes(checktime))))
//|| !data)
{
starttym = DateTime.Now.TimeOfDay;
priceprev = price;
price = Conver…
you can use zerodhas official python library - https://github.com/rainmattertech/pykiteconnect
I made a library in c# you can check it out here -https://github.com/apurvaChaudhari/KiteCore
1) yes
2)yes
3)you have to write out your trading plan and implement it.This may involve many things.
If you like you can post a simple buy sell strategy ill tell you the steps that you can take.
Hey,
You can emulate this in two ways(for live market testing)(for backtesting strategies you can use use excel or custom program in any programming language to test logic of the strategy)
1)Use library and comment your buy and sell signals(just pr…
Hey,
What do you want to test in sand box ??
You can emulate this in two ways
1)Use library and comment your buy and sell signals.All other things can be tested by doing this in market hours
2)wait for mock exchange day then you can test your comple…
I use this function to get the check sum
whis is same as tejashree
private static string Sha256(string password)
{
var crypt = new SHA256Managed();
var hash = new StringBuilder();
if (password != null)…
Hi,
Kailash I have developed a complete ( all features + websocket implementation +TA lib indicators included) port on C#, but its a bit rough ,if zerodha team is willing to help refine it and give me credit I will share it.
use-->
check for BitConverter.IsLittleEndian first
then-->
char[] b = new char[4];
Array.Copy(a, 0, b, 0, 4);
a = source array
0 = start index in source array
b = destination array
0 = start index in destination array
4 = …
NO,i had requested full mode data for 2 tickers (sorry for not mentioning earlier) .So i should only get 164 bytes +164 bytes + 2+2+2 and which pkt is 15 bytes??
If mode is ltp then the bytes should be 2+2+8=12
for any one who views this post,
you will need to poll the heartbeat using timer(timeout 3-5 sec) and re initiate connection if failure of connection ,after that u will need to re subscribe to the tickers(at least in my case).
this is part of response string which i get wen i request access token.
product=[
"BO",
"CO",
"CNC",
"MIS",
"NRML"
]
user_id=RR4388
order_type=[
"LIMIT",
"MARKET",
"SL",
"SL-M"
]
exchange=[
"NFO",
"MCX",
"CDS"
]
kite also se…