Could you please explain this complexity? ELI5 even?
You never settle the trades?
Dividends etc?
Hmm maybe I am 5...
Edit: ok yep so I guess what if they repeated the analysis leaving some time around open/close for chance of trades to settle, would the effect disappear or would this chance beef the key factor for the reported gain?
Settlement is when you actually own the stock you bought and the seller actually gets your money. That happens a couple of days after the trade. In the meantime it’s just “as if” but not quite and that has practical consequences. For example you can’t take your money out of the brokerage account until it’s really there.
If you use only structs, lists, numbers and strings, print is perfect. It supports circular structure when PRINT-CIRCLE is true.
For custom classes you have to define custom printing methods, because, well, how you print a particular object readably has no general answer: for example, for some data (streams, threads), it makes no sense to serialize them. Java has the "transient" keyword to avoid serializing some fields in classes. You should also set PRINT-READABLY to T so that you have an error if an object cannot be printed readably.
Also, Common Lisp has to serialize values into FASL files when compiling them, but it can do it only for its own types. You can use LOAD-TIME-VALUE to have a form evaluated at load time, and MAKE-LOAD-FORM is a generic function that you can specialize to print a form which, when read, allocates and initializes objects at load-time.
For your own classes, it is sufficient to use the helper function MAKE-LOAD-FORM-SAVING-SLOTS.
If you were to use this, would you really want to give all your detailed financial information to someone else? Who else do you give that info to? So desktop definitely good idea.
You never settle the trades? Dividends etc?
Hmm maybe I am 5...
Edit: ok yep so I guess what if they repeated the analysis leaving some time around open/close for chance of trades to settle, would the effect disappear or would this chance beef the key factor for the reported gain?