5 ms·
> If they're using a dynamically typed language to do monetary calculations, it's not going to be ideal. I think this is an inaccurate take. No one in finance
by singhrac 6y ago
> If they're using a dynamically typed language to do monetary calculations, it's not going to be ideal.
I think this is an inaccurate take. No one in finance is doing accounting or model estimation using Python's floats; they are using numpy's float32 (or float64) type instead. I think a more accurate version of what you're saying is that static type checking is useful when modeling complicated contracts; this might be true, but I think it's not that important, as those things aren't that liquid anyway.
Jane Street's decision to use OCaml is almost as much about hiring and history as it is about language features.
- twic 6y ago> No one in finance is doing accounting or model estimation using Python's floats We are. When your input data only has five significant figures, and probably less than that of real information, numerical accuracy is the least of your worries.
- deleted 6y ago[deleted]
- aldanor 6y agoOr, they're using ints instead, at least for market data.
- proverbialbunny 6y agoFixed precision types technically. Internally they are an int under the hood, so yah basically that.