bitshares / bitshares/bitshares-ui

Allow inverse input for Quantity/Total scaled orders

Open
#2,877 3 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
520
Forks
575
Avg merge
12h 7m
Merged PRs (30d)
5

Description

**Describe the bug**
The buying asset **Quantity** field and the buying asset **Total** field should have the inverted unit to fit the selling side.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to Exchange Scaled orders
2. Compare fields with portfolio unit

**Expected behavior**
Use portfolio unit for order amount and the other unit for calculation of Total field.
Buy Quantity field in BTS (input) and Buy Total field in bitUSD (output).

**Screenshots**
![scaled](https://user-images.githubusercontent.com/40874087/60458498-0c9d0300-9c3f-11e9-872e-1ed7ea822639.png)

Contributor guide

Open the contributing guide

Research direction

Start at the Exchange Scaled orders interface and compare the buying asset Quantity and Total fields with the portfolio unit behavior described in the issue. Done means the buy Quantity input uses BTS while the buy Total output uses bitUSD, with the inverse unit used for calculation.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
blockchain, frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.