Fyers API V3 issue

I am getting following error while Algo trading using python for Buy or Sell a stock using a condition with Entry, Stoploss & Target.

Error: 'FyersDataSocket' object has no attribute 'history'

Hey @102456259380873267338

Looks like you are fetching the History from Data socket , Data socket is used to fetch the live recurring data not the History , please refer the docs for the same

https://myapi.fyers.in/docsv3#tag/Data-Api/paths/~1DataApi/post