Dry Run 11: The Wolf of Coin Market Cap

Started by toast, August 06, 2014, 08:01:56 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

bitcoinerS

Quote from: bytemaster on August 07, 2014, 12:20:21 AM
Quote from: bitcoinerS on August 06, 2014, 11:06:11 PM
getting an error trying to submit bid..

>>> 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.

>>> wallet_account_balance
ACCOUNT                         BALANCE                     
============================================================
   
default                         3,919.2297 USD             
                                30,689.84430 XTS   
>>> approve bitcoiners

Riverhead

Quote from: sfinder on August 06, 2014, 11:31:52 PM
nice.  compiling ..............

BTW,how can i get test fund?
Post your public key here.

bytemaster

Quote from: clout on August 06, 2014, 10:43:57 PM
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?
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
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.

bytemaster

Quote from: bitcoinerS on August 06, 2014, 11:06:11 PM
getting an error trying to submit bid..

>>> 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.   
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
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.

bytemaster

Quote from: sfinder on August 06, 2014, 11:31:52 PM
nice.  compiling ..............

BTW,how can i get test fund?

Import PTS wallet?
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
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.

sfinder

#16
nice.  compiling ..............

BTW,how can i get test fund?
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
和中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

bitcoinerS

getting an error trying to submit bid..

>>> 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
>>> approve bitcoiners

tonyk

#14
Are win executable coming soon?

I downloaded the VS Express 2013 (took me about 1h, probably my crawling internet ) but

Following the instructions (i.e. BUILD_WIN32.md)  I ran into trouble on the second line:

"Clone the BitShares repository
  ```
cd D:\BitShares
git clone https://github.com/bitshares/bitshares_toolkit.git"


gives me

C:\BitShares>git clone https://github.com/bitshares/bitshares_toolkit.git
'git' is not recognized as an internal or external command,
operable program or batch file.


Should I install win git or something? [Edit] I guess yes.
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

clout

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.

bitcoinerS

Having troubles creating an asset

wallet_asset_create <symbol> <asset_name> <issuer_name> [description] [data] [maximum_share_supply] [precision] [is_market_issued]   Creates a new user issued asset


>>> wallet_asset_create GEM Gem bitcoiners "Gems are for fun" null 1000000000 1 false
36002 insufficient_fee: insufficient fee

    {"required_fees":{"amount":335664214,"asset_id":0},"alt_fees_paid":{"amount":0,"asset_id":0},"xts_fees":{"amount":335664000,"asset_id":0}}
    th_a  transaction_evaluation_state.cpp:81 validate_required_fee



>>> approve bitcoiners

bytemaster

A rounding error seems to cause an stray cover order to be created.

  | 0. USD / XTS                              0.00009 XTS                0.0000 USD   0.00012 XTS
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
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.

bytemaster

Quote from: bitcoinerS on August 06, 2014, 09:48:01 PM
blockchain_get_asset USD
shows  current_share_supply as 0, even though we know some have already been "issued" (sold short) into existence.
Shouldn't current_share_supply get updated?


>>> blockchain_get_asset USD
{
  "id": 22,
  "symbol": "USD",
  "name": "United States Dollar",
  "description": "1 United States dollar",
  "public_data": "",
  "issuer_account_id": -2,
  "precision": 10000,
  "registration_date": "20140717T000004",
  "last_update": "20140717T000004",
  "current_share_supply": 0,
  "maximum_share_supply": 1000000000000000,


Good catch!   I'll update that.
For the latest updates checkout my blog: [url="http://bytemaster.bitshares.org"]http://bytemaster.bitshares.org[/url]
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.

ripplexiaoshan

BTS committee member:jademont

bitcoinerS

blockchain_get_asset USD
shows  current_share_supply as 0, even though we know some have already been "issued" (sold short) into existence.
Shouldn't current_share_supply get updated?


>>> blockchain_get_asset USD
{
  "id": 22,
  "symbol": "USD",
  "name": "United States Dollar",
  "description": "1 United States dollar",
  "public_data": "",
  "issuer_account_id": -2,
  "precision": 10000,
  "registration_date": "20140717T000004",
  "last_update": "20140717T000004",
  "current_share_supply": 0,
  "maximum_share_supply": 1000000000000000,
>>> approve bitcoiners

Riverhead