Incorrect M2M

ramatius
Hi,
The API call returns a different M2M figure than what is shown in kite web, even 1 hour after squareoff. Why?
  • ramatius
    Ok, the correct figures are in data->utilised->debits and not in ...->m2m_realised - please update the documentation or explain how/why.

    ...and the "net" value is returning NULL always.
  • ramatius
    ...and m2m_unrealised is always returning 0, even though there are open positions.
  • sujith
    Hi @ramatius,
    Net will have a list of overnight positions. If it is empty, it means you don't have overnight positions.
    Can you be more specific about m2m field? There is no field as m2m_unrealised in positions.
  • ramatius
    Hi Sujith,
    I am talking about utilised.m2m_unrealised and utilised.m2m_realised . It is there in your API documentation. Your API is also returning this field, but always with value 0.
  • sujith
    Hi @ramatius,
    The same margins API is used by Kite. Net will display the correct value.
    Can you private message request url and response? We will look into this.
  • ramatius
    I have messaged you. pls see. The margin API has been failing throughout the day today.
Sign In or Register to comment.