Zarathustra2 / TradeRepublicApi

Unofficial trade republic API
MIT License
277 stars 68 forks source link

get order by id incl. current status #29

Open deepbeat opened 1 year ago

deepbeat commented 1 year ago

hi,

first of all, great work guys! :-) I am just getting familar with the TRApi and playing arround a bit.

What makes me wonder is that when calling all_orders(callback) or curr_orders(callback) (which is obvious the same by the way), we only get back all orders with status "active", but we cannot see the "deleted" or executed ones anymore. Finding them via the hist and hist_event methods is quite difficult, because the ids there are completely different and I can only identify them by matching the timestamp.

So, do you see maybe another way to find a specific order and its probably changed status?

Thanks for any ideas!