Skip to content

Operation to modify existing limit order #1604

@nathanielhourt

Description

@nathanielhourt

User Story
As a market maker I (would) want an operation to modify an existing limit order so that order walls in the markets can be maintained cheaply.

Technically, this isn't for me, but @litepresence in Telegram has requested it, and it's an easy win, so I say we do it.

Impacts
Describe which portion(s) of BitShares Core may be impacted by your request. Please tick at least one box.

  • API (the application programming interface)
  • Build (the build process or something prior to compiled code)
  • CLI (the command line wallet)
  • Deployment (the deployment process after building such as Docker, Travis, etc.)
  • DEX (the Decentralized EXchange, market engine, etc.)
  • P2P (the peer-to-peer network for transaction/block propagation)
  • Performance (system or user efficiency, etc.)
  • Protocol (the blockchain logic, consensus, validation, etc.)
  • Security (the security of system or user data, etc.)
  • UX (the User Experience)
  • Other (please add below)

Additional Context (optional)
At present, modifying a limit order on the books requires a cancel/create combo, which is a double fee. Now that the fees have risen, there is some pressure to add a limit_order_update_operation which will allow for cheaply updating limit orders.

There are two ways to modify a limit order: update the price, or update the amount. Updating the price should be extremely cheap, as this involves only a modification to one small object and re-sorting the order books. Updating the amount should cost around twice as much, as it also involves modifying the account balance.

Question: what should the fees be set to?

CORE TEAM TASK LIST

  • Evaluate / Prioritize Feature Request
  • Refine User Stories / Requirements
  • Define Test Cases
  • Design / Develop Solution
  • Perform QA/Testing
  • Update Documentation

Metadata

Metadata

Assignees

Labels

1b User StoryThe User Story details a requirement. It may reference a parent Epic. It may reference child Task(s)2b Gathering RequirementsStatus indicating currently refining User Stories and defining Requirements3b FeatureClassification indicating the addition of novel functionality to the design5a Docs NeededStatus specific to Documentation indicating the need for proper documentation to be added6 APIImpact flag identifying the application programing interface (API)6 DEXImpact flag identifying the Decentralized EXchange, market engine, etc.6 ProtocolImpact flag identifying the blockchain logic, consensus, validation, etc.hardfork

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions