Author Topic: Dry Run 12: Call Me Maybe  (Read 13189 times)

0 Members and 1 Guest are viewing this topic.

Offline bytemaster

Dry Run 13 has launched...
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
Preparing for dry run 13 with FDIC
Do not use this post as information for making any important decisions. The only agreements I ever make are informal and non-binding. Take the same precautions as when dealing with a compromised account, scammer, sockpuppet, etc.

Offline ElMato

  • Sr. Member
  • ****
  • Posts: 288
    • View Profile
I don't think so:


In blockchain_market_list_asks:

ask_order   1,000.00000 XTS     0.1 USD / XTS                 1,000.00000 XTS     100.0000 USD        N/A                 XTSNnVs9DkK2GvL5Lpr9nocQku9RuU5CXdTx

Looks like a bug in the wallet...

I've somehow been hit lots of bugs, I couldn't do any real testing.
1) All my orders short are marked as "expired," but I think they were actually executed since I saw them in the Margins list. Neither XTS nor USD showed up back in my account after they were executed or expired:
Code: [Select]
>>> wallet_account_transaction_history
 RECEIVED            BLOCK     FROM                TO                  AMOUNT                  MEMO                                        FEE                 ID     
========================================================================================================================================================================
|2014-07-17T00:00:06 0         GENESIS             maqifrnswa          60,525.43383 XTS        claim Ppf3WEcqakR7CarJWYQ41D5H7UWZKTz5vd    0.00000 XTS         [5afce1]|
|                              GENESIS             maqifrnswa          247.73200 XTS           claim Pn5cHQPYxzJAso16hpvCCSjj7HEnuccJbs                                |
|                              GENESIS             maqifrnswa          5,958.39818 XTS         claim 1DXCqXn8M7VJ7c1K5H5qhMSkZKkpSesQ8o                                |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 2014-08-09T13:59:35 5485      maqifrnswa          maqifrnswa          0.00000 XTS             register maqifrnswa as a delegate           0.11525 XTS         11a1426e
 2014-08-09T14:03:06 5503      maqifrnswa          maqifrnswa          66,700.00000 XTS                                                    0.10000 XTS         62df82ab
 2014-08-09T22:03:27 8316      maqifrnswa          ASK-Eb6YL3Da        200.00000 XTS           sell XTS @ 0.8 USD / XTS                    0.10000 XTS         f4f14494
 2014-08-10T03:33:53 10271     maqifrnswa          maqifrnswa          25.00000 XTS            payday                                      0.10000 XTS         b9430368
 2014-08-09T14:12:29 EXPIRED   maqifrnswa          maqifrnswa          0.00000 XTS             publish price 0.0089 USD / XTS              0.10000 XTS         8086563d
 2014-08-09T16:28:22 EXPIRED   maqifrnswa          maqifrnswa          0.00000 XTS             publish price 0.0089 USD / XTS              0.10000 XTS         3bbba831
 2014-08-09T18:05:12 EXPIRED   maqifrnswa          SHORT-52EbKeU2      20,000.00000 XTS        short USD @ 0.001 USD / XTS                 0.10000 XTS         8665298f
 2014-08-09T18:09:57 EXPIRED   maqifrnswa          SHORT-FdvENaSr      20,000.00000 XTS        short USD @ 0.001 USD / XTS                 0.10000 XTS         9d9439b6
 2014-08-09T18:12:08 EXPIRED   maqifrnswa          SHORT-E71n3Gpz      2,222.22222 XTS         short USD @ 0.00899999999999999 USD / XTS   0.10000 XTS         02e37e94
 2014-08-09T18:12:30 EXPIRED   maqifrnswa          SHORT-M6Nu8RuU      1,818.18181 XTS         short USD @ 0.011 USD / XTS                 0.10000 XTS         274aa40a
 2014-08-09T18:15:07 EXPIRED   maqifrnswa          SHORT-PqwyGr13      2,000.00000 XTS         short USD @ 0.01 USD / XTS                  0.10000 XTS         3a65cc6f
 2014-08-09T18:15:19 EXPIRED   maqifrnswa          SHORT-GRG2ARbK      2,000.00000 XTS         short USD @ 0.01 USD / XTS                  0.10000 XTS         75c582ac
 2014-08-09T18:19:32 EXPIRED   maqifrnswa          SHORT-AQv4pniC      2,222.22222 XTS         short USD @ 0.00899999999999999 USD / XTS   0.10000 XTS         32e5141e
 2014-08-09T20:49:46 EXPIRED   maqifrnswa          SHORT-7toteVvL      2,222.22222 XTS         short USD @ 0.00899999999999999 USD / XTS   0.10000 XTS         0396d67a
 2014-08-09T21:13:31 EXPIRED   maqifrnswa          ASK-AAFGJvuW        14,000.00000 XTS        sell XTS @ 0.012 USD / XTS                  0.10000

