Dry Run 14 - The Next Generation ($200 BitUSD bounty)

Started by bytemaster, August 13, 2014, 09:28:04 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

emski

Last parameter of wallet_asset_create allows you to set an asset as market issued.
emski (unlocked) >>> help wallet_asset_create
Usage:
wallet_asset_create <symbol> <asset_name> <issuer_name> [description] [data] [maximum_share_supply] [precision] [is_market_issued]   Creates a new user issued asset
Creates a new user issued asset

Parameters:
  symbol (asset_symbol, required): the ticker symbol for the new asset
  asset_name (string, required): the name of the asset
  issuer_name (string, required): the name of the issuer of the asset
  description (string, optional, defaults to ""): a description of the asset
  data (json_variant, optional, defaults to null): arbitrary data attached to the asset
  maximum_share_supply (real_amount, optional, defaults to 1000000000000000): the maximum number of shares of the asset
  precision (int64_t, optional, defaults to 1000000): defines where the decimal should be displayed, must be a power of 10
  is_market_issued (bool, optional, defaults to false): creation of a new BitAsset that is created by shorting
[url="https://bitsharestalk.org/index.php/topic,9857.0.html"]https://bitsharestalk.org/index.php/topic,9857.0.html[/url]

bitcoinerS

Quote from: emski on August 14, 2014, 06:44:39 AM
Quote from: bitcoinerS on August 14, 2014, 02:11:01 AM
MARKET issued "Immoral soul"...


>>> blockchain_list_assets
...
25    SOUL   Immortal soul           1 Immoral soul                                  MARKET                          N/A       0.000 SOUL                 


Sorry I made a typo. It was meant to be Immortal soul.

How could you make a mistake in creating an asset that lists as MARKET issued? Did you create it or MARKET?
>>> approve bitcoiners

emski

Quote from: bitcoinerS on August 14, 2014, 02:11:01 AM
MARKET issued "Immoral soul"...


>>> blockchain_list_assets
...
25    SOUL   Immortal soul           1 Immoral soul                                  MARKET                          N/A       0.000 SOUL                 


Sorry I made a typo. It was meant to be Immortal soul.
[url="https://bitsharestalk.org/index.php/topic,9857.0.html"]https://bitsharestalk.org/index.php/topic,9857.0.html[/url]

ripplexiaoshan

XTS6UgcFrbpy7Pehd2MkQx838P36A5s2gzmkM9snSgrTu6XtmsVsb

So far so good, but anybody who has finished their testing can send me a big amount of btsx? I wanna test something unusual but I don't have enough fund. Thanks

BTS committee member:jademont

tonyk

Quote from: sfinder on August 14, 2014, 02:27:14 AM
I just  created a asset call "ROSE". Can anyone show me the steps for biding and selling my "ROSE" with bitusd?

I tried following command but all returned me the errors

wallet_market_submit_bid chinese 200 ROSE 0.0001 USD

wallet_market_submit_ask chinese 200 ROSE 0.0001 USD

Did you just create it?  You have to issue it after that.
wallet_asset_issue <amount> <symbol> ...
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

sfinder

I just  created a asset call "ROSE". Can anyone show me the steps for biding and selling my "ROSE" with bitusd?

I tried following command but all returned me the errors

wallet_market_submit_bid chinese 200 ROSE 0.0001 USD

wallet_market_submit_ask chinese 200 ROSE 0.0001 USD


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

bitcoinerS

MARKET issued "Immoral soul"...


>>> blockchain_list_assets
...
25    SOUL   Immortal soul           1 Immoral soul                                  MARKET                          N/A       0.000 SOUL                 
>>> approve bitcoiners

sfinder

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

tonyk

Quote from: sfinder on August 14, 2014, 01:46:14 AM

I tried to short 20000 XTS at 0.01 USD but got following "insufficient funds" error while my wallet has more than 901k  balance


