Newbie here. Just trying to build an android app through .NetStandard / Xamarin stack.
Before starting with actual dev, I need clarifications for the following. Can someone from the Zerodha Team please help?
1) I need to register a redirect url for obtaining request token during login. Should I have a functioning remote website, even for mobile app? Or, can I just pull off a url out of thin air and start using it in my app webview?
2) How can I receive postbacks through websocket? Please point me towards api reference.
3) What would be the best time to get OHLCV data for the day (for next trading day's use)? What is the last time in the day for retrieving full market quotes for the day? Listening to websocket ticks the entire day would obviously be overkill for end-of-day data, right?
1. Yes you can. Use a localhost URL and grab request token while WebView URL matches. 2. Checkout void OnOrderUpdateHandler(Order OrderData); callback of your Kite object.
1) Why even a localhost url? Can't I just use something like "https://xyz.abc.com/" (fictitious) and catch the redirect? Apologize if I sound too naive.
2. Checkout
void OnOrderUpdateHandler(Order OrderData);
callback of your Kite object.3 and 4, @sujith can answer more accurately
Thanks for the quick response.
1) Why even a localhost url? Can't I just use something like "https://xyz.abc.com/" (fictitious) and catch the redirect? Apologize if I sound too naive.
2) Got it.
Is this app for personal use or for mass?
The BOD process starts after mid-night and ends early in the next morning.
The BHAV copy data is updated in the Websocket post BOD process.
This is for personal use only.
So, if I get market quotes at, say, 8:00 am in the morning, can I assume I get the market quotes (OHLCV data as per bhavcopy) of previous trading day?