gmosx / kraken-sdk-rust

A Rust SDK for working with Kraken APIs
Apache License 2.0
23 stars 14 forks source link

`query_orders_info` returns empty results #28

Closed gitmalong closed 11 months ago

gitmalong commented 11 months ago

Hi!

I am always getting an empty hash map when querying order ids (tried with open and closed orders). I tried it with order ids returned programmatically from add_limit_order but also with ones copied from Kraken's UI.

client.query_orders_info("<my-order-id>").send().await.unwrap();
assert!(res.len() > 0);

Any ideas on that?

Thanks

gitmalong commented 11 months ago

Found the reason: My API key setting Query end date/time was set to a old date.