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

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!
[url="https://bitsharestalk.org/index.php/topic,9857.0.html"]https://bitsharestalk.org/index.php/topic,9857.0.html[/url]

tonyk

I need some funds, please.

XTS8gq9JYhgmv2Rvyko3PjvmL4DkCHE4C6ikcrzJNQmRETguR3n5Y

It may sound outrageous, but I will need about 10% of alt's funds for my tests.
Thanks.
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

bitcoinerS

>>> approve bitcoiners

emski

Wana sell ?
25    SOUL   Immortal soul           1 Immoral soul                                  MARKET                          N/A       0.000 SOUL

emski (unlocked) >>> bid emski 1 SOUL 10 XTS
37001 invalid_market: invalid market

    {"quote_symbol":"XTS","quantity_symbol":"SOUL"}
    th_a  wallet.cpp:4018 submit_bid

    {"from_account_name":"emski","real_quantity":1,"quantity_symbol":"SOUL","quote_price":10,"quote_symbol":"XTS","sign":true}
    th_a  wallet.cpp:4095 submit_bid

    {}
    th_a  common_api_client.cpp:1331 wallet_market_submit_bid

    {"command":"bid"}
    th_a  cli.cpp:471 execute_command
[url="https://bitsharestalk.org/index.php/topic,9857.0.html"]https://bitsharestalk.org/index.php/topic,9857.0.html[/url]

bytemaster

Quote from: bitcoinerS on August 13, 2014, 10:41:13 PM
found another bug..


>>> blockchain_market_order_book GEM XTS
                  BIDS (* Short Order)                                       |                                   ASKS                                 
TOTAL                     QUANTITY                                     PRICE | PRICE                                        QUANTITY                     TOTAL   COLLATERAL
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
10,000. GEM               10,000,000.00000 XTS            0.001000000000 GEM |
Last Error:  asset/price mismatch (30004)
type mismatch multiplying asset {"amount":0,"asset_id":24} by price {"ratio":"657859888.220742383195652104","quote_asset_id":0,"base_asset_id":34758800}
type mismatch multiplying asset {"amount":0,"asset_id":24} by price {"ratio":"657859888.220742383195652104","quote_asset_id":0,"base_asset_id":34758800}

Details:
30004 asset_type_mismatch: asset/price mismatch
type mismatch multiplying asset {"amount":0,"asset_id":24} by price {"ratio":"657859888.220742383195652104","quote_asset_id":0,"base_asset_id":34758800}
    {"a":{"amount":0,"asset_id":24},"p":{"ratio":"657859888.220742383195652104","quote_asset_id":0,"base_asset_id":34758800}}
    th_a  asset.cpp:246 operator*
type mismatch multiplying asset {"amount":0,"asset_id":24} by price {"ratio":"657859888.220742383195652104","quote_asset_id":0,"base_asset_id":34758800}
    {"a":{"amount":0,"asset_id":24},"p":{"ratio":"657859888.220742383195652104","quote_asset_id":0,"base_asset_id":34758800}}
    th_a  asset.cpp:248 operator*



Known bug... safely ignored, will go away once an ask is entered....
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.

bitcoinerS

found another bug..


>>> blockchain_market_order_book GEM XTS
                  BIDS (* Short Order)                                       |                                   ASKS                                 
TOTAL                     QUANTITY                                     PRICE | PRICE                                        QUANTITY                     TOTAL   COLLATERAL
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
10,000. GEM               10,000,000.00000 XTS            0.001000000000 GEM |
Last Error:  asset/price mismatch (30004)
type mismatch multiplying asset {"amount":0,"asset_id":24} by price {"ratio":"657859888.220742383195652104","quote_asset_id":0,"base_asset_id":34758800}
type mismatch multiplying asset {"amount":0,"asset_id":24} by price {"ratio":"657859888.220742383195652104","quote_asset_id":0,"base_asset_id":34758800}

Details:
30004 asset_type_mismatch: asset/price mismatch
type mismatch multiplying asset {"amount":0,"asset_id":24} by price {"ratio":"657859888.220742383195652104","quote_asset_id":0,"base_asset_id":34758800}
    {"a":{"amount":0,"asset_id":24},"p":{"ratio":"657859888.220742383195652104","quote_asset_id":0,"base_asset_id":34758800}}
    th_a  asset.cpp:246 operator*
