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

Lot size Doesn't match #29

Open
OmerCP opened this issue Dec 10, 2023 · 3 comments
Open

Lot size Doesn't match #29

OmerCP opened this issue Dec 10, 2023 · 3 comments

Comments

@OmerCP
Copy link

OmerCP commented Dec 10, 2023

when i enter the lot size at volume = 0.1
it return error (ERROR:root:Order volume 10000.00 is bigger than maxVolume=50.00.)

so when i edit the volume to :
volume = 0.00001

its create the position with 1 Lot.

any help to how can i configure this please?

by the way the symbol i trade is ETHUSD his fix api id is 22397
i have edited the Symbol.py list and added it to there like the others.

45: {'id': 22397, 'pip_position': 4, 'name': 'ETHUSD', 'bid_volume': 0, 'ask_volume': 0},

this line.
i want to configure the lot size so when i enter 0.1 Lot at volume
will open position with 0.1 Lot

help please.

Copy link

We're glad you've opened your first issue. Please provide all the necessary details and any relevant code or screenshots to help us understand the problem better. Our team will review your issue and provide assistance as soon as possible. Thank you for contributing!

@OmerCP
Copy link
Author

OmerCP commented Dec 10, 2023

1
2

@traderpedroso
Copy link
Member

when i enter the lot size at volume = 0.1 it return error (ERROR:root:Order volume 10000.00 is bigger than maxVolume=50.00.)

so when i edit the volume to : volume = 0.00001

its create the position with 1 Lot.

any help to how can i configure this please?

by the way the symbol i trade is ETHUSD his fix api id is 22397 i have edited the Symbol.py list and added it to there like the others.

45: {'id': 22397, 'pip_position': 4, 'name': 'ETHUSD', 'bid_volume': 0, 'ask_volume': 0},

this line. i want to configure the lot size so when i enter 0.1 Lot at volume will open position with 0.1 Lot

help please.

Sorry, the symbol list is simply for asset quotation, not for placing orders, and unfortunately, there's nothing to be done. You have to multiply by the digits of your asset as the contract size varies according to the symbol.

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

2 participants