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

Update orders.py #503

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Update orders.py #503

wants to merge 1 commit into from

Conversation

helhadry
Copy link

@helhadry helhadry commented Nov 6, 2024

fix bug: put the arguments in a good order

fix bug: put the arguments in a good order
@gotjen
Copy link

gotjen commented Nov 20, 2024

Seems unnecessary and threatens to dislodge many people's working code.

These are keyword arguments so you're perfectly welcome to call the function with those args in the order you like

ex:

timeInForce = 'gtc'
account_number = <sekret>
response = order_option_spread(direction, price, symbol, quantity, spread, timeInForce=timeinforce, account_number=account_number, jsonify=True)

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

Successfully merging this pull request may close these issues.

2 participants