Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get_total_m2m() #53

Open
neevgujral7 opened this issue Apr 24, 2023 · 5 comments
Open

get_total_m2m() #53

neevgujral7 opened this issue Apr 24, 2023 · 5 comments

Comments

@neevgujral7
Copy link

The above mentioned function is not returning correct value please look into it.
I want the figure which is shown under PNL in Web App through API. Please look into it

@algo2t
Copy link
Owner

algo2t commented Apr 25, 2023

@neevgujral7 I thought nobody is using this :) , I will see what is the issue

@nevatia
Copy link

nevatia commented Apr 25, 2023

@algo2t long time no see

@nevatia
Copy link

nevatia commented Apr 25, 2023

I think pnl and m2m are different things

@neevgujral7
Copy link
Author

how to retrieve pnl then ?
I'll also try by going to data return by get_order_history('order_id)

@algo2t
Copy link
Owner

algo2t commented Jul 18, 2023

With the new API, I think this will not work, need to check the implementation again.
It is calculating the m2m based on positions. Better to check the funds view.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants