ta4j
ta4j copied to clipboard
LinearBorrowingCostModel calculates cost only for shorts
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.
Agreed.