zerodha / dotnetkiteconnect

.NET library for Kite connect
MIT License
78 stars 67 forks source link

Unable to get Quote Change value #2

Closed ShlokC closed 6 years ago

ShlokC commented 6 years ago

Could you update the GetQuote() to return change and change_percent? current GetQuote() method returns Change = data["net_change"]

As per kite3 documentation net_change(float) | The absolute change from yesterday's close to last traded price

change(float) | Absolute change from the last traded price to last close price

or could you confirm that these values are same?

ajinasokan commented 6 years ago

We have removed change percentage from kite3 APIs. That was a mistake in the docs. We will fix that. And changepercentage = (ltp - closeprice) / closeprice * 100.

ShlokC commented 6 years ago

could you confirm that the values of net_change and change are same?

ajinasokan commented 6 years ago

Yes, they are.