ta4j icon indicating copy to clipboard operation
ta4j copied to clipboard

LinearBorrowingCostModel calculates cost only for shorts

Open sgflt opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe.

https://github.com/ta4j/ta4j/blob/607cd8c451da6ddcfe2ca19042e4eed62ccc698f/ta4j-core/src/main/java/org/ta4j/core/analysis/cost/LinearBorrowingCostModel.java#L78-L87

Describe the solution you'd like Leveraged longs also have borrowing costs.

sgflt avatar Dec 09 '24 17:12 sgflt

Agreed.

TheCookieLab avatar Dec 10 '24 19:12 TheCookieLab