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

FEATURE: max get-order v3 api support client order id parameter #1147

Merged
merged 1 commit into from
Apr 17, 2023

Conversation

kbearXD
Copy link
Collaborator

@kbearXD kbearXD commented Apr 14, 2023

No description provided.

@kbearXD kbearXD requested review from c9s and gx578007 April 14, 2023 08:46
@bbgokarma-bot
Copy link

Hi @kbearXD,

This pull request may get 219 BBG.

To receive BBG token, please left your polygon address as an issue comment in this pull request with the following format, e.g.,

polygon:0xAb5801a7D398351b8bE11C439e05C5B3259aeC9B

Once this pull request is merged, your BBG token will be sent to your wallet.

@codecov
Copy link

codecov bot commented Apr 14, 2023

Codecov Report

Merging #1147 (1158b95) into main (4c4ea8a) will decrease coverage by 0.01%.
The diff coverage is 0.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##             main    #1147      +/-   ##
==========================================
- Coverage   19.98%   19.97%   -0.01%     
==========================================
  Files         452      452              
  Lines       34248    34258      +10     
==========================================
  Hits         6843     6843              
- Misses      26859    26869      +10     
  Partials      546      546              
Impacted Files Coverage Δ
pkg/exchange/max/exchange.go 0.00% <0.00%> (ø)

Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 4c4ea8a...1158b95. Read the comment docs.

request.Id(uint64(orderID))
}

if len(q.ClientOrderID) != 0 {
Copy link
Owner

Choose a reason for hiding this comment

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

you need else if here?

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

No, because we already exclude the situation 'q.OrderID == 0 && q.ClientOrderID == 0'.

@kbearXD kbearXD merged commit 99e393e into main Apr 17, 2023
@kbearXD kbearXD deleted the max/get-order/client-order-id branch April 17, 2023 04:24
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.

None yet

3 participants