60,000 XTS are missing:
Code: [Select]
>>> wallet_account_balance maqifrnswa
ACCOUNT                         BALANCE                     
============================================================
maqifrnswa                      70.30029 XTS               
                                4.12144 XTS (pay)

2) I can't cancel any order:
Code: [Select]
>>> wallet_market_cancel_order XTSAAFGJvuWzdJ1EdyQb9i2eENcMAQArKxxc
20011 unknown_market_order: unknown market order

    {"owner_address":"XTSAAFGJvuWzdJ1EdyQb9i2eENcMAQArKxxc"}
    th_a  wallet.cpp:3868 cancel_market_order

    {"owner_address":"XTSAAFGJvuWzdJ1EdyQb9i2eENcMAQArKxxc"}
    th_a  wallet.cpp:3948 cancel_market_order

    {}
    th_a  common_api_client.cpp:1427 wallet_market_cancel_order

    {"command":"wallet_market_cancel_order"}
    th_a  cli.cpp:544 execute_command
--- there are now 9 active connections to the p2p network
--- there are now 10 active connections to the p2p network
default (unlocked) >>> wallet_market_cancel_order XTSAAFGJvuWzdJ1EdyQb9i2eENcMAQArKxxc
20011 unknown_market_order: unknown market order

    {"owner_address":"XTSAAFGJvuWzdJ1EdyQb9i2eENcMAQArKxxc"}
    th_a  wallet.cpp:3868 cancel_market_order

    {"owner_address":"XTSAAFGJvuWzdJ1EdyQb9i2eENcMAQArKxxc"}
    th_a  wallet.cpp:3948 cancel_market_order

    {}
    th_a  common_api_client.cpp:1427 wallet_market_cancel_order

    {"command":"wallet_market_cancel_order"}
    th_a  cli.cpp:544 execute_command

neither the "expired" shorts nor the pending asks are can be cancelled.

3) After a day, suddenly all of my "expired" short sales, which I did not have access to USD from nor could cover or cancel got called:
Code: [Select]
>>> wallet_account_transaction_history
 RECEIVED            BLOCK     FROM                TO                  AMOUNT                  MEMO                                        FEE                 ID     
