Use of strongly typed Span for pattern indicators. #12
Replies: 1 comment
-
|
Hi @markhammond. Thanks for reaching out. As for Currently, I am trying to establish the final contract for functions, release a new version, and then continue working on internal refactorings. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi @hmG3 !
Your modernisation changes look great, especially adopting Span. This enables (safe) incremental computation, something other C# TA-Lib ports lack.
I was intending to abstract over indicator outputs, and the introduction of strong(er) typing can make this difficult. Maybe I am over thinking this.
Are you sure you want to introduce a strongly typed Span<Core.CandlePatternType> for pattern indicators?
One alternative would be to provide an interface to query the underlying type for each indicator output.
Beta Was this translation helpful? Give feedback.
All reactions