Tags
Creators
Details
Licensed ARR
Published 3 months ago
Updated 3 months ago
All versions
1.1.6
Release
TradeHub Markets 1.1.63 months ago 13
Compatibility
Minecraft: Java Edition
26.2
26.1.x
1.21.8–1.21.11
Platform
Paper
Changes
Changelog
1.1.6 - Bugfix: Purchases distorted portfolio performance & daily profit
- Fix: Simply purchasing new assets erroneously increased portfolio performance (1h/12h/day/week/total in %) and daily profit. Cause: Previously, these two statistics tracked only the raw stock value of the portfolio, without offsetting the cash spent to acquire them. When a purchase occurs, cash is merely converted into stock value—the raw stock value inevitably rises as a result, even though the actual net worth remains unchanged (aside from the small spread or fee actually paid). This issue was particularly pronounced for new players whose "Total" baseline was established only upon their very first purchase: a second purchase immediately afterward could cause "Total" performance to spike by tens of percent, even though no price movement had occurred.
- Solution: Portfolio performance and daily profit are now based on NET WORTH (current account balance + current stock value) rather than just the raw stock value. A purchase converts cash into stock value at a nearly 1:1 ratio (minus the spread/fee actually paid), meaning net worth remains virtually unchanged. Gains or losses now arise exclusively from actual price changes in held positions or from realized sales—exactly as intended.
- Total profit (cost-basis) was unaffected by this bug and remains correct. - Migration: Since old performance snapshots calculated using the flawed methodology are incompatible with the new methodology (the same stored figure would suddenly have a different meaning), the existing performance history (snapshots + "total" baseline) will be automatically reset once upon the first launch following this update. The display will then start fresh; portfolio holdings, cost basis, and total profit remain unaffected.
Projects on Modrinth are automatically available through a Maven repository for use with JVM build tools such as Gradle. To learn more about the Modrinth Maven API, click here.
Note: When available, you should use the creator's maven repo instead as it will have transitive dependency information that the Modrinth Maven API does not. You may also end up with duplicate dependencies if you use a mix of Modrinth and non-Modrinth Maven repositories for your dependencies, because the group identifier will be different when served through the Modrinth Maven API.
Maven coordinates:
Version ID:
build.gradle:
repositories {
exclusiveContent {
forRepository {
maven {
name = "Modrinth"
url = "https://api.modrinth.com/maven"
}
}
// forRepositories(fg.repository) // Uncomment when using ForgeGradle
filter {
includeGroup "maven.modrinth"
}
}
}
// Standard Gradle dependency
dependencies {
implementation "maven.modrinth:SAOUAfpN:cD0YMyU2"
}
// Legacy Loom dependency
dependencies {
modImplementation "maven.modrinth:SAOUAfpN:cD0YMyU2"
}

