pekam / ameba-ts

A multi-asset backtester for TypeScript
MIT License
2 stars 0 forks source link

Partial exits #5

Open TomKaltz opened 9 months ago

TomKaltz commented 9 months ago

Are partial exits of a position possible?

pekam commented 9 months ago

Not a this moment. I made a shortcut in the beginning of the project by considering the trading process as simply entering a position at single point and exiting at single point. That helped me to get the ball rolling and I haven't needed partial enters or exits myself, so I haven't implemented support for those yet. I'd like to get those included some day though, but can't make any promises.

Anyway, thanks for checking out my project. If you have any other feedback, I'd love to hear it. :)