Skip to content

Make market orders possible by removing price requirement #615

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
wants to merge 1 commit into from

Conversation

raymens
Copy link
Contributor

@raymens raymens commented Jul 22, 2021

This change was required to make Marketorders possible on CoinbasePro.
Not sure what the other echanges allow and or require so I've kept it simple by just assuming the price is given.

I suppose it's also possible to add checks and fail in a nicer way, what's your take on it?

Copy link
Collaborator

@vslee vslee left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, it would be great to add checks and throw an ArgumentNullException in the two cases, instead of having a more cryptic exception when accessing the value.

@vslee
Copy link
Collaborator

vslee commented Aug 1, 2021

Superseded by #620

@vslee vslee closed this Aug 1, 2021
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