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

v2.5.0 Cross Market Order #26

Merged
merged 43 commits into from
Nov 13, 2020
Merged

v2.5.0 Cross Market Order #26

merged 43 commits into from
Nov 13, 2020

Conversation

Effanuel
Copy link
Owner

@Effanuel Effanuel commented Nov 13, 2020

New features:

  • Ability to add a cross order;
    • if you set a sell cross price below current price, it will trigger a market sell order as soon as the price crosses your cross order price;
    • if you set a buy cross price above current price, it will trigger a market buy order as soon as the price crosses your cross order price;
    • if you set a sell cross order price above current price, it will trigger a market sell order when the current price crosses up and then down of the set cross price;
    • if you set a buy cross order price below current price, it will trigger a market buy order when the current price crosses down and then up of the set cross price;

Bugs:

  • Adjusted ETH spread, since BitMEX updated it. (maybe need to create a script that would check for updates)

imagine if someone had to review this...

@Effanuel Effanuel added the enhancement New feature or request label Nov 13, 2020
@Effanuel Effanuel merged commit 759775b into master Nov 13, 2020
@Effanuel Effanuel deleted the Cross-Orders branch July 21, 2021 22:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crossover_BUY order and Cross_under SELL order for market order and trailing limit orders)
1 participant