Author Topic: Dry Run 11: The Wolf of Coin Market Cap  (Read 11761 times)

0 Members and 1 Guest are viewing this topic.

Offline ElMato

  • Sr. Member
  • ****
  • Posts: 288
    • View Profile
This dry run uses a new genesis block using a snapshot of the AGS and PTS chains from July 18th which was the last day of AGS donations. We need to verify this genesis snapshot. Everyone please check your genesis balances and see if they are the expected amount.

My balance is about 50% of what i claim in BitsharesX

Offline ElMato

  • Sr. Member
  • ****
  • Posts: 288
    • View Profile
I cant register my account even if it has 300K BTSX.

Code: [Select]
>> about

{
  "bitshares_toolkit_revision": "a6af01440bb0a5ee048fdc4389f064759ab9339d",
  "bitshares_toolkit_revision_age": "50 minutes ago",
  "fc_revision": "978de7885a8065bc84b07bfb65b642204e894f55",
  "fc_revision_age": "4 days ago",
  "compile_date": "compiled on Aug  7 2014 at 02:15:43"
}
>> wallet_account_register matias matias

10 assert_exception: Assert Exception
amount > 0: amount: 0
    {"amount":0}
    bitshares  transaction.cpp:86 withdraw

    {"account":"XTSPEWEr9iV9QnYQ67Tqi2Aa5U26Jdo6sofS","amount":0}
    bitshares  transaction.cpp:88 withdraw

    {"amount_to_withdraw":{"amount":0,"asset_id":0},"from_account_address":"XTSNGh6PkvBKDxYrmYRsFU9ERKZxVpDXD1Nz","trx":{"expiration":"19700101T000000","delegate_slate_id":null,"operations":[{"type":"register_account_op_type","data":{"name":"matias","public_data":null,"owner_key":"XTS5sesA3xkU4e4r3XMGsydhk6tBAqrTYNBL5yKL9L2ofp3jADp6B","active_key":"XTS5sesA3xkU4e4r3XMGsydhk6tBAqrTYNBL5yKL9L2ofp3jADp6B","delegate_pay_rate":255,"meta_data":null}}],"signatures":[]},"required_signatures":[]}
    bitshares  wallet.cpp:424 withdraw_to_transaction

    {"account_to_register":"matias","public_data":null,"pay_with_account_name":"matias","delegate_pay_rate":255}
    bitshares  wallet.cpp:3310 register_account

    {"account_name":"matias","data":null}
    bitshares  client.cpp:2696 wallet_account_register

    {}
    bitshares  common_api_client.cpp:1075 wallet_account_register

    {"command":"wallet_account_register"}
    bitshares  cli.cpp:543 execute_command
>> wallet_account_balance

ACCOUNT                         BALANCE                     
============================================================
matias                          316,926.52958 XTS


Reading other users posts seems that

void transaction::withdraw( const balance_id_type& account, share_type amount )
is being called with amount=0 in some cases

wallet_market_submit_bid
wallet_account_register




Offline bitcoinerS

  • Hero Member
  • *****
  • Posts: 592
    • View Profile
This dry run uses a new genesis block using a snapshot of the AGS and PTS chains from July 18th which was the last day of AGS donations. We need to verify this genesis snapshot. Everyone please check your genesis balances and see if they are the expected amount.

Mine is about twice what was expected and initialized as part of Bitshares X.
>>> approve bitcoiners

Offline vikram

This dry run uses a new genesis block using a snapshot of the AGS and PTS chains from July 18th which was the last day of AGS donations. We need to verify this genesis snapshot. Everyone please check your genesis balances and see if they are the expected amount.

bitbro

  • Guest
How does real usd interact w the Btsx system? I thought it was only usd price feeds...

Offline tonyk

  • Hero Member
  • *****
  • Posts: 3308
    • View Profile

I am in my 6 hour of trying to compile this baby on win 7. I have given up almost 700 times up to now, and have come back to try one more thing... 3 more hours of trying, that's my goal.

