The New feature of Full market depth in dhan is great. However, for my algo needs, I want to have a display on my terminal the Bid (min) and Ask (max) values.
Example: if Stock A LTP is 100, the BUILD UP at BID (min) may be at 90, and Ask (max) may be at 102. I want to display BID (min) of 90 and ask (max) of 102 through my algo. what command needs to be used. please do let me know. This would be of help in getting to know the trade direction for intraday. Basically, i should get the Spread of Depth on my algo terminal, is the requirement.
BIOCON is trading at LTP : 390.6, Max/Highest Ask value is at 395, and Min/Lowest Bid value is at 385.7 I want these values to be captured on my terminal. Also, the Total Buy Quantity and Total Sell Quantity displayed on terminal doesnot match with the BID/ASK display from tv.dhan.co . Please suggest.
Here , Biocon is trading at LTP 390… as per the BID/ASK menu, there are several BIDS below the ltp and several ASK above the ltp. i want to capture Lowest BID from this menu and the highest ASK from this menu in real time in my algo.
Additionally, the Total BID/BUY Quantity and Total ASK/SELL Quantity should be captured in realtime in my also.
My algo code is as below for reference:
I am looking for the Lowest Bid, and Highest Ask (spread) , in real time to be used in my algo.
Along with this, i want the Total Bid/Buy qty and Total Ask / Sell qty. in realtime to be used in my algo
I am looking for the Lowest Bid, and Highest Ask (spread) , in real time to be used in my algo.
Along with this, i want the Total Bid/Buy qty and Total Ask / Sell qty. in realtime to be used in my algo
Full market depth is not available on APIs as of now. The data packets are too large for us to stream. Will keep you updated in case we bring this up on DhanHQ.
the current code provides historical CANDLESTICK data upto the previous day. i.e. yesterday. what change needs to be done so that i need to get the current day candle stick data aswell.