Get Trades not returning all trades for the day

Hello,

I am using the GET /order/trades/get-trades-for-day API call but it is not returning all the trades for the day. I am only getting 20, even though I have more trades.

That is highly unlikely. Could you assist with your UCC for verification?

Note: The get-trades-for-day function returns only the trades executed on the day, as mentioned in the documentation here: Upstox API Documentation.

Thanks for your reply.

UCC: KL4980

I executed the code just now (21:04pm) and its returning only 20 trades for today, even though I have hundreds of trades.

-Atul

Hello,

Is there any update on this issue?

Regards

Atul Godbole

@atulrgb, upon reviewing the logs for the UCC you provided, we observed that you have not accessed the get-trades-for-day API since August 1st. Additionally, we did not identify any errors associated with this API. Kindly confirm whether the orders you placed were successfully executed.

Hello,

I just used the “/order/trades/get-trades-for-day” API right now (11:17am) today (14Aug24), and again it returned only 20 entries, even though I have many more trades.

Kindly look into this urgently!

Regards
Atul Godbole
LogicNP Software

@atulrgb, we are currently reviewing this matter and have forwarded your query to the appropriate team.

Thank you for your patience.

@atulrgb,

You should hear back from us on this sometime later today.

Thank you for your patience in this matter!

@atulrgb, We have implemented a fix on our end to address the issue mentioned above. Kindly verify if the problem has been resolved for you, and let us know. We apologize for any inconvenience this may have caused.

Thank you.

Thanks, I will test this on Monday.

For my curiosity, may I know what was causing this issue?

Regards

Atul

@atulrgb - This issue was due to a misconfiguration on our side, which has now been resolved.

I tried it just now (21:47pm) on 20Aug2024, and it is returning only 300 trades, when I have lots more orders.

-Atul

Any update on this…(same issue today 22Aug24 also)

I tried it just now (21:47pm) on 20Aug2024, and it is returning only 300 trades, when I have lots more orders.

-Atul

@atulrgb Could you let us know how many trades you typically execute? Currently, we have a cap of 300 trades. If necessary, we can reconsider and adjust this limit. Please share your average trade count with us.

Thank you for your patience

@atulrgb We have increased the limit to 500. Please verify and confirm if it functions correctly on your end.

Thank you.