========================================================================================================================================================================
|2014-07-17T00:00:06 0         GENESIS             maqifrnswa          60,525.43383 XTS        claim Ppf3WEcqakR7CarJWYQ41D5H7UWZKTz5vd    0.00000 XTS         [5afce1]|
|                              GENESIS             maqifrnswa          247.73200 XTS           claim Pn5cHQPYxzJAso16hpvCCSjj7HEnuccJbs                                |
|                              GENESIS             maqifrnswa          5,958.39818 XTS         claim 1DXCqXn8M7VJ7c1K5H5qhMSkZKkpSesQ8o                                |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 2014-08-09T13:59:35 5485      maqifrnswa          maqifrnswa          0.00000 XTS             register maqifrnswa as a delegate           0.11525 XTS         11a1426e
 2014-08-09T14:03:06 5503      maqifrnswa          maqifrnswa          66,700.00000 XTS                                                    0.10000 XTS         62df82ab
 2014-08-09T22:03:27 8316      maqifrnswa          ASK-Eb6YL3Da        200.00000 XTS           sell XTS @ 0.8 USD / XTS                    0.10000 XTS         f4f14494
 2014-08-10T03:33:53 10271     maqifrnswa          maqifrnswa          25.00000 XTS            payday                                      0.10000 XTS         b9430368
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-11T12:37:39 18238     COVER-M6Nu8RuU      MARKET              2,857.12857 XTS         sell collateral @ 0.007 USD / XTS           38.96175 XTS        [a4756d]|
|                              MARKET              COVER-M6Nu8RuU      19.9999 USD             payoff debt @ 0.007 USD / XTS                                           |
|                              COVER-M6Nu8RuU      maqifrnswa          740.27325 XTS           cover proceeds - 5% margin call fee                                     |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-11T12:37:39 18250     COVER-PqwyGr13      MARKET              1.00000 XTS             sell collateral @ 0.006 USD / XTS           0.00000 XTS         [cd9152]|
|                              MARKET              COVER-PqwyGr13      0.0060 USD              payoff debt @ 0.006 USD / XTS                                           |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-11T12:37:39 18256     COVER-GRG2ARbK      MARKET              3,333.33333 XTS         sell collateral @ 0.006 USD / XTS           33.33333 XTS        [04cfae]|
|                              MARKET              COVER-GRG2ARbK      20.0000 USD             payoff debt @ 0.006 USD / XTS                                           |
|                              COVER-GRG2ARbK      maqifrnswa          633.33327 XTS           cover proceeds - 5% margin call fee                                     |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-11T12:37:39 18256     COVER-PqwyGr13      MARKET              3,332.33333 XTS         sell collateral @ 0.006 USD / XTS           33.33333 XTS        [8e5589]|
|                              MARKET              COVER-PqwyGr13      19.9940 USD             payoff debt @ 0.006 USD / XTS                                           |
|                              COVER-PqwyGr13      maqifrnswa          633.33327 XTS           cover proceeds - 5% margin call fee                                     |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-11T13:50:30 22146     ASK-AAFGJvuW        MARKET              1,065.37500 XTS         fill ask @ 0.012 USD / XTS                  0.00000 XTS         [7c5889]|
|                              ASK-AAFGJvuW        maqifrnswa          12.7845 USD             ask proceeds @ 0.012 USD / XTS                                          |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-11T14:11:10 22265     ASK-AAFGJvuW        MARKET              10,000.00000 XTS        fill ask @ 0.012 USD / XTS                  0.00000 XTS         [f8d1ec]|
|                              ASK-AAFGJvuW        maqifrnswa          120.0000 USD            ask proceeds @ 0.012 USD / XTS                                          |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 2014-08-09T14:12:29 EXPIRED   maqifrnswa          maqifrnswa          0.00000 XTS             publish price 0.0089 USD / XTS              0.10000 XTS         8086563d
 2014-08-09T16:28:22 EXPIRED   maqifrnswa          maqifrnswa          0.00000 XTS             publish price 0.0089 USD / XTS              0.10000 XTS         3bbba831
 2014-08-09T18:05:12 EXPIRED   maqifrnswa          SHORT-52EbKeU2      20,000.00000 XTS        short USD @ 0.001 USD / XTS                 0.10000 XTS         8665298f
 2014-08-09T18:09:57 EXPIRED   maqifrnswa          SHORT-FdvENaSr      20,000.00000 XTS        short USD @ 0.001 USD / XTS                 0.10000 XTS         9d9439b6
 2014-08-09T18:12:08 EXPIRED   maqifrnswa          SHORT-E71n3Gpz      2,222.22222 XTS         short USD @ 0.00899999999999999 USD / XTS   0.10000 XTS         02e37e94
 2014-08-09T18:12:30 EXPIRED   maqifrnswa          SHORT-M6Nu8RuU      1,818.18181 XTS         short USD @ 0.011 USD / XTS                 0.10000 XTS         274aa40a
 2014-08-09T18:15:07 EXPIRED   maqifrnswa          SHORT-PqwyGr13      2,000.00000 XTS         short USD @ 0.01 USD / XTS                  0.10000 XTS         3a65cc6f
 2014-08-09T18:15:19 EXPIRED   maqifrnswa          SHORT-GRG2ARbK      2,000.00000 XTS         short USD @ 0.01 USD / XTS                  0.10000 XTS         75c582ac
 2014-08-09T18:19:32 EXPIRED   maqifrnswa          SHORT-AQv4pniC      2,222.22222 XTS         short USD @ 0.00899999999999999 USD / XTS   0.10000 XTS         32e5141e
 2014-08-09T20:49:46 EXPIRED   maqifrnswa          SHORT-7toteVvL      2,222.22222 XTS         short USD @ 0.00899999999999999 USD / XTS   0.10000 XTS         0396d67a
 2014-08-09T21:13:31 EXPIRED   maqifrnswa          ASK-AAFGJvuW        14,000.00000 XTS        sell XTS @ 0.012 USD / XTS                  0.10000 XTS         7ca9c194

After they were called, I got access to USD in my account, finally:
Code: [Select]
>>> wallet_account_balance maqifrnswa
ACCOUNT                         BALANCE                     
============================================================
maqifrnswa                      132.7845 USD               
                                2,077.24027 XTS             
                                68.17919 XTS (pay)

Maybe this has something to do with making orders before the market was un-frozen?


Exact same problem here.
After some time my shorts get canceled and my XTS balance was back.
I tried resending the pending transactions without luck.

Offline bytemaster

I am fairly certain your issues are wallet <-> blockchain sync/caching issues.   We are looking into many of these right now.  Thanks for reporting them.

 
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline maqifrnswa

  • Hero Member
  • *****
  • Posts: 661
    • View Profile
I don't think so:


In blockchain_market_list_asks:

ask_order   1,000.00000 XTS     0.1 USD / XTS                 1,000.00000 XTS     100.0000 USD        N/A                 XTSNnVs9DkK2GvL5Lpr9nocQku9RuU5CXdTx

Looks like a bug in the wallet...

I've somehow been hit lots of bugs, I couldn't do any real testing.
1) All my orders short are marked as "expired," but I think they were actually executed since I saw them in the Margins list. Neither XTS nor USD showed up back in my account after they were executed or expired:
Code: [Select]
>>> wallet_account_transaction_history
 RECEIVED            BLOCK     FROM                TO                  AMOUNT                  MEMO                                        FEE                 ID     