nxg (unlocked) >>> wallet_market_submit_short chinese 20000 0.01 USD
20010 insufficient_funds: insufficient funds

    {"required":"2,000,000.10000 XTS","available":"901,543.38562 XTS"}
    th_a  wallet.cpp:467 withdraw_to_transaction

    {"amount_to_withdraw":{"amount":200000010000,"asset_id":0},"from_account_address":"XTS2r6Pj5Nub5YneHMdbkofoxwCRD41GGM7q","trx":{"expiration":"19700101T000000","delegate_slate_id":null,"operations":[{"type":"withdraw_op_type","data":{"balance_id":"XTS5BwGMQKsk9jBYxTPF3ist4wte72Cd8W6p","amount":30984013584,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTS4EaTubcwA4Uj763PX9WdW615qT7ZMkX4u","amount":693600,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTSKD4Nda9jTpFZsZwgjgzHg41kgsBFKpbc2","amount":1077603832,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTSCVh84hKcMKABzE4Vn5AnFA7Tm8R7rDb7F","amount":1301593439,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTS3fJfvzcokUgDagoN7Cxx3Q4jnNeMXiBYp","amount":1238671637,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTS3UA1Ftz47pLyqcTpUrq7LDT9svjcyrSAz","amount":1036516631,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTS7Vom2gYkPToRhvdEz9FdxQSL2iaEeVSN6","amount":800585024,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTSKtvV5TZCGBEbW7jwiSDAYBvx5Ry4qJPtV","amount":509632815,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTS6LdrJLUjuujDKUyRyf1YKnUr25Wz9Gao","amount":1277467038,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTSJuMAx53d6JBC3zfsZZT1mXarMKS2UMXTv","amount":882692026,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTS3QDbiAeCLW1NJY8G7vfxNoZUK6dBEzdTt","amount":2173413265,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTS6LJq7nQwLkpN7ooNx9ythp21sPjoFFDa5","amount":1337113840,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTS7uAwRwNANJchqXwdBg3wuw1991RRjfX4S","amount":298295209,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTSGSLMMnAx8hoRZds8jYA5VPpPxmf3wijoW","amount":1211666036,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTS7gp8TVtoCxJKgbdgaGFwyZtz9VMv4Ah4x","amount":864678626,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTSMWLHtehLHV52YSszkoygjcL3JwkEd3fLJ","amount":1049688031,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTSAip4JE1A8iGjHVi24Sin3KUmco8R6YeH3","amount":1744462452,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTSUEYXMqubLMEmGDMsqZ1UUJQjEzQVkFdQ","amount":1140651834,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTS9xLo7LXwqy9V3Z2qZpeS2TCUXWJBDhgH1","amount":609600,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTSLZ1wHDF3zaWUuFWr9HpHDJMyvmNQKZKRa","amount":30961696736,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTSKeDxFSCR3Yfo4uRbBi1csa8ZNKnTpP4Sa","amount":5928578779,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTSDgNLbbojuv4wsZfqkSZHwZHraKbkQgLj8","amount":1172950835,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTSGDYHHJUUt8wmm3bdaMGs3Uqz91uSHPJhK","amount":990129029,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTSEgxbamTKqH3BF8mZrZWyXPppAFUjL55n3","amount":1023554030,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTSN16Cf1uaVQodm4ES2tD546s39329KSn3w","amount":1146275834,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTSFUAGb3KZgXhCapYdvQ2HoVjvFeNR4xphS","amount":1104800,"claim_input_data":""}}],"signatures":[]},"required_signatures":["XTS4cwZ8xvRMVDPPSdaKx14p7cBJPXjjt4nv","XTSGesWuuqfB88FDy82PWLSduag4EdSQTpFs","XTS8gL9eq9TzJxea9DDhyHX18xAp8HtBqEYY","XTSDaq6RnvE4ja5AbEnroadRa1na5SDh263M","XTS2jT7aspqNLiwXVxtTUhBshC8qgifYRbXW","XTS4MY8XVzRpa28q11fUFqH4QCFRpZnmkzZs","XTSAWekTErE35gdUvEXaF9FdyaVAV1ACytMD","XTS9te6J8y7zBzmjRYpPsxCVWdcEyAS5SksZ","XTSN9diKduSt4F866PP9BfVN6Q34j23rGNL7","XTSM3moKJRT8GzZLzDedmTgdgyNnott6MSza","XTS4ESTqviqZL1qdpaBE1cw6UxMurKZcvC1a","XTSP4Kr1cvSeWFCVXicSH11HGBiK9upDzDSc","XTS2aSjn6hAwFg9jXGVZFfo1N1Qtsr6FrDX3","XTSATW2LnmzwTcTVDKu2ADzFM6T9RgB5nuLo","XTSEDkaK45j9T11DVTURxUxxsS2o4be4s12R","XTSJuvfbzxbPQgEmGFk7vx74QWTg8sA8iWHy","XTS5bQ8f8shXweH4A3gsLHHfXA19E1dGmbmW","XTSB4CA7cmvFiNePLUwhmUwHU7LfD5sZ8TG","XTS5bH8Qkz6BSpACq2tucD6Ub3JvichNBLUr","XTSCfFpMUY15qqRiBPb7agDgoAU5WfXnzieg","XTSJt4eSSybSKqEnsVTqHoPi9RMF2faWzdha","XTSNM9yc8iAJBaGFScZhyzZSaoJNHM3pxTUx","XTSKN6nyAa4i7TWEWVsCUERiUsjaK6kPr3wn","XTSGNEqNAxe1fFzWLZ1Qa2TspfeQq9CNv5Yg","XTSJuGtvzn8Ti88qsaML4m7v2a8TZdEfa7ZW","XTSDeM8HLadBrcEKzR4byiEjcVRCqq7v8KV8","XTSGxkVQB5uRhsbrebdMPNKFEA5jbFPRwtgx"]}
    th_a  wallet.cpp:468 withdraw_to_transaction


This order is shorting 20000 USD and that's a lot of BTSX.... more than 2 times what you have...
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

sfinder


I tried to short 20000 XTS at 0.01 USD but got following "insufficient funds" error while my wallet has more than 901k  balance


nxg (unlocked) >>> wallet_market_submit_short chinese 20000 0.01 USD
20010 insufficient_funds: insufficient funds

    {"required":"2,000,000.10000 XTS","available":"901,543.38562 XTS"}
    th_a  wallet.cpp:467 withdraw_to_transaction

    {"amount_to_withdraw":{"amount":200000010000,"asset_id":0},"from_account_address":"XTS2r6Pj5Nub5YneHMdbkofoxwCRD41GGM7q","trx":{"expiration":"19700101T000000","delegate_slate_id":null,"operations":[{"type":"withdraw_op_type","data":{"balance_id":"XTS5BwGMQKsk9jBYxTPF3ist4wte72Cd8W6p","amount":30984013584,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTS4EaTubcwA4Uj763PX9WdW615qT7ZMkX4u","amount":693600,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTSKD4Nda9jTpFZsZwgjgzHg41kgsBFKpbc2","amount":1077603832,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTSCVh84hKcMKABzE4Vn5AnFA7Tm8R7rDb7F","amount":1301593439,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTS3fJfvzcokUgDagoN7Cxx3Q4jnNeMXiBYp","amount":1238671637,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTS3UA1Ftz47pLyqcTpUrq7LDT9svjcyrSAz","amount":1036516631,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTS7Vom2gYkPToRhvdEz9FdxQSL2iaEeVSN6","amount":800585024,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTSKtvV5TZCGBEbW7jwiSDAYBvx5Ry4qJPtV","amount":509632815,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTS6LdrJLUjuujDKUyRyf1YKnUr25Wz9Gao","amount":1277467038,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTSJuMAx53d6JBC3zfsZZT1mXarMKS2UMXTv","amount":882692026,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTS3QDbiAeCLW1NJY8G7vfxNoZUK6dBEzdTt","amount":2173413265,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTS6LJq7nQwLkpN7ooNx9ythp21sPjoFFDa5","amount":1337113840,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTS7uAwRwNANJchqXwdBg3wuw1991RRjfX4S","amount":298295209,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTSGSLMMnAx8hoRZds8jYA5VPpPxmf3wijoW","amount":1211666036,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTS7gp8TVtoCxJKgbdgaGFwyZtz9VMv4Ah4x","amount":864678626,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTSMWLHtehLHV52YSszkoygjcL3JwkEd3fLJ","amount":1049688031,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTSAip4JE1A8iGjHVi24Sin3KUmco8R6YeH3","amount":1744462452,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTSUEYXMqubLMEmGDMsqZ1UUJQjEzQVkFdQ","amount":1140651834,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTS9xLo7LXwqy9V3Z2qZpeS2TCUXWJBDhgH1","amount":609600,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTSLZ1wHDF3zaWUuFWr9HpHDJMyvmNQKZKRa","amount":30961696736,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTSKeDxFSCR3Yfo4uRbBi1csa8ZNKnTpP4Sa","amount":5928578779,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTSDgNLbbojuv4wsZfqkSZHwZHraKbkQgLj8","amount":1172950835,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTSGDYHHJUUt8wmm3bdaMGs3Uqz91uSHPJhK","amount":990129029,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTSEgxbamTKqH3BF8mZrZWyXPppAFUjL55n3","amount":1023554030,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTSN16Cf1uaVQodm4ES2tD546s39329KSn3w","amount":1146275834,"claim_input_data":""}},{"type":"withdraw_op_type","data":{"balance_id":"XTSFUAGb3KZgXhCapYdvQ2HoVjvFeNR4xphS","amount":1104800,"claim_input_data":""}}],"signatures":[]},"required_signatures":["XTS4cwZ8xvRMVDPPSdaKx14p7cBJPXjjt4nv","XTSGesWuuqfB88FDy82PWLSduag4EdSQTpFs","XTS8gL9eq9TzJxea9DDhyHX18xAp8HtBqEYY","XTSDaq6RnvE4ja5AbEnroadRa1na5SDh263M","XTS2jT7aspqNLiwXVxtTUhBshC8qgifYRbXW","XTS4MY8XVzRpa28q11fUFqH4QCFRpZnmkzZs","XTSAWekTErE35gdUvEXaF9FdyaVAV1ACytMD","XTS9te6J8y7zBzmjRYpPsxCVWdcEyAS5SksZ","XTSN9diKduSt4F866PP9BfVN6Q34j23rGNL7","XTSM3moKJRT8GzZLzDedmTgdgyNnott6MSza","XTS4ESTqviqZL1qdpaBE1cw6UxMurKZcvC1a","XTSP4Kr1cvSeWFCVXicSH11HGBiK9upDzDSc","XTS2aSjn6hAwFg9jXGVZFfo1N1Qtsr6FrDX3","XTSATW2LnmzwTcTVDKu2ADzFM6T9RgB5nuLo","XTSEDkaK45j9T11DVTURxUxxsS2o4be4s12R","XTSJuvfbzxbPQgEmGFk7vx74QWTg8sA8iWHy","XTS5bQ8f8shXweH4A3gsLHHfXA19E1dGmbmW","XTSB4CA7cmvFiNePLUwhmUwHU7LfD5sZ8TG","XTS5bH8Qkz6BSpACq2tucD6Ub3JvichNBLUr","XTSCfFpMUY15qqRiBPb7agDgoAU5WfXnzieg","XTSJt4eSSybSKqEnsVTqHoPi9RMF2faWzdha","XTSNM9yc8iAJBaGFScZhyzZSaoJNHM3pxTUx","XTSKN6nyAa4i7TWEWVsCUERiUsjaK6kPr3wn","XTSGNEqNAxe1fFzWLZ1Qa2TspfeQq9CNv5Yg","XTSJuGtvzn8Ti88qsaML4m7v2a8TZdEfa7ZW","XTSDeM8HLadBrcEKzR4byiEjcVRCqq7v8KV8","XTSGxkVQB5uRhsbrebdMPNKFEA5jbFPRwtgx"]}
    th_a  wallet.cpp:468 withdraw_to_transaction
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
和中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

clout

I attempted to sell 100,000 XTS for some BTC at 0.000019. A small portion of my order was executed and the rest I guess was left pending. There is a bid that satisfies my order, however, even after several minutes the order was not executed.  How long should it take for an order to be matched. I have traded XTS, USD, BTC and GEM and did not have any issues until now. 

tonyk

Quote from: bytemaster on August 13, 2014, 09:28:04 PM

Please Test all of these markets:
User Issued Assets / Trading
User Issued vs BitAssets
BitBTC vs BitUSD
BitUSD vs XTS
BitBTC vs XTS


Minor issues:
1.It would be nice to be able to see bitUSD/XTS as well as XTS /bitUSD before anything else, in the above list.
2.It would be nice to be able to see your short position, with wallet_account_balance for example (and do not have to figure them out by our cover orders).

Speaking of nice,it would be nice if you send some significant chunk of fake money my way BM....
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

tonyk

Quote from: bitcoinerS on August 13, 2014, 10:55:56 PM
Quote from: tonyk on August 13, 2014, 10:51:33 PM
I need some funds, please.

XTS8gq9JYhgmv2Rvyko3PjvmL4DkCHE4C6ikcrzJNQmRETguR3n5Y

It may sound outrageous, but I will need about 10% of alt's funds for my tests.
Thanks.

Sent you some.

Quote from: emski on August 13, 2014, 10:55:35 PM
Quote from: tonyk on August 13, 2014, 10:51:33 PM
I need some funds, please.

XTS8gq9JYhgmv2Rvyko3PjvmL4DkCHE4C6ikcrzJNQmRETguR3n5Y

It may sound outrageous, but I will need about 10% of alt's funds for my tests.
Thanks.
Its 1:55 here, I'm sending you all I have. Have fun!

Thank you both!... I will have to figure out what UNOT and GEM are...but thanks for them too.

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

bitcoinerS

#25
I am giving out free GEMs to anyone who asks or sends me some XTS. (bitcoiners)

GEMS are for fun and fancy trading.


Some markets for you to play with:


USD:XTS
GEM:USD
GEM:XTS
SOUL:GEM
GEM:LOVE
>>> approve bitcoiners

bitcoinerS

Quote from: tonyk on August 13, 2014, 10:51:33 PM
I need some funds, please.

XTS8gq9JYhgmv2Rvyko3PjvmL4DkCHE4C6ikcrzJNQmRETguR3n5Y

It may sound outrageous, but I will need about 10% of alt's funds for my tests.
Thanks.

Sent you some.
>>> approve bitcoiners