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

Comments

1 participant
@preslavrachev
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 created this issue from a note in CryptoTrader Core (To Do) Feb 14, 2018

@preslavrachev preslavrachev changed the title from Create a possibility for creating placing pairs to 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