Add custom fields earlier
Don't store datetime; calculate ad hoc

CPU is cheap, this is np - also simplifies planned JSON serialization
Keep price history state in file