Git Product home page Git Product logo

Comments (4)

TheComputerGenie avatar TheComputerGenie commented on July 20, 2024

Expected:
When user clicks on A (or any other bid in the orderbook) they should expect that when the GUI does the auto-fill of E and F that they are selling to that item in the orderbook (or at that price, anyway).
Using the image as a reference, the words in the yellow area would say "SELL" (as they do in the image) and clicking the button will place a sell order.

When user clicks on C (or any other ask in the orderbook) they should expect that when the GUI does the auto-fill of E and F that they are buying from that item in the orderbook (or at that price, anyway).
Using the image as a reference, the words in the yellow area would say "BUY" and clicking the button will place a buy order.

Actual:
Using the image as a reference, the words in the yellow area that say "SELL" do not change state when a orderbook item is clicked, it remains in whatever last buy/sell state was active, and the user must manually click D or B to match their intentions before placing their order.

from barterdex.

jansako avatar jansako commented on July 20, 2024

How about: 'buy/sell does not auto-switch when clicking on different order types'.

from barterdex.

jansako avatar jansako commented on July 20, 2024

Playing the devil's advocate, what if I want to 'underbid' the existing lowest sell or overbid the highest buy? In that case I do not actually want the buy/sell to switch... :-)

from barterdex.

satindergrewal avatar satindergrewal commented on July 20, 2024

reading the explanation felt conflicting with last Actual: explanation part.

Anyway, I implemented auto select BUY/SELL option based on the orderbook list click.

Let me know if that solves what you asked for.

from barterdex.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.