Adds a sell list to the appraisal tool, priced to undercut the cheapest sale order #78
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/appraisal-sell-undercut"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
The appraisal result gains a second export in the multi-sell panel, labelled in the owner's words: "Sell these items: undercut the cheapest sale order" at the basis hub's station, by 0.01.
The paste goes into the client's MultiSell window, which lists the items as NEW orders from hangar stock; that is the only route a paste can take, since ESI has no order writes and MultiSell cannot modify an order already on the market. Prices are EveSynapse's own swept station bests (market_station_stats), read live at render rather than from the stored snapshot, one bounded query for the appraisal's types. An item with no sale order at that station has no price to undercut: it is named as left out, never given an invented price.
Each hub region's main trade station is recorded beside the region list (marketHubStations) and exposed to modules as MarketHubStation on the deps contract.
Tests: TestAppraisalSellItemsUndercut seeds a Jita best sell of 6.40 for Tritanium and pins the rendered sell list (Tritanium 6.39) plus the left-out note for Pyerite, which prices off its estimate and has no Jita sell orders. All 27 appraisal tests pass.