Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Tick by tick data clarification required-Require OHLCV data for each tick and trade level data #167

Open
GauravSuryavanshi2020 opened this issue Dec 9, 2024 · 3 comments

Comments

@GauravSuryavanshi2020
Copy link

I am currently using breeze API to get tick data to get tick information related to the Futures and Options that I am interested in.

I am subscribing to the session by using below codes :

   breeze = BreezeConnect(api_key="MyAPIKey")

    [logging.info](http://logging.info/)("https://api.icicidirect.com/apiuser/login?api_key="+urllib.parse.quote_plus("MyAPIKey))
    breeze.generate_session(api_secret="MyAPISecret", session_token="SessionToken")

    stock_tokens = ["4.1!35028","4.1!47721"]

Attributes that I am fetching are Open, High , Low, Close, ltq (Last Traded Quantity), bPrice, bQty, sPrice, sQty. For attribute Quotes I get value Quotes Data. But the data that I get is not the open, high, low, close, ltq of the ticker. Instead what I get is for the particular ticker on the particular date that I use, whatever is the open, high, low, close untill that time that is given. This is not what I am looking for. What I want is for each ticker I want the open, high, low , close , ltq(What I want is volume traded for that ticker) for that time instance of the ticker.

Could you please provide proper descriptions of these attributes

The tick by tick attributes and descriptions given on the below page are not proper descriptions. Could you please provide more appropriate descriptions if the attributes :

https://api.icicidirect.com/breezeapi/documents/index.html?python#tick-by-tick-market-data

Also, I want the traded level and tick level data for each trade that happens. I want the open , high, low, close, volume of each trade that happens. How can I get these details ?

Category | Value -- | -- HTTP Request | GET URL | https://livestream.icicidirect.com/ Symbol Stock | Token Value Open | Open Price Last | Last Price high | High Price Low | Low Price change | change bPrice | Buy Price bQty | Buy Quantity sPrice | Selling Price sQty | Selling Quantity ltq | Last Traded Quantity avgPrice | Average Price quotes | Quotes ttq | Total Traded Quantity totalBuyQt | Total Buy Quantity totalSellQt | Total Sell Quantity ttv | Total Traded Volume trend | trend lowerCktLM Lower | Circuit Limit upperCktLM | Upper Circuit Limit ltt | Last Traded Time close Close | Price exchange | Exchange stock_name | Stock Name
@Idirect-Tech
Copy link
Owner

Idirect-Tech commented Dec 9, 2024 via email

@GauravSuryavanshi2020
Copy link
Author

GauravSuryavanshi2020 commented Dec 10, 2024 via email

@Idirect-Tech
Copy link
Owner

Idirect-Tech commented Dec 10, 2024 via email

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

No branches or pull requests

2 participants