Almost there. The rules only cover the purchase price, not dTons or anything like that. Currently I am defaulting to 1/25 of the cost for the tonnage, and yo can now purchase speculative trade items. The other major difference is that the is no haggling over the purchase price, just the selling price (i.e., the actual value table is only for selling items). So that was also an interesting twist. So when you purchase a spec trade in T5, it just subtracts from your credits and cargo hold.
I still need to pass in the cargo code, and need to come up with a better way of generating what it is you are buying from the list of cargos. And I want to make the tonnage adjustable by the user which should be easy enough. I now see a better way possibly of integrating the Classic with T5, but that's okay. The code has gotten a lot messier than I like, but apparently that's how I code.
I did add a flag to the version table: CanAlterPurchasePrice. This way we can turn that on/off it you want to be able to haggle.
But some progress was made at least.
I am really itching to play or referee again. I was talking with a guy at the gym who may be interested, and I know John would play again, either as his previous Scout character or we can roll up a new one. I may do the each player rolls up 2 characters so we have enough for a ship crew, depending on how many players play. And I've gotten in touch with the guys I used to play Traveller back in college, almost 35 years ago. Maybe a Roll20 version would work out.