market#

The guild market report: what to gather and what to craft for gold, from one auction house’s sale data.

The numbers come from a feed (POST /api/market/feed) that a price tracker sends for the guild’s auction house: each item’s current price, what it really sold for and how many sell a day, plus the recipes that use them. The site turns that feed into a daily and a weekly report, shown to guild members on the site and posted once a day by the bot. The report only covers raw materials and crafted goods; it never names single listings or resale deals. Money is copper (an int).

sidequest_common.schemas.market.MARKET_FEED_DAYS = 30#

Days of daily prices the feed carries for each item.

sidequest_common.schemas.market.MARKET_STALE_HOURS = 36#

the bot skips the day’s report and the site says so.

Type:

A feed older than this is too old to post

sidequest_common.schemas.market.MARKET_AH_CUT = 0.05#

The auction house’s cut of a sale at a faction house.

sidequest_common.schemas.market.MarketReportKind#
class sidequest_common.schemas.market.MarketFeedDay[source]#

Bases: pydantic.BaseModel

One day of an item’s prices in the feed.

day: datetime.date#
min_price: int#
market: int#
class sidequest_common.schemas.market.MarketFeedItem[source]#

Bases: pydantic.BaseModel

One item’s current numbers in the feed.

item_id: int#
name: str#
quality: str | None#
stack_size: int#
vendor_buy: int#
vendor_sell: int#
min_price: int#
quantity: int#
market: int#
sale_price: int#
sold_per_day: float#
days: list[MarketFeedDay]#
class sidequest_common.schemas.market.MarketFeedReagent[source]#

Bases: pydantic.BaseModel

One reagent of a recipe in the feed.

item_id: int#
quantity: int#
class sidequest_common.schemas.market.MarketFeedRecipe[source]#

Bases: pydantic.BaseModel

One recipe in the feed: what it makes and what it uses.

recipe_id: int#
name: str#
profession: str#
crafted_item_id: int#
crafted_quantity: float#
reagents: list[MarketFeedReagent]#
class sidequest_common.schemas.market.MarketFeed[source]#

Bases: pydantic.BaseModel

POST /api/market/feed: one auction house’s numbers. Replaces the previous feed for that house.

house_id: int#
house_name: str#
snapshot_at: datetime.datetime#
items: list[MarketFeedItem]#
recipes: list[MarketFeedRecipe]#
class sidequest_common.schemas.market.MarketFeedReceipt[source]#

Bases: pydantic.BaseModel

What the site stored from a feed.

items: int#
recipes: int#
class sidequest_common.schemas.market.MarketItemRef[source]#

Bases: pydantic.BaseModel

An item named in the report.

item_id: int#
name: str#
quality: str | None#
class sidequest_common.schemas.market.MarketPoint[source]#

Bases: pydantic.BaseModel

One day of an item’s price, for a small chart.

day: datetime.date#
price: int#
class sidequest_common.schemas.market.MarketZone[source]#

Bases: pydantic.BaseModel

A zone where a material can be gathered.

name: str#
min_level: int#
max_level: int#
class sidequest_common.schemas.market.MarketGatherPick[source]#

Bases: pydantic.BaseModel

A material worth gathering: what it sells for, how fast it sells, and where to get it.

item: MarketItemRef#
price: int#
stack_size: int#
stack_price: int#
sold_per_day: float#
change_pct: float | None#
skill: int#
min_level: int#
max_level: int#
zones: list[MarketZone]#
trend: list[MarketPoint]#
class sidequest_common.schemas.market.MarketGatherSection[source]#

Bases: pydantic.BaseModel

The best materials for one gathering profession.

profession: str#
picks: list[MarketGatherPick]#
class sidequest_common.schemas.market.MarketReagentLine[source]#

Bases: pydantic.BaseModel

One reagent of a craft, with its cost.

item: MarketItemRef#
quantity: int#
unit_price: int#
from_vendor: bool#
class sidequest_common.schemas.market.MarketCraftPick[source]#

Bases: pydantic.BaseModel

A craft worth making: what it sells for, what its materials cost, and how fast it sells.

recipe_id: int#
recipe_name: str#
item: MarketItemRef#
makes: float#
price: int#
mats_cost: int#
profit: int#
margin_pct: float#
sold_per_day: float#
change_pct: float | None#
cooldown_hours: float | None#
reagents: list[MarketReagentLine]#
trend: list[MarketPoint]#
class sidequest_common.schemas.market.MarketCraftSection[source]#

Bases: pydantic.BaseModel

The best crafts for one crafting profession.

profession: str#
picks: list[MarketCraftPick]#
class sidequest_common.schemas.market.MarketMover[source]#

Bases: pydantic.BaseModel

A material or craft whose price moved a lot.

item: MarketItemRef#
price: int#
change_pct: float#
profession: str#
class sidequest_common.schemas.market.MarketReport[source]#

Bases: pydantic.BaseModel

GET /api/market/report: what to gather and craft for gold on the guild’s auction house.

kind: MarketReportKind#
house_name: str#
data_at: datetime.datetime#
stale: bool#
period_start: datetime.date#
period_end: datetime.date#
gathering: list[MarketGatherSection]#
crafting: list[MarketCraftSection]#
risers: list[MarketMover]#
fallers: list[MarketMover]#