I was messing with the contract duration, and I think it's not working correctly. Or I don't understand it.
When I first tried it, the maximum barrel price under contract was the $3 from the initial costs, +an increasing number depending on duration, 300 weeks was increasing the price by $7.8, to a total maximum of market price + $3 initial costs + $7.8 for duration. I don't remember the market price at the time, but I believe it was ~$55. I din't test it with a 150w duration.
The price is now $48.94, a 300w contract brings the price to $59.47, that's +$10.53, +$3 for initial costs. That's ok, that makes lower prices not absurdly lucrative.
But then, a 150 week contract bring the price to $70 (+$3). That doesn't make* any sense afaik.
Even worse, durations >151 (until 300), all have the price fixed at $59.47. (the same as a 75w contract).
Is this intended?
--Edit: The price is $50 now, every 1 week increase the barrel price by 0.135 (so it's actually 0.13-0.14-0.13-0.14...) until it reaches $70 at w150. After w150 it's $60.
I don't know how you're increasing the price per week, but it seems you're doing something like totalprice = marketprice + ((average - market price) / 150) * duration for the first 150 weeks, after that IDK