Web hook checksum

abhishek01
The web hook checksum being returned is 40 ascii char long, but it should be 256 bit or 64 ascii character long. Could you please check into this

thanks
  • abhishek01
    There seem to be still more issues with the web hooks. Firstly the documentation example mentions that 'trading_symbol' will be returned whereas the key is 'tradingsymbol'. Then 'filled_quantity' is also returned, the documentation is silent about this, so can we reliably use this? Then documentation for the 'status' says that there may be other values as well. The documentation should atleast state all possible values so that code at our side can handle the situations appropriately. Another issue faced while using websockets was that whenever an order is placed, the websocket returns some data that does not conform to the format of messages expected. This is most unexpected, are you also trying to send some response of the order placed via web sockets?

    thanks
  • Vivek
    @abhishek01 Thanks for reporting the issues

    Have fixed checksum issue, it now returns 64 character long string (previously we were returning sha1 checksum instead of sha256).
    Firstly the documentation example mentions that 'trading_symbol' will be returned whereas the key is 'tradingsymbol'.
    Fixed our documentation, key now is 'tradingsymbol'
    Then 'filled_quantity' is also returned, the documentation is silent about this, so can we reliably use this?
    Added the field 'filled_quantity' to documentation
    Then documentation for the 'status' says that there may be other values as well. The documentation should atleast state all possible values so that code at our side can handle the situations appropriately.
    Currently we are sending post back for only COMPLETE, REJECTED, CANCELLED statuses, In future we may also include status OPEN.
    Another issue faced while using websockets was that whenever an order is placed, the websocket returns some data that does not conform to the format of messages expected. This is most unexpected, are you also trying to send some response of the order placed via web sockets?
    Websocket returns two data types text and binary, you can safely ignore text data.
  • kpskps
    kpskps edited April 2016
    @vivek @Kailash i setup a postback url (pm'd you) however i didnt get any update on order completion, the server on my side shows no POST request
  • Vivek
    @kpskps can you please post your api_key?
  • kpskps
    a6zk5g75xyg96jsz
  • Vivek
    @kpskps please try now
This discussion has been closed.