I wanted to export my trade history and had the "trades undefined" error, this pr fixes this. Would be great if you can check this out and confirm that this change doesnt break anything.
Thanks for the PR, it looks like it addresses cases where you "ran out of" trade history, I am merging it then I will handle the "no trades for that period" case too.
I wanted to export my trade history and had the "trades undefined" error, this pr fixes this. Would be great if you can check this out and confirm that this change doesnt break anything.