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

refact: clarify the type and txType in whole codebase #75

Merged
merged 1 commit into from
Nov 2, 2022

Conversation

Triple-Z
Copy link
Member

@Triple-Z Triple-Z commented Nov 1, 2022

  • Type stands for Buy/Sell or In/Out.
  • TxType is the specific paying definition which can be various for every provider.

BREAKING CHANGE: the config fields(type and txType) for huobi and htsec providers are redefined in this PR, so the user who used this tool before with those providers MUST modify the config for huobi or htsec provider after upgrading the tool.

resolves #60

Signed-off-by: Triple-Z [email protected]

@Triple-Z Triple-Z requested review from gaocegege and a team as code owners November 1, 2022 13:09
@Triple-Z
Copy link
Member Author

Triple-Z commented Nov 1, 2022

I recommend releasing the 2.x version for the breaking changes.

/cc @gaocegege

- `Type` stands for `Buy/Sell` or `In/Out`.
- `TxType` is specific paying definition which can be various in every provider.

Signed-off-by: Triple-Z <[email protected]>
Copy link
Member

@gaocegege gaocegege left a comment

Choose a reason for hiding this comment

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

LGTM although I did not test it locally.

@gaocegege gaocegege merged commit 1f05eb5 into master Nov 2, 2022
@gaocegege gaocegege deleted the refact-type-txType-gh-60 branch November 2, 2022 00:58
@Triple-Z
Copy link
Member Author

Triple-Z commented Nov 2, 2022

@gaocegege We can reply on CI though 🤣

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.

[refact] clarify the type and txType
2 participants