Open mehmetcigerli opened 1 month ago
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!
Hello, thank you for the library.
I tried the lib with EURUSD which worked fine.
However I ran into this weird volume error with US500.
My code: symbol = "US500" volume = 0.1 # order size price = api.quote() price = np.round(price['US500']['bid'] + 0.002, 1)
id = api.buyLimit(symbol, volume, price)
And I received this as error.
ERROR:root:Order volume 10000.00 is bigger than maxVolume=100.00.
Which is not the volume I entered clearly.
Please help.
Thank you very much.
digit point contract size 0.001
Hello, thank you for the library.
I tried the lib with EURUSD which worked fine.
However I ran into this weird volume error with US500.
My code: symbol = "US500" volume = 0.1 # order size price = api.quote() price = np.round(price['US500']['bid'] + 0.002, 1)
id = api.buyLimit(symbol, volume, price)
And I received this as error.
ERROR:root:Order volume 10000.00 is bigger than maxVolume=100.00.
Which is not the volume I entered clearly.
Please help.
Thank you very much.