I have read numerous times the long explanation what should be done with the line:
set(Boost_USE_DEBUG_PYTHON ON) in the file D:\BitShares\bitshares_toolkit\libraries\fc\CMakeLists.txt
My understanding is that it should be commented out (i.e has # ,so to not be compiled)
The confusion comes because after the longest instructions in the guide I found that line is already commented out?
So, should it stay like it is:
#  set(Boost_USE_DEBUG_PYTHON ON)

Never mind. I give up:

 Then hit **Configure**.  It may ask you to specify a generator for this
 project; if it does, choose **Visual Studio 12** and select **Use default
 native compilers**.  Look through the output and fix any errors.  Then
 hit **Generate**.

I have no idea in hell how to fix those.

« Last Edit: August 07, 2014, 03:32:12 am by tonyk »
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

Offline tonyk

  • Hero Member
  • *****
  • Posts: 3308
    • View Profile
I am currently shorting 1,200 USD at 0.01 USD/XTS when I only had 120,000 XTS

It is fine, imho, (other than todays feed was supposed to be 1USD/XTS)...

I am in my 6 hour of trying to compile this baby on win 7. I have given up almost 700 times up to now, and have come back to try one more thing... 3 more hours of trying, that's my goal.


I was just going by the market price of btsx, didn't look at the feeds yet. Also its a lot easier to build on ubuntu. I downloaded the os on one of my pcs. It takes like 6 lines of code to build the client
I knoooow.
« Last Edit: August 07, 2014, 12:18:48 pm by tonyk »
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

Offline tonyk

  • Hero Member
  • *****
  • Posts: 3308
    • View Profile
I am currently shorting 1,200 USD at 0.01 USD/XTS when I only had 120,000 XTS

that's ok because the rest of the collateral is from the opposite side of the trade - you won't get another available 120k XTS when it executes but it will go straight into margin

So its not 200% collateral?
It is ! it is 100 + 100 (received by selling bitUSD).
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

clout

  • Guest
I am currently shorting 1,200 USD at 0.01 USD/XTS when I only had 120,000 XTS

that's ok because the rest of the collateral is from the opposite side of the trade - you won't get another available 120k XTS when it executes but it will go straight into margin

So its not 200% collateral?

clout

  • Guest
I am currently shorting 1,200 USD at 0.01 USD/XTS when I only had 120,000 XTS

It is fine, imho, (other than todays feed was supposed to be 1USD/XTS)...

I am in my 6 hour of trying to compile this baby on win 7. I have given up almost 700 times up to now, and have come back to try one more thing... 3 more hours of trying, that's my goal.

I was just going by the market price of btsx, didn't look at the feeds yet. Also its a lot easier to build on ubuntu. I downloaded the os on one of my pcs. It takes like 6 lines of code to build the client

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
I am currently shorting 1,200 USD at 0.01 USD/XTS when I only had 120,000 XTS

that's ok because the rest of the collateral is from the opposite side of the trade - you won't get another available 120k XTS when it executes but it will go straight into margin
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 tonyk

  • Hero Member
  • *****
  • Posts: 3308
    • View Profile
I am currently shorting 1,200 USD at 0.01 USD/XTS when I only had 120,000 XTS

It is fine, imho, (other than todays feed was supposed to be 1USD/XTS)...

I am in my 6 hour of trying to compile this baby on win 7. I have given up almost 700 times up to now, and have come back to try one more thing... 3 more hours of trying, that's my goal.
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

clout

  • Guest
My two observations after using the client is that my preallocation is smaller than it was in btsx and I can create shorts with no collateral.

How?

My preallocation was reduced by more than 50% upon importing keys and I am currently shorting 1,200 USD at 0.01 USD/XTS when I only had 120,000 XTS

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi

getting an error trying to submit bid..

Code: [Select]
>>> wallet_market_submit_bid default 20 XTS 1.1 USD
10 assert_exception: Assert Exception
amount > 0: amount: 0
    {"amount":0}
    th_a  transaction.cpp:86 withdraw

    {"account":"XTSAur3esR3GjYoLeSWpRg9bikr7XU7mXaU3","amount":0}
    th_a  transaction.cpp:88 withdraw

    {"amount_to_withdraw":{"amount":0,"asset_id":0},"from_account_address":"XTSMK21EWkq9zv6EMtgCcnbhCJTfMA8aV8T5","trx":{"expiration":"19700101T000000","delegate_slate_id":null,"operations":[{"type":"withdraw_op_type","data":{"balance_id":"XTS93Hrgku6UiNAtHAhUdMHHqRxcutCp2Bot","amount":220000,"claim_input_data":""}}],"signatures":[]},"required_signatures":["XTS4vf7789zhFYhkU9zSsbCPBeTVv1a8Acvs","XTS8Uh9QYQyn3QDXzbGBTpxYZpJ9dqEYopp7"]}
    th_a  wallet.cpp:424 withdraw_to_transaction

    {"from_account_name":"default","real_quantity":20,"quantity_symbol":"XTS","quote_price":1.1000000000000001,"quote_symbol":"USD","sign":true}
    th_a  wallet.cpp:3823 submit_bid

    {}
    th_a  common_api_client.cpp:1347 wallet_market_submit_bid

    {"command":"wallet_market_submit_bid"}
    th_a  cli.cpp:543 execute_command

Do you have any USD in your account?  Because that bid requires 22 USD to place.

Code: [Select]
>>> wallet_account_balance
ACCOUNT                         BALANCE                     
============================================================
   
default                         3,919.2297 USD             
                                30,689.84430 XTS   
you are delegate, test with a normal account?

Offline alt

  • Hero Member
  • *****
  • Posts: 2821
    • View Profile
  • BitShares: baozi
can't execute marketing ...
Code: [Select]
test (unlocked) >>> blockchain_market_order_book USD XTS
                  BIDS (* Short Order)                                       |                                   ASKS                                 
TOTAL                     QUANTITY                                     PRICE | PRICE                                        QUANTITY                     TOTAL   COLLATE
RAL
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-------
8.3300 USD                                                      MARKET PRICE | 0.667 USD / XTS                         450.00000 XTS              300.1500 USD
254.7211 USD              169.81413 XTS                        1.5 USD / XTS*|
5,015.8400 USD            7,520.00000 XTS                    0.667 USD / XTS |
1,707.1770 USD            2,563.32895 XTS                    0.666 USD / XTS*|
100.0000 USD              1,000.00000 XTS                      0.1 USD / XTS |
400.0000 USD              40,000.00000 XTS                    0.01 USD / XTS*|
400.0000 USD              40,000.00000 XTS                    0.01 USD / XTS*|
400.0000 USD              40,000.00000 XTS                    0.01 USD / XTS*|
5.0000 USD                50,000.00000 XTS                  0.0001 USD / XTS |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------

.....
Last Error:  insufficient collateral (37004)



Details:
37004 insufficient_collateral: insufficient collateral

    {"_current_bid":{"type":"bid_order","market_index":{"order_price":{"ratio":"0.0667","quote_asset_id":22,"base_asset_id":0},"owner":"XTSAYkow2SAz8Lz7nfmtdFiWXrppBUNBouWw"},"state":{"balance":48372861},"collateral":null},"cover_ask":{"type":"cover_order","market_index":{"order_price":{"ratio":"0.1","quote_asset_id":22,"base_asset_id":0},"owner":"XTSE5MCvDZX5qSyNXgyR1RTZvajhbtiHPVYg"},"state":{"balance":47452788},"collateral":632703840},"cover_ask.get_highest_cover_price()":{"ratio":"0.075","quote_asset_id":22,"base_asset_id":0}}
    th_a  chain_database.cpp:588 get_next_ask

    {}
    th_a  chain_database.cpp:623 get_next_ask