News for hackers. Stuff that matters.
Re:Python toolkit for quantitative finance by conformist on Saturday June 29, 2024 @04:30PM (#40833166)
Re:Python toolkit for quantitative finance by nixpulvis on Saturday June 29, 2024 @04:38PM (#40833210)
What about the @plot_function bit? Also, wrapping dependency calls for a more consistent interface isn’t necessarily a bad thing.
Re:Python toolkit for quantitative finance by wepple on Saturday June 29, 2024 @07:42PM (#40834097)
It’s so bizarre my first reaction was that surely it must be so an LLM can make some kind of sense of it, otherwise what on earth are they doing?
Re:Python toolkit for quantitative finance by sk11001 on Saturday June 29, 2024 @04:39PM (#40833217)
Does someone have LOC as a performance indicator?
Re:Python toolkit for quantitative finance by ng12 on Saturday June 29, 2024 @04:42PM (#40833226)
Unironically probably. The only place I've ever worked that used LoC as a performance indicator was a hedge fund.
Re:Python toolkit for quantitative finance by heyoni on Saturday June 29, 2024 @04:32PM (#40833182)
The pointless act of "encapsulating" nothing? I see that a lot unfortunately =[
Re:Python toolkit for quantitative finance by IshKebab on Saturday June 29, 2024 @04:45PM (#40833243)
Presumably @plot_function does something. Also there are lots of other functions in the same API that are more than one line.

I suspect he wouldn't have thought it was over engineering if it didn't have such a long comment for one line of code... Which is silly.

[dead]
Re:Python toolkit for quantitative finance by conformist on Saturday June 29, 2024 @04:35PM (#40833196)
I’m a trader
Re:Python toolkit for quantitative finance by sonthonax on Saturday June 29, 2024 @04:56PM (#40833297)
Surely you've worked with other traders who get confused by import statements. Whole point of this file is to provide a common interface for common math operations that might be exposed by either plain python or pandas/numpy functions.

You're obviously not the target market if you're able to review good and bad code.

Re:Python toolkit for quantitative finance by whiplash451 on Saturday June 29, 2024 @05:59PM (#40833591)
That was unnecessarily mean. What did you mean?