Hello, My code to calculate available cash is : Float.parseFloat(kc.getMargins("equity").available.cash)
My aim is capture the “Margin available” value i.e net CASH available (in other words the hard cash in my hand to do CNC buy orders) in my account for CNC trading (after certain point of time during day) ..In the screenshot the value is 3840.90. This value I want to capture while placing intraday or CNC buy orders.
I started with intraday with value in “Margin available” field as around 5000. When I used above code, I got available cash value as 9546.25015258789 at some point of time .
I would like to know why. I need to calculate FINAL CASH amount using which I could do CNC trading in between Intraday trading. Help in this regard would be appreciated.