bitshares / bitshares/bitshares-ui

Expand Price Alerts to Stop-Loss/Take-Profit orders

Open
#2,240 5 comments 0 reactions 0 assignees View on GitHub
[1b] User Story [2] Needs Discussion [3] Feature [5d] Large [7] Estimated
Dominant language
JavaScript
Stars
520
Forks
575
Avg merge
12h 7m
Merged PRs (30d)
5

Description

The price alerts of the latest version can be expanded into stop-loss and take-profit orders.

Idea:
Price alerts get a "add order" button, which signs a respective sell order on price alert creation, but does not broadcast it. It will only get broadcast when the price alert is triggered. It could also ask the user to sign when the price alert is triggered, but that forces a split second decision of the user, which would be unfavorible.

Thoughts?

**Related**
#406

Contributor guide

Open the contributing guide

Research direction

No files or tests are named. Start by tracing the existing price-alert implementation and reviewing related issue #406; clarify how orders are signed, stored, and broadcast when an alert triggers. Done means price alerts can support stop-loss and take-profit orders with the proposed signing and broadcast behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
blockchain, frontend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
20/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.