Skip to content
This repository has been archived by the owner on Jun 5, 2023. It is now read-only.

Question: What are the different segment values? #42

Open
yudistrange opened this issue Jan 13, 2023 · 0 comments
Open

Question: What are the different segment values? #42

yudistrange opened this issue Jan 13, 2023 · 0 comments

Comments

@yudistrange
Copy link

We are calculating the segment in the following snippet.

let segment = instrument_token & 0xFF;

From digging further, it seems like segment is used to differentiate between an equity quote vs an index quote vs a currency quote.

Is that the correct understanding? Can someone also elaborate on what values can segment take and what they represent.
Also I couldn't find this information on the zerodha's kite trade API documentation page. Please point me to the right place.

Thank you!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant