Author Topic: Dry Run 14 - The Next Generation ($200 BitUSD bounty)  (Read 21515 times)

0 Members and 1 Guest are viewing this topic.

Offline emski

  • Hero Member
  • *****
  • Posts: 1282
    • View Profile
    • http://lnkd.in/nPbhxG
Last parameter of wallet_asset_create allows you to set an asset as market issued.
Code: [Select]
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

Offline bitcoinerS

  • Hero Member
  • *****
  • Posts: 592
    • View Profile
MARKET issued "Immoral soul"...

Code: [Select]
>>> 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

Offline emski

  • Hero Member
  • *****
  • Posts: 1282
    • View Profile
    • http://lnkd.in/nPbhxG
MARKET issued "Immoral soul"...

Code: [Select]
>>> 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.

Offline ripplexiaoshan

  • Board Moderator
  • Hero Member
  • *****
  • Posts: 2300
    • View Profile
  • BitShares: jademont
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

Offline tonyk

  • Hero Member
  • *****
  • Posts: 3308
    • View Profile
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

Code: [Select]
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.

Offline sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile
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

Code: [Select]
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

Offline bitcoinerS

  • Hero Member
  • *****
  • Posts: 592
    • View Profile
MARKET issued "Immoral soul"...

Code: [Select]
>>> blockchain_list_assets
...
25    SOUL   Immortal soul           1 Immoral soul                                  MARKET                          N/A       0.000 SOUL                 
>>> approve bitcoiners

Offline sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile
微博:星在飘我在找|BTS X 受托人delegate ID:baidu
中国教育书店合作将20%收入捐献给贫困山区学生。
Cooperating with China Education Bookstore and will donate 20% of delegate income to the poor students

Offline tonyk

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

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

Code: [Select]
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...
« Last Edit: August 14, 2014, 01:56:34 am by tonyk »
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

Offline sfinder

  • Hero Member
  • *****
  • Posts: 1205
  • 4 Cores CPU+100GB SSD+anti-DDoS Pro
    • View Profile

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

Code: [Select]
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

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

Offline tonyk

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

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....
« Last Edit: August 13, 2014, 11:58:47 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 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.

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.

Offline bitcoinerS

  • Hero Member
  • *****
  • Posts: 592
    • View Profile
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:

Code: [Select]
USD:XTS
GEM:USD
GEM:XTS
SOUL:GEM
GEM:LOVE
« Last Edit: August 13, 2014, 11:30:07 pm by bitcoinerS »
>>> approve bitcoiners

Offline bitcoinerS

  • Hero Member
  • *****
  • Posts: 592
    • View Profile
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