type mismatch multiplying asset {"amount":0,"asset_id":24} by price {"ratio":"657859888.220742383195652104","quote_asset_id":0,"base_asset_id":34758800}
    {"a":{"amount":0,"asset_id":24},"p":{"ratio":"657859888.220742383195652104","quote_asset_id":0,"base_asset_id":34758800}}
    th_a  asset.cpp:248 operator*

>>> approve bitcoiners

emski

[url="https://bitsharestalk.org/index.php/topic,9857.0.html"]https://bitsharestalk.org/index.php/topic,9857.0.html[/url]

toast

Quote from: emski on August 13, 2014, 10:32:55 PM
Shouldl I continue using TUI or I should do something else ?
Am I doing something wrong here ?
emski (unlocked) >>> wallet_market_submit_ask
from_account_name: emski
sell_quantity: 10
sell_quantity_symbol: UNOT
ask_price: 10000
ask_price_symbol: XTS
37001 invalid_market: invalid market

    {"quote_symbol":"XTS","quantity_symbol":"UNOT"}
    th_a  wallet.cpp:4130 submit_ask

    {"from_account_name":"emski","real_quantity":10,"quantity_symbol":"UNOT","quote_price":10000,"quote_symbol":"XTS","sign":true}
    th_a  wallet.cpp:4207 submit_ask

    {}
    th_a  common_api_client.cpp:1347 wallet_market_submit_ask

    {"command":"wallet_market_submit_ask"}
    th_a  cli.cpp:471 execute_command
--- there are now 9 active connections to the p2p network
emski (unlocked) >>> help wallet_market_submit_ask
Usage:
wallet_market_submit_ask <from_account_name> <sell_quantity> <sell_quantity_symbol> <ask_price> <ask_price_symbol>   Used to place a request to sell a quantity of assets at a price specified in another asset
Used to place a request to sell a quantity of assets at a price specified in another asset

Parameters:
  from_account_name (account_name, required): the account that will provide funds for the ask
  sell_quantity (real_amount, required): the quantity of items you would like to sell
  sell_quantity_symbol (asset_symbol, required): the type of items you would like to sell
  ask_price (real_amount, required): the price per unit sold.
  ask_price_symbol (asset_symbol, required): the type of asset you would like to be paid

Returns:
  signed_transaction

aliases: ask
emski (unlocked) >>> wallet_market_submit_ask emski 10 UNOT 1000 XTS
37001 invalid_market: invalid market

    {"quote_symbol":"XTS","quantity_symbol":"UNOT"}
    th_a  wallet.cpp:4130 submit_ask

    {"from_account_name":"emski","real_quantity":10,"quantity_symbol":"UNOT","quote_price":1000,"quote_symbol":"XTS","sign":true}
    th_a  wallet.cpp:4207 submit_ask

    {}
    th_a  common_api_client.cpp:1347 wallet_market_submit_ask

    {"command":"wallet_market_submit_ask"}
    th_a  cli.cpp:471 execute_command



Try putting the symbols in the other order
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.

bytemaster

#15
Quote from: emski on August 13, 2014, 10:32:55 PM
Shouldl I continue using TUI or I should do something else ?
Am I doing something wrong here ?
emski (unlocked) >>> wallet_market_submit_ask
from_account_name: emski
sell_quantity: 10
sell_quantity_symbol: UNOT
ask_price: 10000
ask_price_symbol: XTS
37001 invalid_market: invalid market

    {"quote_symbol":"XTS","quantity_symbol":"UNOT"}
    th_a  wallet.cpp:4130 submit_ask

    {"from_account_name":"emski","real_quantity":10,"quantity_symbol":"UNOT","quote_price":10000,"quote_symbol":"XTS","sign":true}
    th_a  wallet.cpp:4207 submit_ask

    {}
    th_a  common_api_client.cpp:1347 wallet_market_submit_ask

    {"command":"wallet_market_submit_ask"}
    th_a  cli.cpp:471 execute_command
--- there are now 9 active connections to the p2p network
emski (unlocked) >>> help wallet_market_submit_ask
Usage:
wallet_market_submit_ask <from_account_name> <sell_quantity> <sell_quantity_symbol> <ask_price> <ask_price_symbol>   Used to place a request to sell a quantity of assets at a price specified in another asset
Used to place a request to sell a quantity of assets at a price specified in another asset

Parameters:
  from_account_name (account_name, required): the account that will provide funds for the ask
  sell_quantity (real_amount, required): the quantity of items you would like to sell
  sell_quantity_symbol (asset_symbol, required): the type of items you would like to sell
  ask_price (real_amount, required): the price per unit sold.
  ask_price_symbol (asset_symbol, required): the type of asset you would like to be paid

