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

"buy" function does not buy options other than currency parities. #326

Open
leolmcoelho opened this issue Mar 4, 2022 · 1 comment
Open

Comments

@leolmcoelho
Copy link

"buy" function does not buy options other than currency parities.
Every time I try to buy stocks like: ['APPLE', 'MCDON', 'TWITTER'] I get:
Unable to open a trade
my code:

Money=2
ACTION = 'put'
expirations_mode = 1
check, id  = iq.buy(Money,ACTIVES,ACTION,expirations_mode)
print(check, id)

OUTPUT:
"False Não foi possível abrir uma negociação"
@leoteixeira2016
Copy link

i have the same problem but iq returns
[ TURBO ]: AUDCAD-L | Payout: 85
[ TURBO ]: GBPJPY-L | Payout: 85
[ TURBO ]: AUDUSD-L | Payout: 85
[ TURBO ]: EURGBP-L | Payout: 85
[ TURBO ]: EURCAD-L | Payout: 85
[ TURBO ]: USDCAD-L | Payout: 85
[ TURBO ]: EURJPY-L | Payout: 85
[ TURBO ]: NZDCAD-L | Payout: 85
[ TURBO ]: GBPUSD-L | Payout: 85
[ TURBO ]: EURUSD-L | Payout: 85
[ TURBO ]: USDJPY-L | Payout: 85

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