So a position has num_shares but when opening a position you have nshares
I fought with this last night for quite a while just based on expectation that it would have been consistent across the implementation, not sure if this is by design or just different period of development, but it would seem they should be one in the same?
https://github.com/MiniXC/simple-back/blob/master/simple_back/backtester.py#L1312 https://github.com/MiniXC/simple-back/blob/master/simple_back/backtester.py#L137
So a position has
num_shares
but when opening a position you havenshares
I fought with this last night for quite a while just based on expectation that it would have been consistent across the implementation, not sure if this is by design or just different period of development, but it would seem they should be one in the same?
Just a small nag, and open for discussion.