Hello @Trading_Buoy
Welcome to MadeForTrade community!
Can you confirm which code are you referring to? There is no DhanSDK module, you need to use DhanFeed module.
You can refer to sample code here: GitHub - dhan-oss/DhanHQ-py: The official Python client for communicating with the Dhan API.