Tuesday, October 18, 2022

Rust problem: trader v2

My first trader consumed:

asset,amount,value

And gave an average value and total amount for each asset.

Incomplete.

SO!

Our next version will account for assets sold in valuation, based upon this csv.


Figure it out. 😳
Hint-...ish?

If you're selling an asset that you don't have a record of, then that could be considered seed capital: it's price-valuation won't be impacted by the sale.

 

No comments:

Post a Comment