Author [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] [EN] [ZH] [ES] [PT] [IT] [DE] [FR] [NL] [TR] [SR] [AR] [RU] Topic: Sorting margin call orders by expiry in the client  (Read 294 times)

0 Members and 1 Guest are viewing this topic.

Offline starspirit

  • Hero Member
  • *****
  • Posts: 948
  • Financial markets pro over 20 years
    • View Profile
  • BTS: starspirit
Sorting margin call orders by expiry in the client
« on: November 06, 2014, 01:19:06 AM »

When I try to sort margin call orders on BitUSD in the client v04.23.1 by expiration, by clicking the arrow next to the header "EXPIRATION", the table does not appear to order correctly for me. Some expirations are recorded as a date, while others are recorded as a number of days, but even despite that they do not appear to have any sort of ascending or descending order.

I would like to monitor this for upcoming expiries.

Thanks

Offline alt

Re: Sorting margin call orders by expiry in the client
« Reply #1 on: November 06, 2014, 01:29:40 AM »
I have a command tool for this
Code: [Select]
                 USD
2014-11-05          2.9999 USD
2014-11-07          0.5499 USD
2014-11-09        3392.968 USD
2014-11-10         49.9999 USD
2014-11-11        279.9936 USD
2014-11-12        499.9999 USD
2014-11-13          1.0004 USD
2014-11-15        8269.259 USD
2014-11-16          0.1727 USD
2014-11-17       5020.4607 USD
2014-11-18      66758.5508 USD
2014-11-19       1526.1668 USD
2014-11-20        444.0057 USD
2014-11-21        430.3053 USD
2014-11-27     778482.2726 USD
2014-11-28          0.0999 USD
2015-08-26          0.9999 USD
2015-08-27       2199.9997 USD
2015-08-28          52.024 USD
2015-08-29      56880.1341 USD
2015-09-02         33982.9 USD
2015-09-04       1877.2889 USD
2015-09-11        426.0661 USD
2015-09-13       1858.7402 USD
2015-09-15           200.0 USD
2015-09-17          0.0059 USD
2015-09-19       1226.0169 USD
2015-09-29          0.0001 USD
Code: [Select]
                 CNY
2014-11-09        249.9999 CNY
2014-11-23      75949.9625 CNY
2014-11-27         95.1048 CNY
2014-11-29      15909.7523 CNY
2014-12-01       9999.9999 CNY
2014-12-05        119.3987 CNY
2015-09-10          0.0001 CNY
2015-09-13       3500.9999 CNY
2015-09-15        240.2156 CNY
2015-09-16        110.0669 CNY
2015-09-17      202007.797 CNY
2015-09-19       1181.2958 CNY

Offline starspirit

  • Hero Member
  • *****
  • Posts: 948
  • Financial markets pro over 20 years
    • View Profile
  • BTS: starspirit
Re: Sorting margin call orders by expiry in the client
« Reply #2 on: November 06, 2014, 02:30:27 AM »
I have a command tool for this
Code: [Select]
                 USD
2014-11-05          2.9999 USD
2014-11-07          0.5499 USD
2014-11-09        3392.968 USD
2014-11-10         49.9999 USD
2014-11-11        279.9936 USD
2014-11-12        499.9999 USD
2014-11-13          1.0004 USD
2014-11-15        8269.259 USD
2014-11-16          0.1727 USD
2014-11-17       5020.4607 USD
2014-11-18      66758.5508 USD
2014-11-19       1526.1668 USD
2014-11-20        444.0057 USD
2014-11-21        430.3053 USD
2014-11-27     778482.2726 USD
2014-11-28          0.0999 USD
2015-08-26          0.9999 USD
2015-08-27       2199.9997 USD
2015-08-28          52.024 USD
2015-08-29      56880.1341 USD
2015-09-02         33982.9 USD
2015-09-04       1877.2889 USD
2015-09-11        426.0661 USD
2015-09-13       1858.7402 USD
2015-09-15           200.0 USD
2015-09-17          0.0059 USD
2015-09-19       1226.0169 USD
2015-09-29          0.0001 USD
Code: [Select]
                 CNY
2014-11-09        249.9999 CNY
2014-11-23      75949.9625 CNY
2014-11-27         95.1048 CNY
2014-11-29      15909.7523 CNY
2014-12-01       9999.9999 CNY
2014-12-05        119.3987 CNY
2015-09-10          0.0001 CNY
2015-09-13       3500.9999 CNY
2015-09-15        240.2156 CNY
2015-09-16        110.0669 CNY
2015-09-17      202007.797 CNY
2015-09-19       1181.2958 CNY
Do you mean a command written into the Console? How does it work? Also, do expiries have a time of day attached, or do they all cover at the same time on any day?

Offline xeroc

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 12280
  • ChainSquad GmbH
    • View Profile
    • ChainSquad GmbH
  • BTS: xeroc
  • GitHub: xeroc
Re: Sorting margin call orders by expiry in the client
« Reply #3 on: November 06, 2014, 07:26:28 AM »
it's probably not built-in .. but uses the RPC-API to connect to the BTSX client ..

regarding the OP, could you submit a bug report @https://github.com/BitShares/web_wallet/issues ?
Give BitShares a try! Use the http://testnet.bitshares.eu provided by http://bitshares.eu powered by ChainSquad GmbH

Offline starspirit

  • Hero Member
  • *****
  • Posts: 948
  • Financial markets pro over 20 years
    • View Profile
  • BTS: starspirit
Re: Sorting margin call orders by expiry in the client
« Reply #4 on: November 06, 2014, 08:03:18 AM »
it's probably not built-in .. but uses the RPC-API to connect to the BTSX client ..

regarding the OP, could you submit a bug report @https://github.com/BitShares/web_wallet/issues ?
Ok I've now done that and will do so for future bugs.
For interest I worked out the problem is that the sorting is alphabetical, and also expirations have different formats.

 

Google+