BitShares Forum

Main => Technical Support => Topic started by: sharique-knysys on March 04, 2016, 10:34:23 am

Title: Fetch Highest Bid of Any Asset
Post by: sharique-knysys on March 04, 2016, 10:34:23 am
Hi,

I want to use wallet's function called sell_asset but I don't know what is market highest bid. I want to sell my assets on market's highest bid. How can I fetch highest market bid through wallet api or database api of any asset?
Title: Re: Fetch Highest Bid of Any Asset
Post by: xeroc on March 04, 2016, 02:40:46 pm
The call you are searching for is

get_limit_orders

The first entries give you highest bid and lowest ask
Title: Re: Fetch Highest Bid of Any Asset
Post by: Akado on March 04, 2016, 03:30:54 pm
The call you are searching for is

get_limit_orders

The first entries give you highest bid and lowest ask

Is there a place where we can see every call and what they do? On the .9 version we had access to the command line in the wallet and could see for ourselves.
Title: Re: Fetch Highest Bid of Any Asset
Post by: xeroc on March 04, 2016, 05:56:06 pm
Pres TAB twice or type 'help'