========================================================================================================================================================================
|2014-07-17T00:00:06 0         GENESIS             maqifrnswa          60,525.43383 XTS        claim Ppf3WEcqakR7CarJWYQ41D5H7UWZKTz5vd    0.00000 XTS         [5afce1]|
|                              GENESIS             maqifrnswa          247.73200 XTS           claim Pn5cHQPYxzJAso16hpvCCSjj7HEnuccJbs                                |
|                              GENESIS             maqifrnswa          5,958.39818 XTS         claim 1DXCqXn8M7VJ7c1K5H5qhMSkZKkpSesQ8o                                |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 2014-08-09T13:59:35 5485      maqifrnswa          maqifrnswa          0.00000 XTS             register maqifrnswa as a delegate           0.11525 XTS         11a1426e
 2014-08-09T14:03:06 5503      maqifrnswa          maqifrnswa          66,700.00000 XTS                                                    0.10000 XTS         62df82ab
 2014-08-09T22:03:27 8316      maqifrnswa          ASK-Eb6YL3Da        200.00000 XTS           sell XTS @ 0.8 USD / XTS                    0.10000 XTS         f4f14494
 2014-08-10T03:33:53 10271     maqifrnswa          maqifrnswa          25.00000 XTS            payday                                      0.10000 XTS         b9430368
 2014-08-09T14:12:29 EXPIRED   maqifrnswa          maqifrnswa          0.00000 XTS             publish price 0.0089 USD / XTS              0.10000 XTS         8086563d
 2014-08-09T16:28:22 EXPIRED   maqifrnswa          maqifrnswa          0.00000 XTS             publish price 0.0089 USD / XTS              0.10000 XTS         3bbba831
 2014-08-09T18:05:12 EXPIRED   maqifrnswa          SHORT-52EbKeU2      20,000.00000 XTS        short USD @ 0.001 USD / XTS                 0.10000 XTS         8665298f
 2014-08-09T18:09:57 EXPIRED   maqifrnswa          SHORT-FdvENaSr      20,000.00000 XTS        short USD @ 0.001 USD / XTS                 0.10000 XTS         9d9439b6
 2014-08-09T18:12:08 EXPIRED   maqifrnswa          SHORT-E71n3Gpz      2,222.22222 XTS         short USD @ 0.00899999999999999 USD / XTS   0.10000 XTS         02e37e94
 2014-08-09T18:12:30 EXPIRED   maqifrnswa          SHORT-M6Nu8RuU      1,818.18181 XTS         short USD @ 0.011 USD / XTS                 0.10000 XTS         274aa40a
 2014-08-09T18:15:07 EXPIRED   maqifrnswa          SHORT-PqwyGr13      2,000.00000 XTS         short USD @ 0.01 USD / XTS                  0.10000 XTS         3a65cc6f
 2014-08-09T18:15:19 EXPIRED   maqifrnswa          SHORT-GRG2ARbK      2,000.00000 XTS         short USD @ 0.01 USD / XTS                  0.10000 XTS         75c582ac
 2014-08-09T18:19:32 EXPIRED   maqifrnswa          SHORT-AQv4pniC      2,222.22222 XTS         short USD @ 0.00899999999999999 USD / XTS   0.10000 XTS         32e5141e
 2014-08-09T20:49:46 EXPIRED   maqifrnswa          SHORT-7toteVvL      2,222.22222 XTS         short USD @ 0.00899999999999999 USD / XTS   0.10000 XTS         0396d67a
 2014-08-09T21:13:31 EXPIRED   maqifrnswa          ASK-AAFGJvuW        14,000.00000 XTS        sell XTS @ 0.012 USD / XTS                  0.10000

60,000 XTS are missing:
Code: [Select]
>>> wallet_account_balance maqifrnswa
ACCOUNT                         BALANCE                     
============================================================
maqifrnswa                      70.30029 XTS               
                                4.12144 XTS (pay)

2) I can't cancel any order:
Code: [Select]
>>> wallet_market_cancel_order XTSAAFGJvuWzdJ1EdyQb9i2eENcMAQArKxxc
20011 unknown_market_order: unknown market order

    {"owner_address":"XTSAAFGJvuWzdJ1EdyQb9i2eENcMAQArKxxc"}
    th_a  wallet.cpp:3868 cancel_market_order

    {"owner_address":"XTSAAFGJvuWzdJ1EdyQb9i2eENcMAQArKxxc"}
    th_a  wallet.cpp:3948 cancel_market_order

    {}
    th_a  common_api_client.cpp:1427 wallet_market_cancel_order

    {"command":"wallet_market_cancel_order"}
    th_a  cli.cpp:544 execute_command
