It is still firing orders for FINNIFTY instead of NIFTY
Hi @anandc
How are you displaying messages with different colors on console. Can you share the sample code.
I don’t know why no one is responding. They are playing with
Hard earned money
just because of this faulty api we are facing losses, please look at the problem as a serious one
If you are using tradehull support library then its on Imrans responsibility to fix this issue.
You can try to use dhanhq library directly and see if your issue gets resolved.
oops. You mean TradeHull is a third-party library not an in-house thing.
Dear Siddhesh Amruthe, and AnandC, It’s my humble request not get into contaversial orguments. Dhan & TradeHull are two separate Entities, offering free educative course on Algo trading. We should all be very much thankful to the whole team of people working on this and educating us.
Respect the people and keep some patience. Hope you do understand the feelings of all people who are getting educated through this platform.
VBR Prasad
Hi @Vasili_Prasad ,
See the parent company dhan has outsourced this job to tradehull, i think so as per the my yesterdays conversation with dhan. Now its dhans responsibility being a parent company, this is what i understand… And above all its my right to ask questions as I am paying…
… bhai, delhika ticket liya maine to delhi hi jana pasand karunga na… na ki kolkata jana…
Regards
I am completely agreed with you. I am also thankful to Tradehull and specially @Tradehull_Imran for creating wrapper library using dhan API and making process simpler.
My point is if users are facing some issues with some functionality then they can report it in forum and meanwhile they can handle this using Dhan API as a workaround.
I am just sharing solution to fix the issue not comparing or blaming anyone here.
Thanks!
Hi @Siddhesh_Amrute,
I am using colorama library, pls find a sample code -
import colorama
from colorama import Fore, Back, Style
# Initialize colorama
colorama.init(autoreset=True)
# Foreground (Text Color)
print(Fore.RED + "Hey,Got FINNIFTY instead of NIFTY!!!")
print(Fore.GREEN + "@ Dhan.......... what are you doing guys!")
print(Fore.YELLOW + "Bhagwaan bharose cchod diye kya!")
# Background Color
print(Back.BLUE + "Roj utha.. algo run karo nifty ke liye aur FINNIFTY ka trade pao" + Style.RESET_ALL)
print(Back.RED + "3-4 din se koi jawaab nahi de riya hain yahan!" + Fore.WHITE)
# Style Formatting
print(Style.BRIGHT + "This is bright Algo with NIFTY!")
print(Style.DIM + "This is Dhand dim response of FINIFTY!")
# Combining Colors
print(Fore.CYAN + Back.BLACK + "Cyan text on black background")
# Reset styles explicitly
print(Style.RESET_ALL + "Dhan, when will this be Back to normalcy.")
but dont forget to reset at the end… pls read the funny texts inside the print(), my feelings, not only mine but of all those facing same issue.
HTH
Regards
@anandc Thank you for sharing the details.
Yes, we are grateful to everyone who has helped make this happen and is teaching us about algorithm trading.
Since many traders are losing money, Dhan needs to investigate this issue or at the very least, advise traders to refrain from using algorithms for trading for a few days until the issue is resolved.
After paper trading my method for a week in the live market, I took a live trade today and ended up losing in about 2-3 seconds because a wrong order got placed multiple times.
Hi @saurabha213 @Rajashekhar_Rangappa ,
You can refer the below video:
How to create and connect to Google Cloud Windows Server VM Instance
We will look into this issue.
Hi @Akshay_Bawane ,
We will look into the strike selection issue, but if you are still using the previous version codebase , kindly switch to the latest version 3.0.6
Steps:
- Open Command Prompt: Press Win, type cmd, and press Enter.
- Install Dhan-Tradehull: Run
pip install Dhan-Tradehull
- Confirm the installation by running
pip show Dhan-Tradehull
Hi @anandc ,
We will look into this issue.
Hi @iamsanjay ,
Can you mention for which trading symbol name u were facing the issue?
Hi @Tradehull_Imran ,
we can now fetch upto last 5 years of Intraday Historical Data as per dhan release note of Mar 07 2025 can you please help with fetching historical intraday data as below code fetches only historical data for last 5 days, I need historical intraday data for upto 2-3months
tsl.get_intraday_data(‘ACC’,‘NSE’,5)
Hi @rahulcse56 ,
Here’s the code link for latest episode 8:
Session 8.zip - Google Drive
Hi @Tradehull_Imran ,
How to calculate this Bids Vs Offers in our algo,
If so possible, can you please share the code snippet for this.
TIA