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

0 Members and 1 Guest are viewing this topic.

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
You can read the details:

Code: [Select]
Details:
37004 insufficient_collateral: insufficient collateral

Someone needs to enter bids at around 0.0055 or higher
but the first  bid is 0.0061

But all 3 of the current covers need to be filled, first bid is not enough
I don't know if it's the best way.
I prefer to fill the first cover. If can't try second, then third ....
After all these cover position checked, execute bid(short) order and ask order normally.

and I am thinking, If there is a suddenly price fall(In fact this had happened in BTC), many covers can't be filled.  the marketing function will freeze, never execute until price come back? This is very weired

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
You can read the details:

Code: [Select]
Details:
37004 insufficient_collateral: insufficient collateral

Someone needs to enter bids at around 0.0055 or higher
but the first  bid is 0.0061

But all 3 of the current covers need to be filled, first bid is not enough
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 alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
You can read the details:

Code: [Select]
Details:
37004 insufficient_collateral: insufficient collateral

Someone needs to enter bids at around 0.0055 or higher
but the first  bid is 0.0061

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
You can read the details:

Code: [Select]
Details:
37004 insufficient_collateral: insufficient collateral

Someone needs to enter bids at around 0.0055 or higher
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 taoljj

  • Full Member
  • ***
  • Posts: 177
    • View Profile
Me too,bid 1 0.0078,bid 2 0.0077,bid 4 0.0060 are mine, but no cover call me.

why don't you call me? ......
Code: [Select]
test (unlocked) >>> blockchain_market_order_book USD XTS
                  BIDS (* Short Order)                                       |                                   ASKS                                 
TOTAL                     QUANTITY                                     PRICE | PRICE                                        QUANTITY                     TOTAL   COLLATE
RAL
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------
1,599.9995 USD            262,295.00000 XTS        0.0061000000000000004 USD | 0.0089999999999999993 USD               111.44444 XTS                1.0029 USD
10.0000 USD               2,500.00000 XTS          0.0040000000000000001 USD*| 0.01 USD                            128,685.97360 XTS            1,286.8597 USD
1,460.0000 USD            1,825,000.00000 XTS     0.00080000000000000004 USD | 0.010999999999999999 USD              1,818.18181 XTS               19.9999 USD
........
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------
                                                                             |                                   MARGIN                                 
                                                                             | CALL PRICE                                   QUANTITY                     TOTAL   COLLATE
RAL
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------
                                                                             | 0.0077999999978333699 USD            27,692.80770 XTS              216.0039 USD   36,923.
74360 XTS
                                                                             | 0.00779999948031199 USD             192,307.69230 XTS            1,499.9999 USD   256,410
.25640 XTS
                                                                             | 0.0077999993932504896 USD           164,614.88460 XTS            1,283.9960 USD   219,486
......
Median Feed Price: 0.009 USD / XTS     Maximum Short Price: 0.012 USD / XTS     Minimum Cover Price: 0.006 USD / XTS
Bid Depth: 2,138,985.58012 XTS     Ask Depth: 3,301,717.80956 XTS     Min Depth: 2,000,000.00000 XTS
Last Error:  insufficient collateral (37004)



Details:
37004 insufficient_collateral: insufficient collateral

    {"_current_bid":{"type":"short_order","market_index":{"order_price":{"ratio":"0.0004","quote_asset_id":22,"base_asset_id":0},"owner":"XTS9k7n6XpYABEhyEVZUv4absBw8y3Zqgpbo"},"state":{"balance":250000000},"collateral":null},"cover_ask":{"type":"cover_order","market_index":{"order_price":{"ratio":"0.000779999939325049","quote_asset_id":22,"base_asset_id":0},"owner":"XTS5s3Zm33dyMZEwUcKrw92LStxMFYV7aS9R"},"state":{"balance":12839960},"collateral":21948651280},"cover_ask.get_highest_cover_price()":{"ratio":"0.000584999954493787","quote_asset_id":22,"base_asset_id":0}}
    th_a  chain_database.cpp:665 get_next_ask

    {}
    th_a  chain_database.cpp:700 get_next_ask