--- there are now 9 active connections to the p2p network
--- there are now 10 active connections to the p2p network
default (unlocked) >>> wallet_market_cancel_order XTSAAFGJvuWzdJ1EdyQb9i2eENcMAQArKxxc
20011 unknown_market_order: unknown market order

    {"owner_address":"XTSAAFGJvuWzdJ1EdyQb9i2eENcMAQArKxxc"}
    th_a  wallet.cpp:3868 cancel_market_order

    {"owner_address":"XTSAAFGJvuWzdJ1EdyQb9i2eENcMAQArKxxc"}
    th_a  wallet.cpp:3948 cancel_market_order

    {}
    th_a  common_api_client.cpp:1427 wallet_market_cancel_order

    {"command":"wallet_market_cancel_order"}
    th_a  cli.cpp:544 execute_command

neither the "expired" shorts nor the pending asks are can be cancelled.

3) After a day, suddenly all of my "expired" short sales, which I did not have access to USD from nor could cover or cancel got called:
Code: [Select]
>>> wallet_account_transaction_history
 RECEIVED            BLOCK     FROM                TO                  AMOUNT                  MEMO                                        FEE                 ID     
========================================================================================================================================================================
|2014-07-17T00:00:06 0         GENESIS             maqifrnswa          60,525.43383 XTS        claim Ppf3WEcqakR7CarJWYQ41D5H7UWZKTz5vd    0.00000 XTS         [5afce1]|
|                              GENESIS             maqifrnswa          247.73200 XTS           claim Pn5cHQPYxzJAso16hpvCCSjj7HEnuccJbs                                |
|                              GENESIS             maqifrnswa          5,958.39818 XTS         claim 1DXCqXn8M7VJ7c1K5H5qhMSkZKkpSesQ8o                                |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 2014-08-09T13:59:35 5485      maqifrnswa          maqifrnswa          0.00000 XTS             register maqifrnswa as a delegate           0.11525 XTS         11a1426e
 2014-08-09T14:03:06 5503      maqifrnswa          maqifrnswa          66,700.00000 XTS                                                    0.10000 XTS         62df82ab
 2014-08-09T22:03:27 8316      maqifrnswa          ASK-Eb6YL3Da        200.00000 XTS           sell XTS @ 0.8 USD / XTS                    0.10000 XTS         f4f14494
 2014-08-10T03:33:53 10271     maqifrnswa          maqifrnswa          25.00000 XTS            payday                                      0.10000 XTS         b9430368
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-11T12:37:39 18238     COVER-M6Nu8RuU      MARKET              2,857.12857 XTS         sell collateral @ 0.007 USD / XTS           38.96175 XTS        [a4756d]|
|                              MARKET              COVER-M6Nu8RuU      19.9999 USD             payoff debt @ 0.007 USD / XTS                                           |
|                              COVER-M6Nu8RuU      maqifrnswa          740.27325 XTS           cover proceeds - 5% margin call fee                                     |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-11T12:37:39 18250     COVER-PqwyGr13      MARKET              1.00000 XTS             sell collateral @ 0.006 USD / XTS           0.00000 XTS         [cd9152]|
|                              MARKET              COVER-PqwyGr13      0.0060 USD              payoff debt @ 0.006 USD / XTS                                           |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-11T12:37:39 18256     COVER-GRG2ARbK      MARKET              3,333.33333 XTS         sell collateral @ 0.006 USD / XTS           33.33333 XTS        [04cfae]|
|                              MARKET              COVER-GRG2ARbK      20.0000 USD             payoff debt @ 0.006 USD / XTS                                           |
|                              COVER-GRG2ARbK      maqifrnswa          633.33327 XTS           cover proceeds - 5% margin call fee                                     |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-11T12:37:39 18256     COVER-PqwyGr13      MARKET              3,332.33333 XTS         sell collateral @ 0.006 USD / XTS           33.33333 XTS        [8e5589]|
|                              MARKET              COVER-PqwyGr13      19.9940 USD             payoff debt @ 0.006 USD / XTS                                           |
|                              COVER-PqwyGr13      maqifrnswa          633.33327 XTS           cover proceeds - 5% margin call fee                                     |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-11T13:50:30 22146     ASK-AAFGJvuW        MARKET              1,065.37500 XTS         fill ask @ 0.012 USD / XTS                  0.00000 XTS         [7c5889]|
|                              ASK-AAFGJvuW        maqifrnswa          12.7845 USD             ask proceeds @ 0.012 USD / XTS                                          |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-11T14:11:10 22265     ASK-AAFGJvuW        MARKET              10,000.00000 XTS        fill ask @ 0.012 USD / XTS                  0.00000 XTS         [f8d1ec]|
|                              ASK-AAFGJvuW        maqifrnswa          120.0000 USD            ask proceeds @ 0.012 USD / XTS                                          |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
 2014-08-09T14:12:29 EXPIRED   maqifrnswa          maqifrnswa          0.00000 XTS             publish price 0.0089 USD / XTS              0.10000 XTS         8086563d
 2014-08-09T16:28:22 EXPIRED   maqifrnswa          maqifrnswa          0.00000 XTS             publish price 0.0089 USD / XTS              0.10000 XTS         3bbba831
 2014-08-09T18:05:12 EXPIRED   maqifrnswa          SHORT-52EbKeU2      20,000.00000 XTS        short USD @ 0.001 USD / XTS                 0.10000 XTS         8665298f
 2014-08-09T18:09:57 EXPIRED   maqifrnswa          SHORT-FdvENaSr      20,000.00000 XTS        short USD @ 0.001 USD / XTS                 0.10000 XTS         9d9439b6
 2014-08-09T18:12:08 EXPIRED   maqifrnswa          SHORT-E71n3Gpz      2,222.22222 XTS         short USD @ 0.00899999999999999 USD / XTS   0.10000 XTS         02e37e94
 2014-08-09T18:12:30 EXPIRED   maqifrnswa          SHORT-M6Nu8RuU      1,818.18181 XTS         short USD @ 0.011 USD / XTS                 0.10000 XTS         274aa40a
 2014-08-09T18:15:07 EXPIRED   maqifrnswa          SHORT-PqwyGr13      2,000.00000 XTS         short USD @ 0.01 USD / XTS                  0.10000 XTS         3a65cc6f
 2014-08-09T18:15:19 EXPIRED   maqifrnswa          SHORT-GRG2ARbK      2,000.00000 XTS         short USD @ 0.01 USD / XTS                  0.10000 XTS         75c582ac
 2014-08-09T18:19:32 EXPIRED   maqifrnswa          SHORT-AQv4pniC      2,222.22222 XTS         short USD @ 0.00899999999999999 USD / XTS   0.10000 XTS         32e5141e
 2014-08-09T20:49:46 EXPIRED   maqifrnswa          SHORT-7toteVvL      2,222.22222 XTS         short USD @ 0.00899999999999999 USD / XTS   0.10000 XTS         0396d67a
 2014-08-09T21:13:31 EXPIRED   maqifrnswa          ASK-AAFGJvuW        14,000.00000 XTS        sell XTS @ 0.012 USD / XTS                  0.10000 XTS         7ca9c194

