Skip to main content

Join FYERS Community to connect & interact with active traders/investors in India.

FYERS API
FYERS API

Build your own innovative platforms or deploy algorithmic trading strategies
which suit your unique requirements using our reliable trading APIs.
Know more

 

Discussion
FYERS API

What will be the order status of a partially filled order?

Below is what I found in the documentation.

1-Cancelled

2-Traded / Filled

3-For future use

4-Transit

5-Rejected

6-Pending

Will the status be 2 or 6 or 4 for a partially filled order?

Discussion
FYERS API

"Could not authenticate the user error" for history api.

Rest of the apis work but not the history, Even yr sample code not working

data = {"symbol":"NSE:SBIN-EQ","resolution":"D","date_format":"0","range_from":"1622097600","range_to":"1622097685","cont_flag":"1"}

x =fyers.history(data)

{'s': 'error', 'code': -17, 'message': 'Could not authenticate the user'}

It used to work.

following apis work fine but not... (More)

Discussion
FYERS API

Fyers API v2 issues 'Could not authenticate the user'

Getting issues in Fyers API V2, where I can't get any details from FyersModel even after passing the token and client ids.

fyersmdelss = fyersModel.FyersModel(client_id=auth_instance.get_client_id, token=access_token, is_async=False)
print()
print("Get profile:")
print(fyersmdelss.get_profile())
print("Holdings:")
print(fyersmdelss.holdings())
print("Funds:")
print(fyersmdelss.funds())

Refer to snapshot for the... (More)