BTS      Witness: delegate.taoljj

Offline Riverhead

Maybe that's why my order isn't going through.  Though I can't seem to cancel it either.

Code: [Select]
wallet_market_order_list USD 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
cover_order 750.00000 XTS       0.00666666666666666 USD / XTS 5.0000 USD          4.9999 USD          1,000.00000 XTS     XTSBZPJww7ubo92wEtewUW4TDPdYEktNTUwW
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
« Last Edit: August 10, 2014, 10:05:27 am by Riverhead »

Offline taoljj

  • Full Member
  • ***
  • Posts: 177
    • View Profile
Only short, I think so.


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
BTS      Witness: delegate.taoljj

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
why don't you call me? ......
Code: [Select]
test (unlocked) >>> blockchain_market_order_book USD XTS
                  BIDS (* Short Order)                                       |                                   ASKS                                 
TOTAL                     QUANTITY                                     PRICE | PRICE                                        QUANTITY                     TOTAL   COLLATE
RAL
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------
1,599.9995 USD            262,295.00000 XTS        0.0061000000000000004 USD | 0.0089999999999999993 USD               111.44444 XTS                1.0029 USD
10.0000 USD               2,500.00000 XTS          0.0040000000000000001 USD*| 0.01 USD                            128,685.97360 XTS            1,286.8597 USD
1,460.0000 USD            1,825,000.00000 XTS     0.00080000000000000004 USD | 0.010999999999999999 USD              1,818.18181 XTS               19.9999 USD
........
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------
                                                                             |                                   MARGIN                                 
                                                                             | CALL PRICE                                   QUANTITY                     TOTAL   COLLATE
RAL
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------
                                                                             | 0.0077999999978333699 USD            27,692.80770 XTS              216.0039 USD   36,923.
74360 XTS
                                                                             | 0.00779999948031199 USD             192,307.69230 XTS            1,499.9999 USD   256,410
.25640 XTS
                                                                             | 0.0077999993932504896 USD           164,614.88460 XTS            1,283.9960 USD   219,486
......
Median Feed Price: 0.009 USD / XTS     Maximum Short Price: 0.012 USD / XTS     Minimum Cover Price: 0.006 USD / XTS
Bid Depth: 2,138,985.58012 XTS     Ask Depth: 3,301,717.80956 XTS     Min Depth: 2,000,000.00000 XTS
Last Error:  insufficient collateral (37004)



Details:
37004 insufficient_collateral: insufficient collateral

    {"_current_bid":{"type":"short_order","market_index":{"order_price":{"ratio":"0.0004","quote_asset_id":22,"base_asset_id":0},"owner":"XTS9k7n6XpYABEhyEVZUv4absBw8y3Zqgpbo"},"state":{"balance":250000000},"collateral":null},"cover_ask":{"type":"cover_order","market_index":{"order_price":{"ratio":"0.000779999939325049","quote_asset_id":22,"base_asset_id":0},"owner":"XTS5s3Zm33dyMZEwUcKrw92LStxMFYV7aS9R"},"state":{"balance":12839960},"collateral":21948651280},"cover_ask.get_highest_cover_price()":{"ratio":"0.000584999954493787","quote_asset_id":22,"base_asset_id":0}}
    th_a  chain_database.cpp:665 get_next_ask

    {}
    th_a  chain_database.cpp:700 get_next_ask
two questions :
1. the first bid price should be  0.0061, why the error message is 0.0004?
2. in the error message, the bid price 0.004 become 0.0004, the cover price 0.00779 become 0.000779
« Last Edit: August 10, 2014, 10:43:50 am by alt »

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
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
« Last Edit: August 10, 2014, 09:29:43 am by alt »