After they were called, I got access to USD in my account, finally:
Code: [Select]
>>> wallet_account_balance maqifrnswa
ACCOUNT                         BALANCE                     
============================================================
maqifrnswa                      132.7845 USD               
                                2,077.24027 XTS             
                                68.17919 XTS (pay)

Maybe this has something to do with making orders before the market was un-frozen?
« Last Edit: August 11, 2014, 05:03:49 pm by maqifrnswa »
maintains an Ubuntu PPA: https://launchpad.net/~showard314/+archive/ubuntu/bitshares [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

Offline bytemaster

I don't think so:


In blockchain_market_list_asks:

ask_order   1,000.00000 XTS     0.1 USD / XTS                 1,000.00000 XTS     100.0000 USD        N/A                 XTSNnVs9DkK2GvL5Lpr9nocQku9RuU5CXdTx

Looks like a bug in the wallet...
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline Riverhead

I don't think so:


In blockchain_market_list_asks:

ask_order   1,000.00000 XTS     0.1 USD / XTS                 1,000.00000 XTS     100.0000 USD        N/A                 XTSNnVs9DkK2GvL5Lpr9nocQku9RuU5CXdTx

« Last Edit: August 11, 2014, 04:07:27 pm by Riverhead »

Offline bytemaster

Can't cancel order. Is there a business reason for this or is it a bug?


Code: [Select]
riverheadtest (unlocked) >>> wallet_market_order_list
base_symbol: USD
quote_symbol: XTS
TYPE        QUANTITY            PRICE                         BALANCE             COST                COLLATERAL          ID                                 
================================================================================================================================
ask_order   1,000.00000 XTS     0.1 USD / XTS                 1,000.00000 XTS     100.0000 USD        N/A                 XTSNnVs9DkK2GvL5Lpr9nocQku9RuU5CXdTx
riverheadtest (unlocked) >>> wallet_market_cancel_order XTSNnVs9DkK2GvL5Lpr9nocQku9RuU5CXdTx
20011 unknown_market_order: unknown market order


    {"owner_address":"XTSNnVs9DkK2GvL5Lpr9nocQku9RuU5CXdTx"}
    th_a  wallet.cpp:3868 cancel_market_order


    {"owner_address":"XTSNnVs9DkK2GvL5Lpr9nocQku9RuU5CXdTx"}
    th_a  wallet.cpp:3948 cancel_market_order


    {}
    th_a  common_api_client.cpp:1427 wallet_market_cancel_order


    {"command":"wallet_market_cancel_order"}
    th_a  cli.cpp:544 execute_command

Did the order get executed?
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline Riverhead

Can't cancel order. Is there a business reason for this or is it a bug?


