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

pkg/exchange: update query open orders to latest #1777

Merged
merged 1 commit into from
Oct 15, 2024

Conversation

bailantaotao
Copy link
Collaborator

  1. We specified the quantity for the market buy order as the base coin when we submitted the order, so we can just use the Qty field.
  2. Market orders use AvgPrice as types.Order.Price.

@bbgokarma-bot
Copy link

Welcome back! @bailantaotao, This pull request may get 216 BBG.

Base automatically changed from edwin/bybit/query-wallet-bal to edwin/bybit/uta October 15, 2024 04:00
@bailantaotao bailantaotao force-pushed the edwin/bybit/query-open-orders branch from 5c53788 to b41cd34 Compare October 15, 2024 04:00
@bbgokarma-bot
Copy link

Re-estimated karma: this pull request may get 251 BBG

@bailantaotao bailantaotao merged commit 76e2d29 into edwin/bybit/uta Oct 15, 2024
2 checks passed
@bailantaotao bailantaotao deleted the edwin/bybit/query-open-orders branch October 15, 2024 07:32
@bbgokarma-bot
Copy link

Hi @bailantaotao,

Well done! 256 BBG has been sent to your polygon wallet. Please check the following tx:

https://polygonscan.com/tx/0x458258fa6b3ba4625b855aeea5398ddbce0bb78dd6b2ccb0f7052ed355c2250e

Thank you for your contribution!

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.

3 participants