-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
[resolves #2061] [Binance] Add support for Stop-Limit orders #2062
Conversation
4406858
to
702c1c8
Compare
Is a stop limit order different than a stop loss order (which is in the end a market order)? |
hi tim, they are indeed different stop loss becomes a market order when
triggered, where as stop limit becomes a limit order at the trigger price
once triggered.
…On Mon, 1 Jan 2018, 08:49 Thomas Diesler, ***@***.***> wrote:
Yes, it is different. Have a look at this
<https://support.binance.com/hc/en-us/articles/115003372072-How-to-use-Stop-Limit-Function>
The enum already has STOP_LOSS, so it might get supported in the future.
For now however I could not get it to work. The api docs
<https://www.binance.com/restapipub.html#user-content-enum-definitions>
are outdated.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#2062 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AENHasdabMlMIxryh7vcjU6zcKPXqOnaks5tGJwggaJpZM4ROn-N>
.
|
OK, so if I understand this correctly, you can place a limit order along with a stop limit order at the same time? Is this essentially the same as placing 2 limit orders one after the other? My gut feeling is that this should be a new class, perhaps one that extends |
Unfortunately, on Binance every order operates on a distinct set of coins. So you cannot place a sell order on all available coins and another sell order with different parameters on the same set of coins. A stop-limit order is a two step process. When the market prices reaches the stop price, a limit order is placed with potentially a limit price that is different from the stop price. |
Closing in order to wait for other binance PRs |
No description provided.