Code: [Select]
riverheadtest (unlocked) >>> wallet_market_order_list
base_symbol: USD
quote_symbol: XTS
TYPE        QUANTITY            PRICE                         BALANCE             COST                COLLATERAL          ID                                 
================================================================================================================================
ask_order   1,000.00000 XTS     0.1 USD / XTS                 1,000.00000 XTS     100.0000 USD        N/A                 XTSNnVs9DkK2GvL5Lpr9nocQku9RuU5CXdTx
riverheadtest (unlocked) >>> wallet_market_cancel_order XTSNnVs9DkK2GvL5Lpr9nocQku9RuU5CXdTx
20011 unknown_market_order: unknown market order


    {"owner_address":"XTSNnVs9DkK2GvL5Lpr9nocQku9RuU5CXdTx"}
    th_a  wallet.cpp:3868 cancel_market_order


    {"owner_address":"XTSNnVs9DkK2GvL5Lpr9nocQku9RuU5CXdTx"}
    th_a  wallet.cpp:3948 cancel_market_order


    {}
    th_a  common_api_client.cpp:1427 wallet_market_cancel_order


    {"command":"wallet_market_cancel_order"}
    th_a  cli.cpp:544 execute_command

Offline tonyk

  • Hero Member
  • *****
  • Posts: 3308
    • View Profile
Thanks 1000 received.
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

Offline bytemaster

Can somebody send me some funds, please. Thanks.

XTS7ANJ2jYfjfFnWC6Yo4TLqGfaKXytSn7m9yaAWtDFnswKaXpQch

Sent
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.

Offline tonyk

  • Hero Member
  • *****
  • Posts: 3308
    • View Profile
Can somebody send me some funds, please. Thanks.

XTS7ANJ2jYfjfFnWC6Yo4TLqGfaKXytSn7m9yaAWtDFnswKaXpQch
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

Offline bytemaster

this is not reasonable. at  the short order, the amount of XTS can be very higher with a very low short price.
so this depth check is meaningless. If really want to check, should check the amount of bitUSD > (depth of XTS) * feed price

And I don't  get the reason for market depth limit. because we have a feed price now.
without the market depth limit, how to attack the system?

order can't match ...
the bid depth only include short order, right?

Code: [Select]
test (unlocked) >>> blockchain_market_order_book USD XTS
                  BIDS (* Short Order)                                       |                                   ASKS                                 
TOTAL                     QUANTITY                                     PRICE | PRICE                                        QUANTITY                     TOTAL   COLLATE
RAL
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------
109.0000 USD              12,111.11112 XTS         0.0089999999999999993 USD*| 0.0089999999999999993 USD           146,667.00000 XTS            1,320.0030 USD
99.9999 USD               11,111.11111 XTS         0.0089999999999999993 USD*| 0.01 USD                            128,685.97360 XTS            1,286.8597 USD
999.9999 USD              111,111.11111 XTS        0.0089999999999999993 USD*| 0.010999999999999999 USD              1,818.18181 XTS               19.9999 USD
9.9999 USD                1,111.11111 XTS          0.0089999999999999993 USD*| 0.010999999999999999 USD              1,818.18181 XTS               19.9999 USD
99.9999 USD               11,111.11111 XTS         0.0089999999999999993 USD*| 0.010999999999999999 USD                 20.00000 XTS                0.2200 USD
590.0000 USD              100,000.00000 XTS        0.0058999999999999999 USD | 0.012 USD                            14,000.00000 XTS              168.0000 USD
295.0000 USD              50,000.00000 XTS         0.0058999999999999999 USD | 0.098000000000000004 USD              5,000.00000 XTS              490.0000 USD
0.0059 USD                1.00000 XTS              0.0058999999999999999 USD | 0.10000000000000001 USD               1,000.00000 XTS              100.0000 USD
10.0000 USD               2,500.00000 XTS          0.0040000000000000001 USD*| 0.5 USD                                 600.00000 XTS              300.0000 USD
899.9999 USD              1,285,714.28571 XTS     0.00069999999999999002 USD*| 0.80000000000000004 USD                 200.00000 XTS              160.0000 USD
399.9999 USD              666,666.66666 XTS       0.00059999999999998997 USD*| 1 USD                                   100.00000 XTS              100.0000 USD
                                                                             | 1.1000000000000001 USD                   60.00000 XTS               66.0000 USD
                                                                             | 1.5 USD                              60,000.00000 XTS           90,000.0000 USD
                                                                             | 1.5 USD                             600,000.00000 XTS          900,000.0000 USD
                                                                             | 15 USD                              300,000.00000 XTS        4,500,000.0000 USD
                                                                             | 500 USD                                  10.00000 XTS            5,000.0000 USD
                                                                             | 1000 USD                            100,000.00000 XTS      100,000,000.0000 USD
---------------------------------
Median Feed Price: 0.0088 USD / XTS     Maximum Short Price: 0.01173333333333333 USD / XTS     Minimum Cover Price: 0.00586666666666666 USD / XTS
Bid Depth: 2,101,436.50793 XTS     Ask Depth: 3,155,162.25400 XTS     Min Depth: 2,000,000.00000 XTS
Last Error:  insufficient depth (37005)


