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

Create a possibility for placing order pairs #24

Open
preslavrachev opened this issue Feb 14, 2018 · 0 comments
Open

Create a possibility for placing order pairs #24

preslavrachev opened this issue Feb 14, 2018 · 0 comments

Comments

@preslavrachev
Copy link
Owner

preslavrachev commented Feb 14, 2018

Create two Web endpoints which allows for placing order pairs (BUY-SELL / SELL-BUY) at a given:

  • price (prices)
    -- if no price is proved, assume "market"
  • quote amount (for now, the same amount will be used in both the buy and the sell order)
  • spread (in percentage) - when no sell price provided
  • cancellation deadline (optional). If the second order hasn't been processed by the time of the deadline, execute it immediately at market price.
  • distinguish between test and real orders

Regardless of the endpoint, the workflow should always be the same. The first order gets placed, and only when it has been executed, does the second one get placed

@preslavrachev preslavrachev changed the title Create a possibility for creating placing pairs Create a possibility for placing order pairs Feb 14, 2018
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

1 participant