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

buy market order 이후 get order(uuid) #131

Open
jungnamgwock opened this issue Dec 5, 2024 · 1 comment
Open

buy market order 이후 get order(uuid) #131

jungnamgwock opened this issue Dec 5, 2024 · 1 comment

Comments

@jungnamgwock
Copy link

안녕하세요.

다른 주문 함수들(sell market order, buy limit order, sell limit order) 은
주문 이후 uuid 로 조회 할때 완료가 되면 state = done 으로 됩니다.

그런데 buy market order 만 유독 state = cancel 로 되는 것 같습니다.

요거는 문제가 있는 것이지요?

@zsdfcz
Copy link

zsdfcz commented Dec 30, 2024

시장가로 체결이 일어난 후 주문 잔량(locked)이 발생하는 경우,
남은 잔량이 반환되며 cancel 처리됩니다.
>> state 가 cancel 로 넘어옵니다.

https://docs.upbit.com/reference/%EC%A2%85%EB%A3%8C-%EC%A3%BC%EB%AC%B8-%EC%A1%B0%ED%9A%8C

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

No branches or pull requests

2 participants