Details:
37005 insufficient_depth: insufficient depth

    {"reason":"After executing orders there was insufficient depth remaining","market_stat":{"quote_id":22,"base_id":0,"bid_depth":195488095237,"ask_depth":330171780956,"avg_price_24h":{"ratio":"0.000903014461335713","quote_asset_id":22,"base_asset_id":0},"last_error":null},"(((1000*1000*int64_t(1000)*1000*int64_t(1000)) / 5)/1000)":200000000000}
    th_a  chain_database.cpp:414 execute

The depth limit keeps the price closer to reality and is effectively a more accurate "price feed" than the ones from the delegates.   The price feed is not meant to be a long-term solution. 
For the latest updates checkout my blog: http://bytemaster.bitshares.org
Anything said on these forums does not constitute an intent to create a legal obligation or contract between myself and anyone else.   These are merely my opinions and I reserve the right to change them at any time.


Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
this is not reasonable. at  the short order, the amount of XTS can be very higher with a very low short price.
so this depth check is meaningless. If really want to check, should check the amount of bitUSD > (depth of XTS) * feed price

And I don't  get the reason for market depth limit. because we have a feed price now.
without the market depth limit, how to attack the system?

order can't match ...
the bid depth only include short order, right?

Code: [Select]
test (unlocked) >>> blockchain_market_order_book USD XTS
                  BIDS (* Short Order)                                       |                                   ASKS                                 
TOTAL                     QUANTITY                                     PRICE | PRICE                                        QUANTITY                     TOTAL   COLLATE
RAL
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------
109.0000 USD              12,111.11112 XTS         0.0089999999999999993 USD*| 0.0089999999999999993 USD           146,667.00000 XTS            1,320.0030 USD
99.9999 USD               11,111.11111 XTS         0.0089999999999999993 USD*| 0.01 USD                            128,685.97360 XTS            1,286.8597 USD
999.9999 USD              111,111.11111 XTS        0.0089999999999999993 USD*| 0.010999999999999999 USD              1,818.18181 XTS               19.9999 USD
9.9999 USD                1,111.11111 XTS          0.0089999999999999993 USD*| 0.010999999999999999 USD              1,818.18181 XTS               19.9999 USD
99.9999 USD               11,111.11111 XTS         0.0089999999999999993 USD*| 0.010999999999999999 USD                 20.00000 XTS                0.2200 USD
590.0000 USD              100,000.00000 XTS        0.0058999999999999999 USD | 0.012 USD                            14,000.00000 XTS              168.0000 USD
295.0000 USD              50,000.00000 XTS         0.0058999999999999999 USD | 0.098000000000000004 USD              5,000.00000 XTS              490.0000 USD
0.0059 USD                1.00000 XTS              0.0058999999999999999 USD | 0.10000000000000001 USD               1,000.00000 XTS              100.0000 USD
10.0000 USD               2,500.00000 XTS          0.0040000000000000001 USD*| 0.5 USD                                 600.00000 XTS              300.0000 USD
899.9999 USD              1,285,714.28571 XTS     0.00069999999999999002 USD*| 0.80000000000000004 USD                 200.00000 XTS              160.0000 USD
399.9999 USD              666,666.66666 XTS       0.00059999999999998997 USD*| 1 USD                                   100.00000 XTS              100.0000 USD
                                                                             | 1.1000000000000001 USD                   60.00000 XTS               66.0000 USD
                                                                             | 1.5 USD                              60,000.00000 XTS           90,000.0000 USD
                                                                             | 1.5 USD                             600,000.00000 XTS          900,000.0000 USD
                                                                             | 15 USD                              300,000.00000 XTS        4,500,000.0000 USD
                                                                             | 500 USD                                  10.00000 XTS            5,000.0000 USD
                                                                             | 1000 USD                            100,000.00000 XTS      100,000,000.0000 USD
---------------------------------
Median Feed Price: 0.0088 USD / XTS     Maximum Short Price: 0.01173333333333333 USD / XTS     Minimum Cover Price: 0.00586666666666666 USD / XTS
Bid Depth: 2,101,436.50793 XTS     Ask Depth: 3,155,162.25400 XTS     Min Depth: 2,000,000.00000 XTS
Last Error:  insufficient depth (37005)


Details:
37005 insufficient_depth: insufficient depth

    {"reason":"After executing orders there was insufficient depth remaining","market_stat":{"quote_id":22,"base_id":0,"bid_depth":195488095237,"ask_depth":330171780956,"avg_price_24h":{"ratio":"0.000903014461335713","quote_asset_id":22,"base_asset_id":0},"last_error":null},"(((1000*1000*int64_t(1000)*1000*int64_t(1000)) / 5)/1000)":200000000000}
    th_a  chain_database.cpp:414 execute