BitShares Forum

Main => General Discussion => Topic started by: graffenwalder on January 21, 2015, 12:30:19 pm

Title: Is there a way to see all open orders?
Post by: graffenwalder on January 21, 2015, 12:30:19 pm
It's great that all bitasset markets are open now.
But is there a way, to show all open orders in the GUI?

If not, would it be hard to implement such a feature?
Title: Re: Is there a way to see all open orders?
Post by: xeroc on January 21, 2015, 12:33:49 pm
for all orders in the market
blockchain_market_list_asks USD BTS

for all orders YOU have open
wallet_account_order_list
Title: Re: Is there a way to see all open orders?
Post by: graffenwalder on January 21, 2015, 12:39:48 pm
for all orders in the market
blockchain_market_list_asks USD BTS

for all orders YOU have open
wallet_account_order_list

Ok, great thanks.
Now I just have to figure out what assetid number, corresponds with what asset and on which market.
Title: Re: Is there a way to see all open orders?
Post by: pc on January 21, 2015, 12:43:14 pm
See also blockchain_list_assets and blockchain_market_order_book.
Title: Re: Is there a way to see all open orders?
Post by: xeroc on January 21, 2015, 12:50:10 pm
Ok, great thanks.
Now I just have to figure out what assetid number, corresponds with what asset and on which market.

Code: [Select]
>>> blockchain_get_asset 22
{
  "id": 22,
  "symbol": "USD",
  "name": "United States Dollar",
  "description": "1 United States dollar",
  "public_data": "",
  "issuer_account_id": -2,
  "precision": 10000,
  "registration_date": "2014-07-19T03:18:40",
  "last_update": "2014-07-19T03:18:40",
  "current_share_supply": 8134842084,
  "maximum_share_supply": 1000000000000000,
  "collected_fees": 83485197,
  "flags": 0,
  "issuer_permissions": 4294967295,
  "transaction_fee": 0,
  "authority": {
    "required": 0,
    "owners": []
  },
  "last_proposal_id": 0
}
Title: Re: Is there a way to see all open orders?
Post by: graffenwalder on January 21, 2015, 12:53:31 pm
Ok, great thanks.
Now I just have to figure out what assetid number, corresponds with what asset and on which market.

Code: [Select]
>>> blockchain_get_asset 22
{
  "id": 22,
  "symbol": "USD",
  "name": "United States Dollar",
  "description": "1 United States dollar",
  "public_data": "",
  "issuer_account_id": -2,
  "precision": 10000,
  "registration_date": "2014-07-19T03:18:40",
  "last_update": "2014-07-19T03:18:40",
  "current_share_supply": 8134842084,
  "maximum_share_supply": 1000000000000000,
  "collected_fees": 83485197,
  "flags": 0,
  "issuer_permissions": 4294967295,
  "transaction_fee": 0,
  "authority": {
    "required": 0,
    "owners": []
  },
  "last_proposal_id": 0
}
Thanks, that makes it a lot easier.

Still I think this should be a GUI feature for 1.0, for everybody not used to command lines.
Title: Re: Is there a way to see all open orders?
Post by: svk on January 21, 2015, 01:07:47 pm
Last I checked the GUI does show all orders for a given asset combination in the market page, is that not the case for you?
Title: Re: Is there a way to see all open orders?
Post by: graffenwalder on January 21, 2015, 01:56:40 pm
Last I checked the GUI does show all orders for a given asset combination in the market page, is that not the case for you?
It does. But the problem is I'm playing on quit some markets. Sometimes I forget certain open orders.

I have the same problem with centralized exchanges. When I see my balance, but not sure in what market the order is. Most centralized exchanges have a tab, where you can see the open orders and on what market it is.
Title: Re: Is there a way to see all open orders?
Post by: svk on January 21, 2015, 01:57:54 pm
Last I checked the GUI does show all orders for a given asset combination in the market page, is that not the case for you?
It does. But the problem is I'm playing on quit some markets. Sometimes I forget certain open orders.

I have the same problem with centralized exchanges. When I see my balance, but not sure in what market the order is. Most centralized exchanges have a tab, where you can see the open orders and on what market it is.

Right I think I get it, you want a summary of all your open orders, regardless of market?
Title: Re: Is there a way to see all open orders?
Post by: graffenwalder on January 21, 2015, 02:03:31 pm
Last I checked the GUI does show all orders for a given asset combination in the market page, is that not the case for you?
It does. But the problem is I'm playing on quit some markets. Sometimes I forget certain open orders.

I have the same problem with centralized exchanges. When I see my balance, but not sure in what market the order is. Most centralized exchanges have a tab, where you can see the open orders and on what market it is.

Right I think I get it, you want a summary of all your open orders, regardless of market?
Right, just one tab, that shows for example:
Usd:euro ask xxx amount
Usd:BTS bid xxx amount
Etc......

And if you could click on a certain order to go to that market, that would be an added bonus.

Bonus number 2 would be: also showing the shorts on that page, with how much time is left to cover

Bonus 3: alert when your close to getting your margin called

Bonus 4: canceling orders from within that tab
Title: Re: Is there a way to see all open orders?
Post by: xeroc on January 21, 2015, 02:10:16 pm
You can add a feature request at github directly if you have an account .. if not drop me a line and i can add a feature request
Title: Re: Is there a way to see all open orders?
Post by: svk on January 21, 2015, 02:11:43 pm
Yes this would be useful indeed and deserves an issue on github imo.
Title: Re: Is there a way to see all open orders?
Post by: graffenwalder on January 21, 2015, 02:12:46 pm
You can add a feature request at github directly if you have an account .. if not drop me a line and i can add a feature request

Yeah have one, just under the bitshares issues?
https://github.com/BitShares/bitshares/issues
Title: Re: Is there a way to see all open orders?
Post by: svk on January 21, 2015, 02:13:38 pm
You can add a feature request at github directly if you have an account .. if not drop me a line and i can add a feature request

Yeah have one, just under the bitshares issues?
https://github.com/BitShares/bitshares/issues

In here rather:

https://github.com/BitShares/web_wallet/issues