Get all history through API

Jun 17, 2023 at 13:10
651 Views
2 Replies
Member Since Nov 22, 2022   3 posts
Jun 17, 2023 at 13:10
I am using this method: /api/get-history.json and it's returning only the latest 40 positions. Is there a way to get ALL history records?
Member Since Jul 26, 2023   1 posts
Jul 26, 2023 at 10:21
Yes, there is a way to get All history records. Review the API documentation or documentation for the specific endpoint (/api/get-history.json) you are using.
Member Since Nov 22, 2022   3 posts
Jul 26, 2023 at 10:50
Stanley09 posted:
Yes, there is a way to get All history records. Review the API documentation or documentation for the specific endpoint (/api/get-history.json) you are using.

Thanks, yeah I have been reading though there is no further details on how to get all history.

If you just use the default get-history.json call, it only gives you top 40.
Sign In / Sign Up to comment
You must be connected to Myfxbook in order to leave a comment
*Commercial use and spam will not be tolerated, and may result in account termination.
Tip: Posting an image/youtube url will automatically embed it in your post!
Tip: Type the @ sign to auto complete a username participating in this discussion.