BitShares Forum

Main => Technical Support => Topic started by: yangyinzd on June 18, 2017, 09:39:06 am

Title: Cli_wallet.exe, how to get the list of my open order for a specified account?
Post by: yangyinzd on June 18, 2017, 09:39:06 am
When running the Cli_wallet.exe, after importing my account and submitting an order, how can I get the list of my open order for my imported account?

I can only use the "get_account_history" command to find out the order id of my open order.

Thanks
Title: Re: Cli_wallet.exe, how to get the list of my open order for a specified account?
Post by: xeroc on June 19, 2017, 09:55:05 am
That's true .. the cli really sucks at this ..
you may want to look into "uptick" (https://uptick.rocks)
and use

 uptick openorders <accountname>
Title: Re: Cli_wallet.exe, how to get the list of my open order for a specified account?
Post by: pc on June 19, 2017, 10:32:35 am
I've always wondered about that, too. How does the web ui do it?
Title: Re: Cli_wallet.exe, how to get the list of my open order for a specified account?
Post by: xeroc on June 19, 2017, 10:59:44 am
You can get all open orders using "get_full_accounts()" through the backend API. There is a key `limit_orders`
Title: Re: Cli_wallet.exe, how to get the list of my open order for a specified account?
Post by: pc on June 19, 2017, 11:28:46 am
Thanks!
Title: Re: Cli_wallet.exe, how to get the list of my open order for a specified account?
Post by: yangyinzd on July 02, 2017, 03:19:03 am
You can get all open orders using "get_full_accounts()" through the backend API. There is a key `limit_orders`

Thanks for your reply.

However, it shows that: no method with name 'get_full_accounts'.

Could you give me more detailed information?

Thanks
Title: Re: Cli_wallet.exe, how to get the list of my open order for a specified account?
Post by: xeroc on July 04, 2017, 03:42:00 pm
The cli wallet doesn't have that call .. only the backend has

Code: [Select]
curl --data '{"id":1, "method":"call", "params":[0,"get_full_accounts",[["xeroc"], false]]}' https://node.bitshares.eu