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

Added Expired and PendingOpen to ExchangeAPIOrderResult #667

Merged
merged 1 commit into from
Sep 30, 2021

Conversation

vslee
Copy link
Collaborator

@vslee vslee commented Sep 30, 2021

This PR contains the following breaking changes to the ExchangeAPIOrderResult enum:

  • PendingOpen is an important state that many exchanges have, which is separate from Open
  • Renamed Pending state to Open
  • Renamed Error state to Rejected, since this is how most exchanges refer to it
  • Added Expired state, which is separate from Rejected

also contains the following changes

  • added stricter checks to FTX OnGetOrderDetailsAsync() and OnPlaceOrderAsync isPostOnly
  • improved FTX ToExchangeAPIOrderResult(), renamed to FTXExtensions to reduce possibility of collision in the future

This PR contains the following breaking changes to the ExchangeAPIOrderResult enum:
- PendingOpen is an important state that many exchanges have, which is separate from Open
- Renamed Pending state to Open
- Renamed Error state to Rejected, since this is how most exchanges refer to it
- Added Expired state, which is separate from Rejected

also contains the following changes
- added stricter checks to FTX OnGetOrderDetailsAsync() and OnPlaceOrderAsync isPostOnly
- improved FTX ToExchangeAPIOrderResult(), renamed to FTXExtensions to reduce collisions in the future
@vslee vslee requested a review from jjxtra September 30, 2021 03:57
@jjxtra
Copy link
Collaborator

jjxtra commented Sep 30, 2021

Great stuff ;)

@vslee vslee merged commit bf16434 into DigitalRuby:master Sep 30, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants