py5paisa icon indicating copy to clipboard operation
py5paisa copied to clipboard

Margin calculator

Open mithunpradeep opened this issue 2 years ago • 5 comments

  • 5paisa Python SDK version:
  • Python version:
  • Operating System:

Description

Is there an API to calculate margin needed to execute for a straddle or strangle with hedges.

What I Did

In UI i could use basket to get margin needed. Can the same be available in API.

mithunpradeep avatar Apr 29 '22 06:04 mithunpradeep

higher margin is required when done through api , even i dont know why........big issue

Ganesh-ops avatar May 26 '22 07:05 Ganesh-ops

I am also looking for the same.

pareshkhokhar avatar May 26 '22 12:05 pareshkhokhar

On Thu, 26 May 2022 at 6:04 PM, pareshkhokhar @.***> wrote:

I am also looking for the same.

— Reply to this email directly, view it on GitHub https://github.com/5paisa/py5paisa/issues/162#issuecomment-1138530582, or unsubscribe https://github.com/notifications/unsubscribe-auth/AOBY26XRMT3ZTN5WHTRJAYDVL5VWLANCNFSM5UU3RCXQ . You are receiving this because you commented.

yes , it is really annoying…..Margin bohot jyada h. Plzz check if any update is there

Ganesh-ops avatar May 28 '22 06:05 Ganesh-ops

Margin required won't differ while placing orders through API. Please trying placing orders through Basket order API

5paisa avatar Jun 11 '22 07:06 5paisa

Yes I know that , but if u place stoploss limit sell order of second leg it will require full margin . It is not considering second leg as hedge…

You are receiving this because you commented.Message ID: @.***>

Ganesh-ops avatar Jun 11 '22 13:06 Ganesh-ops