below is the error log:
com.neovisionaries.ws.client.OpeningHandshakeException: The status code of the opening handshake response is not '101 Switching Protocols'. The status line is: HTTP/1.1 400 Bad Request
at com.neovisionaries.ws.client.Handsh…
i am creating tickerProvider object as below:
tickerProvider = new KiteTicker(kiteConnect.getUserId(), kiteConnect.getAccessToken(), kiteConnect.getApiKey(), "wss://websocket.kite.trade/v3");
Hi @sujith
I am facing same problem today also.
getOHLC() show incorrect Close price at 8.45 AM
It shows close price of 15th Nov instead of 16th Nov
PEL token: 617473 LTP: 2575.85 Open: 2563.0 High: 2598.0 Low: 2563.0 Close: 2566.4
COLPAL token: …
Sir, I am not talking about Day's candle.
I am asking about return value of getOHLC API during the DAY.
What will be the OHLC values returned by getOHLC API during day. Is it based on tick data or Bhav copy?
My original question was why there is di…
If you request for OHLC before that then it will return OHLC of the tick data.
A simple question, if this the case then why getOHLC() API has returned open=3270.05 instead of 3273.95? I called API at 9.30 AM on 31-OCT-2017
if you want I can give yo…
It will return tick data and OHLC data is of the day. bhav copy is generated at the end of the day. During the day it will return tick data.
No, for the Bajaj-Auto, I got below response at around 31-OCT-2017 9.30 AM
Open: 3270.05 High: 3285.95 Low: …
Hi @sujith Thanks for reply
I understood that this difference is because of difference between bhav copy and actual tick data.
Please confirm on below:
1. getOHLC() method returns data using bhav copy, right?
2. Is it possible to get OHLC based o…
So as of now when we receive postback, filled_quantity will be equal to quantity and unfilled_quantity, pending_quantity will be always zero untill you release next update, right?
Btw what is probable ETA for postback for each status update?
If postback is sent only when full order is completed then what is importance of filled_quantity, pendind_quantity and unfilled_quantity?
@sujith could you please elaborate on these 3 fields?
Please make pistback url empty while reactivating it. Ill change it later.
I have changed the postback url.
Please let me know if this can't be done then ill re configure old postback url
Hi,
the above issue is solved but sometime I get below error while connecting to websocket:
com.neovisionaries.ws.client.WebSocketException: Failed to send an opening handshake request to the server.
at com.neovisionaries.ws.client.WebSocket.write…
Hi,
I have changed my code as you suggested but still facing the same error. See the below updated code. Please let me know any change required:
public void tickerUsage(KiteConnect kiteconnect) throws IOException, WebSocketException {
try
…