Returns:
  signed_transaction

aliases: ask
emski (unlocked) >>> wallet_market_submit_ask emski 10 UNOT 1000 XTS
37001 invalid_market: invalid market

    {"quote_symbol":"XTS","quantity_symbol":"UNOT"}
    th_a  wallet.cpp:4130 submit_ask

    {"from_account_name":"emski","real_quantity":10,"quantity_symbol":"UNOT","quote_price":1000,"quote_symbol":"XTS","sign":true}
    th_a  wallet.cpp:4207 submit_ask

    {}
    th_a  common_api_client.cpp:1347 wallet_market_submit_ask

    {"command":"wallet_market_submit_ask"}
    th_a  cli.cpp:471 execute_command



Your market is backward...   try putting a BID instead.
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.

Riverhead

GUI dumped the core on me. Guess I'll stick to the CLI 8)

emski

Shouldl I continue using TUI or I should do something else ?
Am I doing something wrong here ?
emski (unlocked) >>> wallet_market_submit_ask
from_account_name: emski
sell_quantity: 10
sell_quantity_symbol: UNOT
ask_price: 10000
ask_price_symbol: XTS
37001 invalid_market: invalid market

    {"quote_symbol":"XTS","quantity_symbol":"UNOT"}
    th_a  wallet.cpp:4130 submit_ask

    {"from_account_name":"emski","real_quantity":10,"quantity_symbol":"UNOT","quote_price":10000,"quote_symbol":"XTS","sign":true}
    th_a  wallet.cpp:4207 submit_ask

    {}
    th_a  common_api_client.cpp:1347 wallet_market_submit_ask

    {"command":"wallet_market_submit_ask"}
    th_a  cli.cpp:471 execute_command
--- there are now 9 active connections to the p2p network
emski (unlocked) >>> help wallet_market_submit_ask
Usage:
wallet_market_submit_ask <from_account_name> <sell_quantity> <sell_quantity_symbol> <ask_price> <ask_price_symbol>   Used to place a request to sell a quantity of assets at a price specified in another asset
Used to place a request to sell a quantity of assets at a price specified in another asset

Parameters:
  from_account_name (account_name, required): the account that will provide funds for the ask
  sell_quantity (real_amount, required): the quantity of items you would like to sell
  sell_quantity_symbol (asset_symbol, required): the type of items you would like to sell
  ask_price (real_amount, required): the price per unit sold.
  ask_price_symbol (asset_symbol, required): the type of asset you would like to be paid

Returns:
  signed_transaction

aliases: ask
emski (unlocked) >>> wallet_market_submit_ask emski 10 UNOT 1000 XTS
37001 invalid_market: invalid market

    {"quote_symbol":"XTS","quantity_symbol":"UNOT"}
    th_a  wallet.cpp:4130 submit_ask

    {"from_account_name":"emski","real_quantity":10,"quantity_symbol":"UNOT","quote_price":1000,"quote_symbol":"XTS","sign":true}
    th_a  wallet.cpp:4207 submit_ask

    {}
    th_a  common_api_client.cpp:1347 wallet_market_submit_ask

    {"command":"wallet_market_submit_ask"}
    th_a  cli.cpp:471 execute_command

[url="https://bitsharestalk.org/index.php/topic,9857.0.html"]https://bitsharestalk.org/index.php/topic,9857.0.html[/url]

bytemaster

The GUI has many bugs still so GUI bugs do not count for bounty.    When in doubt use the console for an accurate representation of the market.
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.

tonyk

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

bitcoinerS

>>> approve bitcoiners

toast

Quote from: emski on August 13, 2014, 10:10:55 PM
I'm in vacation with limited PC access.
I've missed a lot.
Am I doing something wrong with this:
emski (unlocked) >>> wallet_asset_create
symbol: UNO
asset_name: UNObtainium
issuer_name: emski
10 assert_exception: Assert Exception
BTS_BLOCKCHAIN_MAX_SHARES / precision > max_share_supply:
    {}
    th_a  wallet.cpp:3515 create_asset

    {"symbol":"UNO","name":"UNObtainium","description":"","issuer_account":"emski"}
    th_a  wallet.cpp:3548 create_asset

    {}
    th_a  common_api_client.cpp:1235 wallet_asset_create

    {"command":"wallet_asset_create"}
    th_a  cli.cpp:471 execute_command


LOL the default optional arguments are invalid.

try "help wallet_asset_create" for full usage
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.