# Trading Algorithm

The trading algorithm in BLOCKLORDS governs the dynamics of the marketplace, offering a dynamic and responsive trading environment:

1. **Marketplace Dynamics**: It's important to note that the marketplace is subject to change and balancing, as the game evolves. Players should be aware of potential adjustments and updates.
2. **Item Availability**: The items available in the market undergo a refresh every hour. This periodic refresh ensures a dynamic inventory for trading.
3. **Price Variation**: Prices of items in the market are subject to random research every hour, following predefined price ranges. This introduces variability into the pricing of resources.
4. **Real-Time Price Updates**: Prices are updated every 10 minutes based on the dynamic buy and sell activity of players within the game. This real-time adjustment mechanism reflects market supply and demand.
5. **Volume Impact**: Trading volumes play a significant role in price determination. If there are numerous buy orders, it increases the buying price, while high sales volumes decrease the selling price. Conversely, low buy volumes can lower the buying price, and low sell volumes can increase the selling price.

<br>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://wiki.blocklords.com/game-mechanics/world-map/cities/city-buildings/marketplace/market-mechanics/trading-algorithm.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
