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

0 Members and 1 Guest are viewing this topic.

Offline emski

  • Hero Member
  • *****
  • Posts: 1282
    • View Profile
    • http://lnkd.in/nPbhxG
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!

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.
Lack of arbitrage is the problem, isn't it. And this 'should' solves it.

Offline bitcoinerS

  • Hero Member
  • *****
  • Posts: 592
    • View Profile
>>> approve bitcoiners

Offline emski

  • Hero Member
  • *****
  • Posts: 1282
    • View Profile
    • http://lnkd.in/nPbhxG
Wana sell ?
25    SOUL   Immortal soul           1 Immoral soul                                  MARKET                          N/A       0.000 SOUL

Code: [Select]
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
« Last Edit: August 13, 2014, 10:49:12 pm by emski »

Offline bytemaster

found another bug..

Code: [Select]
>>> 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: http://bytemaster.bitshares.org
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.

Offline bitcoinerS

  • Hero Member
  • *****
  • Posts: 592
    • View Profile
found another bug..

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


Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
Shouldl I continue using TUI or I should do something else ?
Am I doing something wrong here ?
Code: [Select]
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.

Offline bytemaster

Shouldl I continue using TUI or I should do something else ?
Am I doing something wrong here ?
Code: [Select]
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.
« Last Edit: August 13, 2014, 10:36:49 pm by bytemaster »
For the latest updates checkout my blog: http://bytemaster.bitshares.org
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.

Offline Riverhead

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

Offline emski

  • Hero Member
  • *****
  • Posts: 1282
    • View Profile
    • http://lnkd.in/nPbhxG
Shouldl I continue using TUI or I should do something else ?
Am I doing something wrong here ?
Code: [Select]
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


Offline 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: http://bytemaster.bitshares.org
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.

Offline tonyk

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

Should we try building GUI?

I am using market GUI!

Is it cool ? Is it Christmas?

Post a pic, please?

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

Offline bitcoinerS

  • Hero Member
  • *****
  • Posts: 592
    • View Profile
>>> approve bitcoiners

Offline toast

  • Hero Member
  • *****
  • Posts: 4001
    • View Profile
  • BitShares: nikolai
I'm in vacation with limited PC access.
I've missed a lot.
Am I doing something wrong with this:
Code: [Select]
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.