Skip to content

How to use the size parameter while buying and selling? #106

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

Closed
sangramht opened this issue Jul 14, 2020 · 0 comments · Fixed by #47
Closed

How to use the size parameter while buying and selling? #106

sangramht opened this issue Jul 14, 2020 · 0 comments · Fixed by #47
Labels
duplicate This issue or pull request already exists

Comments

@sangramht
Copy link

I am trying to make a strategy for FOREX data where I need to specify a contract size For example 100000 for EURUSD and also define lot size.

So as to calculate a profit i.e

(buy - sell) * contract size * lot size

@kernc kernc added the duplicate This issue or pull request already exists label Jul 14, 2020
@kernc kernc closed this as completed in #47 Jul 15, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants