-
Notifications
You must be signed in to change notification settings - Fork 822
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
exchanges/order: Added TimeInForce type and values #1382
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Really cool update. Thanks big boss.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes. 🦸
Sorry for the delayed update on this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the update, not much left over.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the changes. Things are looking good. Just need to test all endpoints associated with these changes.
… into update_tif
The endpoints I can run are only those that are public. The change I made, TimeInForce is mostly used by the authenticated, order-related endpoints. I am open to hear any other alternative of running the authenticated tests you may suggest |
… into update_tif
… into update_tif
… into update_tif
… into update_tif
… into update_tif
… into update_tif
… into update_tif
… into update_tif
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## master #1382 +/- ##
==========================================
+ Coverage 35.89% 37.73% +1.84%
==========================================
Files 411 411
Lines 177595 147714 -29881
==========================================
- Hits 63752 55746 -8006
+ Misses 106058 84191 -21867
+ Partials 7785 7777 -8
|
… into update_tif
… into update_tif
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are some linter and build issues that need to be sorted, but this is a nice clean update. Thanks Sam!
This PR is stale because it has been open 30 days with no activity. Please provide an update on the progress of this PR. |
ሰላም፣ ወንድሞች
PR Description
This PR adds a type TimeInForce(TIF) to represent common Time In Force values. It affects some exchanges and packages that were using the ImmediateOrCancel and FillOrKill values. Units that were affected by the change are tested. Additionally, new unit tests are added for newly added functions.
Exchanges that are directly affected by the change are Binance, Bitrex, BTCMarket, CoinbasePro, Huobi, Kraken, Poloniex
Packages affected: Orders, Engine, cmd/exchange_wrapper_standards
Fixes # (issue)
Type of change
Please delete options that are not relevant and add an
x
in[]
as the item is complete.How has this been tested
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration and
also consider improving test coverage whilst working on a certain feature or package.
Checklist