Coder Social home page Coder Social logo

Comments (5)

achilleas-kal avatar achilleas-kal commented on July 18, 2024
  1. The leverage factor bar now moves across many increments (i.e. 4.18, 4.23, 4.26). I would propose to give it a step of 1 which will make it much easier for traders to use (i.e 4, 5, 6)

  2. We can add the leverage UI from our Solstice exchange exactly below the leverage bar so traders can use both.

image

I don't think they would use an empty field to input the exact leverage, the majority of them also want to see margin and liquidation prices before they give in a trade and it's much easier to interact with a bar for that, 2 could be used for those who know the leverage they'd like to set in advance. I believe 1) must certainly be implemented and 2) is nice to have

If we proceed with the implementation of both, the bar and boxes could be interactive (i.e. specifying 10x leverage from the box also moves the bar respectively and I can then use the bar to modify it close to that amount)

from injective-helix-demo.

bangjelkoski avatar bangjelkoski commented on July 18, 2024

Yes, let's add the boxes that we had previously.

I would propose to give it a step of 1 which will make it much easier for traders to use (i.e 4, 5, 6)

We should leave this as is because we want to show the users how flexible we can be with the leverage.

from injective-helix-demo.

albertchon avatar albertchon commented on July 18, 2024

This doesn't solve the issue allowing users to input a custom leverage amount that's not on the boxes

from injective-helix-demo.

bangjelkoski avatar bangjelkoski commented on July 18, 2024

Adding one more input would bloat the form additionally, thats why they have the slider for "custom" values.

We can try if you want @albertchon

from injective-helix-demo.

bangjelkoski avatar bangjelkoski commented on July 18, 2024

I have made the output box editable (i.e an input field). If you think that this is enough, you can close the issue @albertchon

image

from injective-helix-demo.

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.