Offline sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile
FYI.
bm, following are all loaded questions. Better to skip

I have several questions, in addition to the one you have yourselves, regarding how useful such test is going to be:

How long this test gonna run? – a day, a week, 2 weeks?

Do you have at least 50 physical humans participating?

Setting outside ‘centralized’ bank? – If this is indeed part of the test, it seems like  waaaaay to much work, for not much benefit.

Even if the test fails – are you not going to try it for real?
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

Offline Riverhead

Agreed. Will be fun to watch it all unfold and grow. Release the hounds (once we know it's mechanically sound)!  :D
« Last Edit: August 10, 2014, 02:06:15 am by Riverhead »

Offline bytemaster

This does not test the economics.  Only the mechanics.   The price feed is pegged to btsx real time

Will there be a future dry run to attempt to test the economics? Or will BitAssets launch and hope for the best after the mechanics are thoroughly tested?

Maybe we can create a small, but 'real' market to test economics?
A Dry Run with a limed issue base coin, something like XTS-M which would be pegged to BTSX (1000:1).
I3 could (sell/buy back) these XTS-M for testers.

If the economics don't work there is little we can do with the mechanics to fix it.   I see no point in testing the economics because BTSX is in itself a giant experiment just like BTC.   
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 bitcoinerS

  • Hero Member
  • *****
  • Posts: 592
    • View Profile
This does not test the economics.  Only the mechanics.   The price feed is pegged to btsx real time

Will there be a future dry run to attempt to test the economics? Or will BitAssets launch and hope for the best after the mechanics are thoroughly tested?

Maybe we can create a small, but 'real' market to test economics?
A Dry Run with a limed issue base coin, something like XTS-M which would be pegged to BTSX (1000:1).
I3 could (sell/buy back) these XTS-M for testers.
« Last Edit: August 10, 2014, 01:35:08 am by bitcoinerS »
>>> approve bitcoiners

Offline tonyk

  • Hero Member
  • *****
  • Posts: 3308
    • View Profile
I have several questions, in addition to the one you have yourselves, regarding how useful such test is going to be:

How long this test gonna run? – a day, a week, 2 weeks?

Do you have at least 50 physical humans participating?

Setting outside ‘centralized’ bank? – If this is indeed part of the test, it seems like  waaaaay to much work, for not much benefit.

Even if the test fails – are you not going to try it for real?
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

Offline arhag

  • Hero Member
  • *****
  • Posts: 1214
    • View Profile
    • My posts on Steem
  • BitShares: arhag
  • GitHub: arhag
Yeah, but we need to be careful in how it's done.

Bytemaster would have to initially choose the set of market participants (testers) in a way that he is confident they are unique individuals. More on why that is important later. That is easy enough to do; he can just rely on well known forum members.

He would then need to set up the genesis block to give each of these testers a equal amount of starting value. He would also give them an equal amount of FakeUSD on his centralized exchange. Then, the test net could launch and people could do their thing: speculate on whether the value of XTS will rise or fall with respect to FakeUSD to make money. At some point, when the test is complete, bytemaster takes a snapshot of the current state of the blockchain and the centralized exchange. He already can tell who has how much FakeUSD on the exchange. He just needs people to prove to him how much BitFakeUSD and XTS they have on the blockchain by signing the appropriate statements. He can use the last known prices on the blockchain and centralized exchanges to convert the BitFakeUSD and XTS values to FakeUSD and add that to the testers' balances. Then the tester who has the highest balance wins a prize (some PTS bounty).

It is important to make sure the market participants are unique individuals to avoid a Sybil attack: one person makes lots of fake accounts and then just moves all of his initial funds into one account so that he beat all the other testers and win the bounty.

So, it can be done. But it is a lot of work and it is not clear if it is worth it compared to just launching and seeing what happens.
« Last Edit: August 10, 2014, 12:42:44 am by arhag »