All_instrument file is not getting created under Dependencies folder in case of Linux/Ubuntu

all_instrument file is not getting created under Dependencies folder in case of Linux/Ubuntu.
Instead its creating a file named ‘Dependencies\all_instrument 2026-03-29.csv’ in Ubuntu. PFA screenshot for reference.

This is causing failure in subsequent logic execution. This is working fine in windows but observing issues in case of Ubuntu.
Dhan-Tradehull Version: 3.2.1
dhanhq Version: 2.2.0rc1

Pls let me know if there is any fix/workaround available for this.

To understand exactly what’s happening on your end, could you share the relevant part of your code where the instrument file is being generated or the path is being constructed?

Specifically, it would help to see:

  1. The section that calls the Dhan/Tradehull function to fetch/save the all_instrument file
  2. Any path or filename construction around that

The reason I’m asking is — from the screenshot, it looks like the file is getting created, just in the wrong location (as a file named Dependencies\all_instrument 2026-03-29.csv in the root folder instead of inside the Dependencies folder). So the generation itself seems to be working, it’s just a path separator issue between Windows and Linux.

Once I see the code, I can pinpoint exactly where the fix needs to go and give you a clean solution!