quantities zero in getholdings with free API

manojmo
hi,

When i use the getholdings API, all quantity fields are 0. Also, the mtf section is missing.
Is this as expected, with the free api ?

regards,
manoj
  • Nivas
    I just tried retrieving the holdings, and there seems to be no issue. You may refer to the documentation here and retry.
  • sujith
    @manojmo,
    We will include the MTF holding data in the next version of javakiteconnect.
  • manojmo
    @Nivas,
    I am using the free version of the api and jar is the latest version 3.5.0 from maven.
    I see all quantities as zero.
    Also, does getOrderHistory work, coz i am getting a "can't find that order_id" error.
    Is the order id same as the one we see in the trade book ?

    I guess this free api is raising a lot of queries about what will be allowed and what not.

    @sujith,
    thanks. Is it already available in non-java version ?
  • Nivas
    I guess this free api is raising a lot of queries about what will be allowed and what not.
    You may refer to this thread for more details.
    Also, does getOrderHistory work, coz i am getting a "can't find that order_id" error.
    Is the order id same as the one we see in the trade book ?
    If the API response gives Couldn't find that `order_id` error message, then the order_id passed would be incorrect. You may refer to the documentation to know the correct field in the response.
    I am using the free version of the api and jar is the latest version 3.5.0 from maven.
    I see all quantities as zero.
    Could you please enable debug mode and check the raw response? That way, we can confirm whether the "quantity" values are coming through correctly.
Sign In or Register to comment.