Apologies for delayed response.
Currency trading via smartAPI is possible. Kindly refer the below document to implement the same.
Ref Doc: https://smartapi.angelbroking.com/docs/Orders
HI @aksharmty@Mnagesh
We have deployed a fix on 19th November 2022, this will help you to fetch holdings correctly. We want to thank you again for the feedback and bug reports you've submitted. Through them, we are able to improve your API trading experience. We are happy to share with you this new release resolves all of the pending issues pertaining to getHolding API.
Apologies for delayed response.
Currently we are not providing any single API to fetch historical, market, portfolio data all together. Also, after logged once a day, the same authorization token can be passed on any of the smartAPI to receive the response.
@aksharmty Hey sorry for late reply. Variable name was not correct in my code and you need to replace $responseContent with $result. But anyways you seems to already able to login 🙂
@aksharmty In PHP, you can hit RMS API url with Curl (along with proper authorization headers) and parse response JSON to get all details. You can get Endpoint and Response format from here https://smartapi.angelbroking.com/docs/User#Funds