BitShares Forum
Main => General Discussion => Topic started by: bytemaster on August 13, 2014, 09:28:04 pm
-
CyberSpace, the final frontier
These are the voyages of the BitShares community
Its continuing mission to explore strange new blockchains
To seek out new DACs and new civilizations
To boldly go where no market has gone before.
https://www.youtube.com/watch?v=XsxgcLf0TSY
This update has seen many fixes to the market infrastructure. We are are offering a $200 BitUSD bounty for bugs that result in changes to the market execution engine.
I would appreciate it if someone could help by providing build instructions for getting on the network.
Things to test... delegates: we are attempting to track down communications getting "Hung" so please try to maintain uptime.
Please Test all of these markets:
User Issued Assets / Trading
User Issued vs BitAssets
BitBTC vs BitUSD
BitUSD vs XTS
BitBTC vs XTS
Note: use develop branch
-
Don't know if this qualifies but here is a bug:
10 assert_exception: Assert Exception
>>> blockchain_market_order_book USD XTS
BIDS (* Short Order) | ASKS
TOTAL QUANTITY PRICE | PRICE QUANTITY TOTAL COLLATERAL
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
0.4087 USD MARKET PRICE | 0.008695652174 USD 113,149.50000 XTS 983.9086 USD
0.9999 USD 112.00000 XTS 0.008928571429 USD*| 0.009000000000 USD 100,000.00000 XTS 900.0000 USD
0.9999 USD 115.00000 XTS 0.008695652174 USD*| 0.010000000000 USD 1,000,000.00000 XTS 10,000.0000 USD
0.9999 USD 115.00000 XTS 0.008695652174 USD*| 0.100000000000 USD 1,000,000.00000 XTS 100,000.0000 USD
0.9999 USD 150.00000 XTS 0.006666666667 USD*|
10.0000 USD 2,000.00000 XTS 0.005000000000 USD*|
99.9999 USD 29,999.99999 XTS 0.003333333333 USD*|
100.0000 USD 40,000.00000 XTS 0.002500000000 USD*|
100.0000 USD 50,000.00000 XTS 0.002000000000 USD*|
49.9999 USD 75,000.00000 XTS 0.000666666667 USD*|
499.9999 USD 825,000.00000 XTS 0.000606060606 USD*|
400.0000 USD 1,000,000.00000 XTS 0.000400000000 USD*|
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| MARGIN
| CALL PRICE QUANTITY TOTAL COLLATERAL
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| 0.008522727273 USD 132.00000 XTS 0.9999 USD 176.00000 XTS
| 0.006756756757 USD 832.50000 XTS 4.9999 USD 1,110.00000 XTS
| 0.006521739130 USD 1,725.00000 XTS 9.9999 USD 2,300.00000 XTS
Median Feed Price: 0.00860397119999999 USD / XTS Maximum Short Price: 0.01147196159999998 USD / XTS Minimum Cover Price: 0.00573598079999999 USD / XTS
Bid Depth: 2,022,491.99999 XTS Ask Depth: 2,216,735.50000 XTS Min Depth: 2,000,000.00000 XTS
Last Error: Assert Exception (10)
mtrx.ask_paid == xts_paid_by_short:
Details:
10 assert_exception: Assert Exception
mtrx.ask_paid == xts_paid_by_short:
{"mtrx":{"bid_owner":"XTSCKEphFHw37zAfmoPD7fuya1QjrmQbknuM","ask_owner":"XTS8Gome3eZ3cVcgBvhPPW7xxdhbfbwYfWNo","bid_price":{"ratio":"0.000666666666666666","quote_asset_id":22,"base_asset_id":0},"ask_price":{"ratio":"0.000666666666666666","quote_asset_id":22,"base_asset_id":0},"bid_paid":{"amount":9999,"asset_id":22},"bid_received":{"amount":14998500,"asset_id":0},"ask_paid":{"amount":14998500,"asset_id":0},"ask_received":{"amount":9999,"asset_id":22},"bid_type":"short_order","ask_type":"cover_order","fees_collected":{"amount":0,"asset_id":0}},"xts_paid_by_short":{"amount":15000000,"asset_id":0}}
th_a market_engine.cpp:472 pay_current_short
{"mtrx":{"bid_owner":"XTSCKEphFHw37zAfmoPD7fuya1QjrmQbknuM","ask_owner":"XTS8Gome3eZ3cVcgBvhPPW7xxdhbfbwYfWNo","bid_price":{"ratio":"0.000666666666666666","quote_asset_id":22,"base_asset_id":0},"ask_price":{"ratio":"0.000666666666666666","quote_asset_id":22,"base_asset_id":0},"bid_paid":{"amount":9999,"asset_id":22},"bid_received":{"amount":14998500,"asset_id":0},"ask_paid":{"amount":14998500,"asset_id":0},"ask_received":{"amount":9999,"asset_id":22},"bid_type":"short_order","ask_type":"cover_order","fees_collected":{"amount":0,"asset_id":0}}}
th_a market_engine.cpp:506 pay_current_short
-
compiling
-
Don't know if this qualifies but here is a bug:
10 assert_exception: Assert Exception
>>> blockchain_market_order_book USD XTS
BIDS (* Short Order) | ASKS
TOTAL QUANTITY PRICE | PRICE QUANTITY TOTAL COLLATERAL
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
0.4087 USD MARKET PRICE | 0.008695652174 USD 113,149.50000 XTS 983.9086 USD
0.9999 USD 112.00000 XTS 0.008928571429 USD*| 0.009000000000 USD 100,000.00000 XTS 900.0000 USD
0.9999 USD 115.00000 XTS 0.008695652174 USD*| 0.010000000000 USD 1,000,000.00000 XTS 10,000.0000 USD
0.9999 USD 115.00000 XTS 0.008695652174 USD*| 0.100000000000 USD 1,000,000.00000 XTS 100,000.0000 USD
0.9999 USD 150.00000 XTS 0.006666666667 USD*|
10.0000 USD 2,000.00000 XTS 0.005000000000 USD*|
99.9999 USD 29,999.99999 XTS 0.003333333333 USD*|
100.0000 USD 40,000.00000 XTS 0.002500000000 USD*|
100.0000 USD 50,000.00000 XTS 0.002000000000 USD*|
49.9999 USD 75,000.00000 XTS 0.000666666667 USD*|
499.9999 USD 825,000.00000 XTS 0.000606060606 USD*|
400.0000 USD 1,000,000.00000 XTS 0.000400000000 USD*|
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| MARGIN
| CALL PRICE QUANTITY TOTAL COLLATERAL
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| 0.008522727273 USD 132.00000 XTS 0.9999 USD 176.00000 XTS
| 0.006756756757 USD 832.50000 XTS 4.9999 USD 1,110.00000 XTS
| 0.006521739130 USD 1,725.00000 XTS 9.9999 USD 2,300.00000 XTS
Median Feed Price: 0.00860397119999999 USD / XTS Maximum Short Price: 0.01147196159999998 USD / XTS Minimum Cover Price: 0.00573598079999999 USD / XTS
Bid Depth: 2,022,491.99999 XTS Ask Depth: 2,216,735.50000 XTS Min Depth: 2,000,000.00000 XTS
Last Error: Assert Exception (10)
mtrx.ask_paid == xts_paid_by_short:
Details:
10 assert_exception: Assert Exception
mtrx.ask_paid == xts_paid_by_short:
{"mtrx":{"bid_owner":"XTSCKEphFHw37zAfmoPD7fuya1QjrmQbknuM","ask_owner":"XTS8Gome3eZ3cVcgBvhPPW7xxdhbfbwYfWNo","bid_price":{"ratio":"0.000666666666666666","quote_asset_id":22,"base_asset_id":0},"ask_price":{"ratio":"0.000666666666666666","quote_asset_id":22,"base_asset_id":0},"bid_paid":{"amount":9999,"asset_id":22},"bid_received":{"amount":14998500,"asset_id":0},"ask_paid":{"amount":14998500,"asset_id":0},"ask_received":{"amount":9999,"asset_id":22},"bid_type":"short_order","ask_type":"cover_order","fees_collected":{"amount":0,"asset_id":0}},"xts_paid_by_short":{"amount":15000000,"asset_id":0}}
th_a market_engine.cpp:472 pay_current_short
{"mtrx":{"bid_owner":"XTSCKEphFHw37zAfmoPD7fuya1QjrmQbknuM","ask_owner":"XTS8Gome3eZ3cVcgBvhPPW7xxdhbfbwYfWNo","bid_price":{"ratio":"0.000666666666666666","quote_asset_id":22,"base_asset_id":0},"ask_price":{"ratio":"0.000666666666666666","quote_asset_id":22,"base_asset_id":0},"bid_paid":{"amount":9999,"asset_id":22},"bid_received":{"amount":14998500,"asset_id":0},"ask_paid":{"amount":14998500,"asset_id":0},"ask_received":{"amount":9999,"asset_id":22},"bid_type":"short_order","ask_type":"cover_order","fees_collected":{"amount":0,"asset_id":0}}}
th_a market_engine.cpp:506 pay_current_short
That looks like the prior test net (internal only).... cause I fixed that :)
(wallet closed) >>> info
{
"blockchain_head_block_num": 156,
"blockchain_head_block_age": "6 seconds old",
"blockchain_head_block_timestamp": "2014-08-13T21:37:20",
-
Make sure you delete your ~/.BitsharesXTS (or your ~/.BitsharesXTS_Test15 if you jumped the gun like me :o ). That's my technique anyway, may be overkill for each Dry Run.
-
:)
True, looks like I jumped the gun by an hour or two..
I am on the latest now.
Lets do some fancy trading!
-
Should we try building GUI?
-
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
-
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
-
Should we try building GUI?
I am using market GUI!
-
Should we try building GUI?
I am using market GUI!
Is it cool ? Is it Christmas?
Post a pic, please?
building....44%....
-
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.
-
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
-
GUI dumped the core on me. Guess I'll stick to the CLI 8)
-
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.
-
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
-
Your market is backward... try putting a BID instead.
10x , my bad.
-
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*
-
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....
-
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
-
Should we try building GUI?
I am using market GUI!
Is it cool ? Is it Christmas?
Post a pic, please?
building....44%....
(https://db.tt/PRRWOh25)
-
I need some funds, please.
XTS8gq9JYhgmv2Rvyko3PjvmL4DkCHE4C6ikcrzJNQmRETguR3n5Y
It may sound outrageous, but I will need about 10% of alt's funds for my tests.
Thanks.
-
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!
-
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 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
-
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.
-
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....
-
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.
-
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
-
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...
-
thanks
-
MARKET issued "Immoral soul"...
>>> blockchain_list_assets
...
25 SOUL Immortal soul 1 Immoral soul MARKET N/A 0.000 SOUL
-
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
-
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> ...
-
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
-
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.
-
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?
-
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
-
Is there a reason why this isn't filling? Neither are mine just curious. Seems the ASK is looking to buy USD for more than what the BID is selling it for.
TYPE QUANTITY PRICE BALANCE COST COLLATERAL ID
================================================================================================================================
bid_order 1,000.00000 XTS 0.001 USD / XTS 1.0000 USD 1.0000 USD N/A XTSJtmW37wek6EVV2ccMqoGPD6S67Tdkb2c6
riverheadtest (unlocked) >>> blockchain_market_list_asks USD XTS
TYPE QUANTITY PRICE BALANCE COST COLLATERAL ID
================================================================================================================================
ask_order 1,000.00000 XTS 0.01111111 USD / XTS 1,000.00000 XTS 11.1111 USD N/A XTSPx3zfRgknKrxYATB6L6xCd3QY5YBWmiK
-
I'm trying to figure out what happened here.
This is the market:
default (unlocked) >>> blockchain_market_order_book USD XTS
BIDS (* Short Order) | ASKS
TOTAL QUANTITY PRICE | PRICE QUANTITY TOTAL COLLATERAL
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
103.6513 USD MARKET PRICE | 0.011111110000 USD 1,000.00000 XTS 11.1111 USD
99.9999 USD 9,000.00900 XTS 0.011111100000 USD*| 0.011111111111 USD 100.00000 XTS 1.1111 USD
219.4796 USD 24,142.76556 XTS 0.009090909091 USD*| 0.011111111200 USD 1,000.00000 XTS 11.1111 USD
100.0000 USD 12,000.00000 XTS 0.008333333333 USD | 0.011200000000 USD 1,000.00000 XTS 11.1999 USD
19.9999 USD 2,469.13580 XTS 0.008100000000 USD*| 0.014000000000 USD 10,000,000.00000 XTS 140,000.0000 USD
99,889.0002 USD 14,269,857.17144 XTS 0.007000000000 USD*| 0.014000000000 USD 10,000.00000 XTS 140.0000 USD
19.9999 USD 3,921.56862 XTS 0.005100000000 USD*| 1.111111111111 USD 0.90000 XTS 1.0000 USD
1.0000 USD 1,000.00000 XTS 0.001000000000 USD |
19.9999 USD 39,215.68627 XTS 0.000510000000 USD*|
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| MARGIN
| CALL PRICE QUANTITY TOTAL COLLATERAL
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| 0.008333333333 USD 135.00000 XTS 0.9999 USD 180.00000 XTS
| 0.008250000000 USD 13.63635 XTS 0.0999 USD 18.18180 XTS
| 0.008250000000 USD 136,363.63635 XTS 999.9998 USD 181,818.18180 XTS
| 0.008250000000 USD 13.63635 XTS 0.0999 USD 18.18180 XTS
| 0.008241758242 USD 2,729.99998 XTS 19.9999 USD 3,639.99998 XTS
| 0.008241758242 USD 1,364.99998 XTS 9.9999 USD 1,819.99998 XTS
| 0.007500000000 USD 30,000.00000 XTS 200.0000 USD 40,000.00000 XTS
| 0.006862500000 USD 32.78688 XTS 0.1999 USD 43.71584 XTS
| 0.006825000000 USD 7,582.41757 XTS 45.9999 USD 10,109.89010 XTS
| 0.006818181818 USD 128,785.85166 XTS 780.5201 USD 171,714.46888 XTS
| 0.006750000000 USD 16,666.66665 XTS 99.9999 USD 22,222.22221 XTS
| 0.005250000000 USD 23,785.67140 XTS 110.9998 USD 31,714.22854 XTS
Median Feed Price: 0.008109332 USD / XTS Maximum Short Price: 0.01081244266666666 USD / XTS Minimum Cover Price: 0.00540622133333333 USD / XTS
Bid Depth: 14,348,606.33669 XTS Ask Depth: 10,464,665.75455 XTS Min Depth: 2,000,000.00000 XTS
This is what is in the account:
default (unlocked) >>> wallet_account_balance
ACCOUNT BALANCE
============================================================
maqifrnswa 480.0000 USD
6,705.62173 XTS
I make this order:
default (unlocked) >>> wallet_market_submit_bid maqifrnswa 480 XTS 1 USD
{
"expiration": "20140814T143920",
"delegate_slate_id": null,
"operations": [{
"type": "withdraw_op_type",
"data": {
"balance_id": "XTSHzdmQMZfxAUqEBsSNKmaU8NwYFbTX5Qce",
"amount": 4800000,
"claim_input_data": ""
}
},{
"type": "withdraw_op_type",
"data": {
"balance_id": "XTSAwtaSJ44fTUkm8kHjqFu3jbPzNzZKP9Ey",
"amount": 10000,
"claim_input_data": ""
}
},{
"type": "bid_op_type",
"data": {
"amount": 4800000,
"bid_index": {
"order_price": {
"ratio": "0.100000000000000005",
"quote_asset_id": 22,
"base_asset_id": 0
},
"owner": "XTSJUzKXsQrVqPeL21C3uMSaT6AGqSefNGnK"
}
}
}
],
"signatures": [
"1f8226eda47c43167b07f5a521f5baa178b588212bcdb9021b6c8f3f159fe39ec5e4bbf6a5e090bf1ef82281c456a9da1d16de9063360149b5003deb7c7178a501",
"20d4d88a7afe9ca1cffb191873a001884d39b30884545aebd07286d29e782f96da2815b77fc387f76b3ab0e638d53010d3e435d746750429df8ad2c2ed2224d409",
"1f37854f51cf473781e090f907d4adf0b1db5e15a927050098bcd6cea89a05aa9314a2c21ac66a0f4c07e7311d80536a64b689e917de539b007e32a507ba2eb616"
]
}
I expect to buy:
11.1111 USD at 0.01111111 USD/XTS = 1000 XTS
1.1111 USD at 0.011111111111 USD/XTS = 100 XTS
11.1111 USD @ 0.011111111200 = 1000 XTS
11.1999 USD @0.011200000000 = 1000 XTS
445.4668 USD @0.014000000000 = 31819.05 XTS
total should have been bought: 34919.05 XTS
Here's the account and market after the purchase:
default (unlocked) >>> wallet_account_balance
ACCOUNT BALANCE
============================================================
maqifrnswa 7,185.52172 XTS
default (unlocked) >>> blockchain_market_order_book USD XTS
BIDS (* Short Order) | ASKS
TOTAL QUANTITY PRICE | PRICE QUANTITY TOTAL COLLATERAL
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
99.9999 USD 9,000.00900 XTS 0.011111100000 USD*| 0.014000000000 USD 9,960,777.27858 XTS 139,450.8819 USD
219.4796 USD 24,142.76556 XTS 0.009090909091 USD*| 0.014000000000 USD 10,000.00000 XTS 140.0000 USD
100.0000 USD 12,000.00000 XTS 0.008333333333 USD | 1.111111111111 USD 0.90000 XTS 1.0000 USD
19.9999 USD 2,469.13580 XTS 0.008100000000 USD*|
99,889.0002 USD 14,269,857.17144 XTS 0.007000000000 USD*|
19.9999 USD 3,921.56862 XTS 0.005100000000 USD*|
1.0000 USD 1,000.00000 XTS 0.001000000000 USD |
19.9999 USD 39,215.68627 XTS 0.000510000000 USD*|
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| MARGIN
| CALL PRICE QUANTITY TOTAL COLLATERAL
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| 0.008333333333 USD 135.00000 XTS 0.9999 USD 180.00000 XTS
| 0.008250000000 USD 13.63635 XTS 0.0999 USD 18.18180 XTS
| 0.008250000000 USD 136,363.63635 XTS 999.9998 USD 181,818.18180 XTS
| 0.008250000000 USD 13.63635 XTS 0.0999 USD 18.18180 XTS
| 0.008241758242 USD 2,729.99998 XTS 19.9999 USD 3,639.99998 XTS
| 0.008241758242 USD 1,364.99998 XTS 9.9999 USD 1,819.99998 XTS
| 0.007500000000 USD 30,000.00000 XTS 200.0000 USD 40,000.00000 XTS
| 0.006862500000 USD 32.78688 XTS 0.1999 USD 43.71584 XTS
| 0.006825000000 USD 7,582.41757 XTS 45.9999 USD 10,109.89010 XTS
| 0.006818181818 USD 128,785.85166 XTS 780.5201 USD 171,714.46888 XTS
| 0.006750000000 USD 16,666.66665 XTS 99.9999 USD 22,222.22221 XTS
| 0.005250000000 USD 23,785.67140 XTS 110.9998 USD 31,714.22854 XTS
Median Feed Price: 0.008109332 USD / XTS Maximum Short Price: 0.01081244266666666 USD / XTS Minimum Cover Price: 0.00540622133333333 USD / XTS
Bid Depth: 14,348,606.33669 XTS Ask Depth: 10,422,343.04211 XTS Min Depth: 2,000,000.00000 XTS
So it looks like the market executed ok, but 27,733.52828 XTS seems to be missing from the account.
EDIT: here's the transaction history
[default (unlocked) >>> wallet_account_transaction_history
RECEIVED BLOCK FROM TO AMOUNT MEMO FEE ID
========================================================================================================================================================================
|2014-08-13T01:00:00 0 GENESIS maqifrnswa 60,525.43383 XTS claim Ppf3WEcqakR7CarJWYQ41D5H7UWZKTz5vd 0.00000 XTS [5afce1]|
| GENESIS maqifrnswa 247.73200 XTS claim Pn5cHQPYxzJAso16hpvCCSjj7HEnuccJbs |
| GENESIS maqifrnswa 5,958.39818 XTS claim 1DXCqXn8M7VJ7c1K5H5qhMSkZKkpSesQ8o |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2014-08-14T03:41:44 2307 maqifrnswa maqifrnswa 0.00000 XTS register maqifrnswa as a delegate 25.84228 XTS 34901ef8
2014-08-14T03:45:10 2328 maqifrnswa ASK-DdPHJoDQ 60,000.00000 XTS sell XTS @ 0.008 USD / XTS 0.10000 XTS df867f39
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-14T03:45:30 2329 ASK-DdPHJoDQ MARKET 60,000.00000 XTS fill ask @ 0.008 USD / XTS 0.00000 XTS [185799]|
| ASK-DdPHJoDQ maqifrnswa 480.0000 USD ask proceeds @ 0.008 USD / XTS |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2014-08-14T12:39:20 5533 maqifrnswa BID-JUzKXsQr 480.0000 USD buy XTS @ 1.00000000000000005 USD / XTS 0.10000 XTS d48358a5
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-14T12:39:40 5534 BID-JUzKXsQr MARKET 480.0000 USD pay bid @ 1.00000000000000005 USD / XTS 0.00000 XTS [f3100d]|
| BID-JUzKXsQr maqifrnswa 479.99999 XTS bid proceeds @ 1.00000000000000005 USD /... |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
/code]
-
Is there a reason why this isn't filling? Neither are mine just curious. Seems the ASK is looking to buy USD for more than what the BID is selling it for.
TYPE QUANTITY PRICE BALANCE COST COLLATERAL ID
================================================================================================================================
bid_order 1,000.00000 XTS 0.001 USD / XTS 1.0000 USD 1.0000 USD N/A XTSJtmW37wek6EVV2ccMqoGPD6S67Tdkb2c6
riverheadtest (unlocked) >>> blockchain_market_list_asks USD XTS
TYPE QUANTITY PRICE BALANCE COST COLLATERAL ID
================================================================================================================================
ask_order 1,000.00000 XTS 0.01111111 USD / XTS 1,000.00000 XTS 11.1111 USD N/A XTSPx3zfRgknKrxYATB6L6xCd3QY5YBWmiK
The asks wants more than the bid is willing to pay, no match.
-
I see, I got it backwards then.
Bid: I'm willing to pay 0.001 USD/XTS for 1000 XTS
Ask: I'm willing to sell 1000 XTS for 0.011111111 USD/XTS.
Is that the correct read?
-
I see, I got it backwards then.
Bid: I'm willing to pay 0.001 USD/XTS for 1000 XTS
Ask: I'm willing to sell 1000 XTS for 0.011111111 USD/XTS.
Is that the correct read?
Yes
-
Bid: I'm willing to pay 0.001 USD/XTS for 1000 XTS USD
Ask: I'm willing to sell 1000 XTS for 0.011111111 USD/XTS.
fixed it, didn't I
-
the quantity is the amount of the original order while the balance is the unmatched/not executed yet part of the order isn't it?
-
7
the quantity is the amount of the original order while the balance is the unmatched/not executed yet part of the order isn't it?
But the bid has USD and is trying to unload them for XTS...
Your correction would be correct if you changed it to
Bid: I'm willing to pay 0.001 USD/XTS for 1 USD worth of XTS
-
bitshare@ubuntu:~/bitshares_toolkit$ cmake .
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8/Modules/FindZLIB.cmake:85 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:56 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/bitshare/bitshares_toolkit/CMakeFiles/CMakeOutput.log".
bitshare@ubuntu:~/bitshares_toolkit$
how to resolve? ths
-
Looks like someone found a way to bump the median price feed and create millions of USD ( by voting their delegate in... )
-
Arent the delegates in power to manipulate the price feeds ?
Isn't that normal if the market is small?
-
Arent the delegates in power to manipulate the price feeds ?
Isn't that normal if the market is small?
Yes, they are.... in this case the delegate moved the price to something unrealistic and thus this is a potential attack vector if someone can gain enough delegate seats *AND* has enough stake to push through arbitrary orders.
-
Looks like someone found a way to bump the median price feed and create millions of USD ( by voting their delegate in... )
It's me...
it's a mess....
I have not got 1 USD
because it's always get an exception ...
both USD and BTC market
I need to do a market depth
wallet_market_submit_ask baozi 200000 XTS 1000001 BTC
and got an exception at the market
BN_num_bits(n) <= 63:
{}
th_a bigint.cpp:55 to_int64
type mismatch multiplying asset {"amount":20000000000,"asset_id":0} by price {"ratio":"1000001000.","quote_asset_id":4,"base_asset_id":0}
{"a":{"amount":20000000000,"asset_id":0},"p":{"ratio":"1000001000.","quote_asset_id":4,"base_asset_id":0}}
th_a asset.cpp:248 operator*
test (unlocked) >>> wallet_market_cancel_order XTSP5vKB2THt4hXdSPwCoKn3Zkks1J5cw1N
30008 zero_amount: zero amount
{"order":{"order":{"type":"ask_order","market_index":{"order_price":{"ratio":"1000001000.","quote_asset_id":4,"base_asset_id":0},"owner":"XTSP5vKB2THt4hXdSPwCoKn3Zkks1J5cw1N"},"state":{"balance":0},"collateral":null},"proceeds":0,"transactions":["d04973e606c293eecfd4fb1ff30f2919f3bf1c38","7b61c516570fc0291de7d1e44bc620fd3bc2c493"]}}
th_a wallet.cpp:3923 cancel_market_order
{"owner_address":"XTSP5vKB2THt4hXdSPwCoKn3Zkks1J5cw1N"}
th_a wallet.cpp:3983 cancel_market_order
{}
th_a common_api_client.cpp:1411 wallet_market_cancel_order
-
+5% for alt trying to cripple the markets :)
-
I'm still missing 100,000 XTS... where should I be looking to see that my funds did not disappear? I have no pending orders for the transaction.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-14T01:10:02 1233 ASK-L4zbTz29 MARKET 100,000.00000 XTS fill ask @ 0.000019 USD / XTS 0.00000 XTS [8b4c8a]|
| ASK-L4zbTz29 malcolmjmr 1.9000 USD ask proceeds @ 0.000019 USD / XTS |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
-
it's a little hard to guard the feed price of all 25 assets.
because the price will timeout after 24 hours, and only wait for 3 feed price.
-
sorry, I can't cancel the short order
test (unlocked) >>> wallet_market_order_list USD XTS
TYPE QUANTITY PRICE BALANCE COST COLLATERAL ID
================================================================================================================================
short_order 12,500.00000 XTS 0.008 USD / XTS 12,500.00000 XTS N/A XTSPD9Uaf3E2SmSQKAWHzhZYCULewSWPWofk
short_order 1,000.00000 XTS 1000000000. USD / XTS 1,000.00000 XTS 1,000,000,000,000.0000 USDN/A XTSDQkWP3PNDEHZJh6ca1MAi8yzoQScUJE56
cover_order 1,499.99325 XTS 750000000. USD / XTS 999,991,000,000.0000 USD1,124,994,937,500.0000 USD1,999.99100 XTS XTSP1mf1hWhvpzxtmkUivrGDfG9yfAVsErPv
test (unlocked) >>> wallet_market_cancel_order XTSDQkWP3PNDEHZJh6ca1MAi8yzoQScUJE56
10 assert_exception: Assert Exception
BN_num_bits(n) <= 63:
{}
th_a bigint.cpp:55 to_int64
type mismatch multiplying asset {"amount":-100000000,"asset_id":0} by price {"ratio":"100000000.","quote_asset_id":22,"base_asset_id":0}
{"a":{"amount":-100000000,"asset_id":0},"p":{"ratio":"100000000.","quote_asset_id":22,"base_asset_id":0}}
th_a asset.cpp:248 operator*
{"op":{"type":"short_op_type","data":{"amount":-100000000,"short_index":{"order_price":{"ratio":"100000000.","quote_asset_id":22,"base_asset_id":0},"owner":"XTSDQkW
P3PNDEHZJh6ca1MAi8yzoQScUJE56"}}}}
th_a operation_factory.hpp:52 evaluate
{"trx":{"expiration":"20140814T164447","delegate_slate_id":null,"operations":[{"type":"short_op_type","data":{"amount":-100000000,"short_index":{"order_price":{"rat
io":"100000000.","quote_asset_id":22,"base_asset_id":0},"owner":"XTSDQkWP3PNDEHZJh6ca1MAi8yzoQScUJE56"}}},{"type":"deposit_op_type","data":{"amount":99990000,"condition
":{"asset_id":0,"delegate_slate_id":0,"type":"withdraw_signature_type","data":{"owner":"XTSDQkWP3PNDEHZJh6ca1MAi8yzoQScUJE56","memo":null}}}}],"signatures":["1f253a878a
cf6ce2694aa4aa6784ef845d652e3ca30542a0d8aef0cbf16997e48712f3dce2fabd8d8904f79aa0ed128ecb72d67641cb284d681ebe8316bf9ab877"]}}
-
To cover a short position, you must first BUY USD on the market and then send it to your short position to free the collateral.
I already have the USD.(in the same account,btw). How do I send them to the short position?
Tried sending the them account A to account A - did not close the short.
Tried adding the short as contact account - got an error....
out_of_range_exception: Out of Range
read datastream of length 24 over by -23
{"method":"read","len":24,"over":-23}
th_a datastream.cpp:6 throw_datastream_range_error
fc::array<type,length>
{"type":"char","length":33}
-
Shoildnt there be an open order in your account of type cover?
And that order can be canceled which costs you the USD
At least thats my understanding
-
The attack vector is easy on the test blockchain. On the actual blockchain with all delegates having around 10% of shares voting one would need millions of dollars worth of BTSX do this attack. Perhaps more because the act of buying that many BTSX would drive the price through the roof.
-
At least one forum member claims to have about 8%
-
Shoildnt there be an open order in your account of type cover?
And that order can be canceled which costs you the USD
At least thats my understanding
It would have been strange way to do things but tried it:
wallet_market_cancel_order XTSNYE8ghUaryYH1muKrPvmFTsSPZ6UyRBMQ
37002 unknown_market_order: unknown market order
-
You had that address in your open order list? Thats strange
-
At least one forum member claims to have about 8%
That's $1.44MM at current price. That's a lot of faith!! Or maybe they're just so loaded it's pocket change to them :o
-
Its just a claim until proven
-
You had that address in your open order list? Thats strange
w1 (unlocked) >>> wallet_market_order_list USD XTS
TYPE QUANTITY PRICE BALANCE COST COLLATERAL ID
================================================================================================================================
cover_order 7,582.41757 XTS 0.006825 USD / XTS 45.9999 USD 51.7499 USD 10,109.89010 XTS XTSNYE8ghUaryYH1muKrPvmFTsSPZ6UyRBMQ
cover_order 32.78688 XTS 0.0068625 USD / XTS 0.1999 USD 0.2249 USD 43.71584 XTS XTSK9GE2Tokxc8wet1pq7CYLry7AgPfGqWJi
cover_order 13.63635 XTS 0.00825 USD / XTS 0.0999 USD 0.1124 USD 18.18180 XTS XTS2D6yPnsDsJgKQycN6gbLqkeUgz3QLTcac
cover_order 13.63635 XTS 0.00825 USD / XTS 0.0999 USD 0.1124 USD 18.18180 XTS XTSGTKRipo2Rpz3ZydsYcVMAuAuvDFpWZnsm
w1 (unlocked) >>> wallet_account_balance a1
ACCOUNT BALANCE
============================================================
wallet_market_cancel_order XTSNYE8ghUaryYH1muKrPvmFTsSPZ6UyRBMQ
37002 unknown_market_order: unknown market order
{"short_index":{"order_price":{"ratio":"0.00091","quote_asset_id":22,"base_asset_id":0},"owner":"XTSNYE8ghUaryYH1muKrPvmFTsSPZ6UyRBMQ"}}
th_a market_operations.cpp:175 evaluate
{"op":{"type":"short_op_type","data":{"amount":-494505495,"short_index":{"order_price":{"ratio":"0.00091","quote_asset_id":22,"base_asset_id":0},"owner":"XTSNYE8ghUaryYH1muKrPvmFTsSPZ6UyRBMQ"}}}}
th_a operation_factory.hpp:52 evaluate
{"trx":{"expiration":"20140814T165529","delegate_slate_id":null,"operations":[{"type":"short_op_type","data":{"amount":-494505495,"short_index":{"order_price":{"ratio":"0.00091","quote_asset_id":22,"base_asset_id":0},"owner":"XTSNYE8ghUaryYH1muKrPvmFTsSPZ6UyRBMQ"}}},{"type":"deposit_op_type","data":{"amount":494495495,"condition":{"asset_id":0,"delegate_slate_id":0,"type":"withdraw_signature_type","data":{"owner":"XTSNYE8ghUaryYH1muKrPvmFTsSPZ6UyRBMQ","memo":null}}}}],"signatures":["1f9568cb00b4d54468c2676c19e1f0679a3945d98b31744d6547e0f992195e5a3d91f80411ce69a9c05c67e918c9692cbe84353a46700c24a799d1a6f17bdc494c"]}}
th_a transaction_evaluation_state.cpp:201 evaluate
{"trx":{"expiration":"20140814T165529","delegate_slate_id":null,"operations":[{"type":"short_op_type","data":{"amount":-494505495,"short_index":{"order_price":{"ratio":"0.00091","quote_asset_id":22,"base_asset_id":0},"owner":"XTSNYE8ghUaryYH1muKrPvmFTsSPZ6UyRBMQ"}}},{"type":"deposit_op_type","data":{"amount":494495495,"condition":{"asset_id":0,"delegate_slate_id":0,"type":"withdraw_signature_type","data":{"owner":"XTSNYE8ghUaryYH1muKrPvmFTsSPZ6UyRBMQ","memo":null}}}}],"signatures":["1f9568cb00b4d54468c2676c19e1f0679a3945d98b31744d6547e0f992195e5a3d91f80411ce69a9c05c67e918c9692cbe84353a46700c24a799d1a6f17bdc494c"]}}
th_a chain_database.cpp:1195 evaluate_transaction
{"trx":{"expiration":"20140814T165529","delegate_slate_id":null,"operations":[{"type":"short_op_type","data":{"amount":-494505495,"short_index":{"order_price":{"ratio":"0.00091","quote_asset_id":22,"base_asset_id":0},"owner":"XTSNYE8ghUaryYH1muKrPvmFTsSPZ6UyRBMQ"}}},{"type":"deposit_op_type","data":{"amount":494495495,"condition":{"asset_id":0,"delegate_slate_id":0,"type":"withdraw_signature_type","data":{"owner":"XTSNYE8ghUaryYH1muKrPvmFTsSPZ6UyRBMQ","memo":null}}}}],"signatures":["1f9568cb00b4d54468c2676c19e1f0679a3945d98b31744d6547e0f992195e5a3d91f80411ce69a9c05c67e918c9692cbe84353a46700c24a799d1a6f17bdc494c"]}}
th_a chain_database.cpp:1609 store_pending_transaction
{}
th_a wallet.cpp:2370 sign_and_cache_transaction
{"owner_address":"XTSNYE8ghUaryYH1muKrPvmFTsSPZ6UyRBMQ"}
th_a wallet.cpp:3983 cancel_market_order
{}
th_a common_api_client.cpp:1411 wallet_market_cancel_order
{"command":"wallet_market_cancel_order"}
th_a cli.cpp:471 execute_command
-
i say this is a bug .. tried to rescan?
-
At least one forum member claims to have about 8%
I know one claiming to have almost 1%, which is still a good amount. Who claims to have 8%?
-
Thats was a chinese nickname .. cant read ... cant remember :)
-
i say this is a bug .. tried to rescan?
w1 (unlocked) >>> wallet_rescan_blockchain
OK
--- there are now 7 active connections to the p2p network
w1 (unlocked) >>> wallet_market_cancel_order XTSNYE8ghUaryYH1muKrPvmFTsSPZ6UyRBMQ
30008 zero_amount: zero amount
{"order":{"order":{"type":"short_order","market_index":{"order_price":{"ratio":"0.00091","quote_asset_id":22,"base_asset_id":0},"owner":"XTSNYE8ghUaryYH1muKrPvmFTsSPZ6UyRBMQ"},"state":{"balance":0},"collateral":null},"proceeds":0,"transactions":["234e5669a13c8e2f0c8dcd401c7828f4706ab1d4"]}}
th_a wallet.cpp:3923 cancel_market_order
{"owner_address":"XTSNYE8ghUaryYH1muKrPvmFTsSPZ6UyRBMQ"}
th_a wallet.cpp:3983 cancel_market_order
{}
th_a common_api_client.cpp:1411 wallet_market_cancel_order
{"command":"wallet_market_cancel_order"}
th_a cli.cpp:471 execute_command
w1 (unlocked) >>> wallet_market_order_list USD XTS
TYPE QUANTITY PRICE BALANCE COST COLLATERAL ID
================================================================================================================================
cover_order 7,582.41757 XTS 0.006825 USD / XTS 45.9999 USD 51.7499 USD 10,109.89010 XTS XTSNYE8ghUaryYH1muKrPvmFTsSPZ6UyRBMQ
cover_order 32.78688 XTS 0.0068625 USD / XTS 0.1999 USD 0.2249 USD 43.71584 XTS XTSK9GE2Tokxc8wet1pq7CYLry7AgPfGqWJi
cover_order 13.63635 XTS 0.00825 USD / XTS 0.0999 USD 0.1124 USD 18.18180 XTS XTS2D6yPnsDsJgKQycN6gbLqkeUgz3QLTcac
cover_order 13.63635 XTS 0.00825 USD / XTS 0.0999 USD 0.1124 USD 18.18180 XTS XTSGTKRipo2Rpz3ZydsYcVMAuAuvDFpWZnsm
-
You can't cancel a cover order! (margin call auto cover)
The error should probably say something more helpful.
-
You can't cancel a cover order! (margin call auto cover)
The error should probably say something more helpful.
And the answer to the original question is? (Q below)
To cover a short position, you must first BUY USD on the market and then send it to your short position to free the collateral.
I already have the USD.(in the same account,btw). How do I send them to the short position?
Tried sending the them account A to account A - did not close the short.
Tried adding the short as contact account - got an error....
out_of_range_exception: Out of Range
read datastream of length 24 over by -23
{"method":"read","len":24,"over":-23}
th_a datastream.cpp:6 throw_datastream_range_error
fc::array<type,length>
{"type":"char","length":33}
-
help wallet_market_cover
-
out_of_range_exception: Out of Range
read datastream of length 24 over by -23
{"method":"read","len":24,"over":-23}
th_a datastream.cpp:6 throw_datastream_range_error
fc::array<type,length>
{"type":"char","length":33}
Can you give me more detail than that.... I need the full stack trace.
-
Ah .. theres another call method .. learn sth. new every dry run ;)
-
bitshare@ubuntu:~/bitshares_toolkit$ cmake .
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8/Modules/FindZLIB.cmake:85 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:56 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/bitshare/bitshares_toolkit/CMakeFiles/CMakeOutput.log".
bitshare@ubuntu:~/bitshares_toolkit$
how to resolve? ths
Have you installed the required dependencies?: https://github.com/BitShares/bitshares_toolkit/blob/2830b630dd78e1e45be2babaecca3f93ddd40ea4/BUILD_UBUNTU.md
-
help wallet_market_cover
And this will use my available bitUSD, not buy new ones from the market @ current price???
-
bitshare@ubuntu:~/bitshares_toolkit$ cmake .
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8/Modules/FindZLIB.cmake:85 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:56 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/bitshare/bitshares_toolkit/CMakeFiles/CMakeOutput.log".
bitshare@ubuntu:~/bitshares_toolkit$
how to resolve? ths
Have you installed the required dependencies?: https://github.com/BitShares/bitshares_toolkit/blob/2830b630dd78e1e45be2babaecca3f93ddd40ea4/BUILD_UBUNTU.md
No。how to?
-
bitshare@ubuntu:~/bitshares_toolkit$ cmake .
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8/Modules/FindZLIB.cmake:85 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:56 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/bitshare/bitshares_toolkit/CMakeFiles/CMakeOutput.log".
bitshare@ubuntu:~/bitshares_toolkit$
how to resolve? ths
Have you installed the required dependencies?: https://github.com/BitShares/bitshares_toolkit/blob/2830b630dd78e1e45be2babaecca3f93ddd40ea4/BUILD_UBUNTU.md (https://github.com/BitShares/bitshares_toolkit/blob/2830b630dd78e1e45be2babaecca3f93ddd40ea4/BUILD_UBUNTU.md)
No。how to?
In the link above you can copy those commands to a shell session verbatim. What he's talking about specifically are these:
sudo apt-get update
sudo apt-get install cmake git libreadline-dev uuid-dev g++ libdb++-dev libdb-dev zip libssl-dev openssl build-essential python-dev autotools-dev libicu-dev libbz2-dev libboost-dev libboost-all-dev zlib1g-dev
-
out_of_range_exception: Out of Range
read datastream of length 24 over by -23
{"method":"read","len":24,"over":-23}
th_a datastream.cpp:6 throw_datastream_range_error
fc::array<type,length>
{"type":"char","length":33}
Can you give me more detail than that.... I need the full stack trace.
To tell you the truth I do not know what 'full stack trace' is. Below is the error I got in the cli, if this 'stack trace' is in in some other file, tell which one and I will try to provide the info in it.
w1 (unlocked) >>> wallet_add_contact_account sh1 XTSNYE8ghUaryYH1muKrPvmFTsSPZ6UyRBMQ
8 out_of_range_exception: Out of Range
read datastream of length 24 over by -23
{"method":"read","len":24,"over":-23}
th_a datastream.cpp:6 throw_datastream_range_error
fc::array<type,length>
{"type":"char","length":33}
th_a raw.hpp:122 unpack
Error unpacking field data
{"field":"data"}
th_a raw.hpp:237 operator()
error unpacking bts::blockchain::public_key_type::binary_key
{"type":"bts::blockchain::public_key_type::binary_key"}
th_a raw.hpp:455 unpack
error unpacking bts::blockchain::public_key_type::binary_key
{"type":"bts::blockchain::public_key_type::binary_key"}
th_a raw.hpp:487 unpack
{"command":"wallet_add_contact_account"}
th_a cli.cpp:471 execute_command
w1 (unlocked) >>>
-
bitshare@ubuntu:~/bitshares_toolkit$ cmake .
CMake Error at /usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:108 (message):
Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)
Call Stack (most recent call first):
/usr/share/cmake-2.8/Modules/FindPackageHandleStandardArgs.cmake:315 (_FPHSA_FAILURE_MESSAGE)
/usr/share/cmake-2.8/Modules/FindZLIB.cmake:85 (FIND_PACKAGE_HANDLE_STANDARD_ARGS)
CMakeLists.txt:56 (find_package)
-- Configuring incomplete, errors occurred!
See also "/home/bitshare/bitshares_toolkit/CMakeFiles/CMakeOutput.log".
bitshare@ubuntu:~/bitshares_toolkit$
how to resolve? ths
Have you installed the required dependencies?: https://github.com/BitShares/bitshares_toolkit/blob/2830b630dd78e1e45be2babaecca3f93ddd40ea4/BUILD_UBUNTU.md (https://github.com/BitShares/bitshares_toolkit/blob/2830b630dd78e1e45be2babaecca3f93ddd40ea4/BUILD_UBUNTU.md)
No。how to?
In the link above you can copy those commands to a shell session verbatim. What he's talking about specifically are these:
sudo apt-get update
sudo apt-get install cmake git libreadline-dev uuid-dev g++ libdb++-dev libdb-dev zip libssl-dev openssl build-essential python-dev autotools-dev libicu-dev libbz2-dev libboost-dev libboost-all-dev zlib1g-dev
thx
-
That is the stacktrace afaik
-
I'm trying to figure out what happened here.
This is the market:
default (unlocked) >>> blockchain_market_order_book USD XTS
BIDS (* Short Order) | ASKS
TOTAL QUANTITY PRICE | PRICE QUANTITY TOTAL COLLATERAL
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
103.6513 USD MARKET PRICE | 0.011111110000 USD 1,000.00000 XTS 11.1111 USD
99.9999 USD 9,000.00900 XTS 0.011111100000 USD*| 0.011111111111 USD 100.00000 XTS 1.1111 USD
219.4796 USD 24,142.76556 XTS 0.009090909091 USD*| 0.011111111200 USD 1,000.00000 XTS 11.1111 USD
100.0000 USD 12,000.00000 XTS 0.008333333333 USD | 0.011200000000 USD 1,000.00000 XTS 11.1999 USD
19.9999 USD 2,469.13580 XTS 0.008100000000 USD*| 0.014000000000 USD 10,000,000.00000 XTS 140,000.0000 USD
99,889.0002 USD 14,269,857.17144 XTS 0.007000000000 USD*| 0.014000000000 USD 10,000.00000 XTS 140.0000 USD
19.9999 USD 3,921.56862 XTS 0.005100000000 USD*| 1.111111111111 USD 0.90000 XTS 1.0000 USD
1.0000 USD 1,000.00000 XTS 0.001000000000 USD |
19.9999 USD 39,215.68627 XTS 0.000510000000 USD*|
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| MARGIN
| CALL PRICE QUANTITY TOTAL COLLATERAL
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| 0.008333333333 USD 135.00000 XTS 0.9999 USD 180.00000 XTS
| 0.008250000000 USD 13.63635 XTS 0.0999 USD 18.18180 XTS
| 0.008250000000 USD 136,363.63635 XTS 999.9998 USD 181,818.18180 XTS
| 0.008250000000 USD 13.63635 XTS 0.0999 USD 18.18180 XTS
| 0.008241758242 USD 2,729.99998 XTS 19.9999 USD 3,639.99998 XTS
| 0.008241758242 USD 1,364.99998 XTS 9.9999 USD 1,819.99998 XTS
| 0.007500000000 USD 30,000.00000 XTS 200.0000 USD 40,000.00000 XTS
| 0.006862500000 USD 32.78688 XTS 0.1999 USD 43.71584 XTS
| 0.006825000000 USD 7,582.41757 XTS 45.9999 USD 10,109.89010 XTS
| 0.006818181818 USD 128,785.85166 XTS 780.5201 USD 171,714.46888 XTS
| 0.006750000000 USD 16,666.66665 XTS 99.9999 USD 22,222.22221 XTS
| 0.005250000000 USD 23,785.67140 XTS 110.9998 USD 31,714.22854 XTS
Median Feed Price: 0.008109332 USD / XTS Maximum Short Price: 0.01081244266666666 USD / XTS Minimum Cover Price: 0.00540622133333333 USD / XTS
Bid Depth: 14,348,606.33669 XTS Ask Depth: 10,464,665.75455 XTS Min Depth: 2,000,000.00000 XTS
This is what is in the account:
default (unlocked) >>> wallet_account_balance
ACCOUNT BALANCE
============================================================
maqifrnswa 480.0000 USD
6,705.62173 XTS
I make this order:
default (unlocked) >>> wallet_market_submit_bid maqifrnswa 480 XTS 1 USD
{
"expiration": "20140814T143920",
"delegate_slate_id": null,
"operations": [{
"type": "withdraw_op_type",
"data": {
"balance_id": "XTSHzdmQMZfxAUqEBsSNKmaU8NwYFbTX5Qce",
"amount": 4800000,
"claim_input_data": ""
}
},{
"type": "withdraw_op_type",
"data": {
"balance_id": "XTSAwtaSJ44fTUkm8kHjqFu3jbPzNzZKP9Ey",
"amount": 10000,
"claim_input_data": ""
}
},{
"type": "bid_op_type",
"data": {
"amount": 4800000,
"bid_index": {
"order_price": {
"ratio": "0.100000000000000005",
"quote_asset_id": 22,
"base_asset_id": 0
},
"owner": "XTSJUzKXsQrVqPeL21C3uMSaT6AGqSefNGnK"
}
}
}
],
"signatures": [
"1f8226eda47c43167b07f5a521f5baa178b588212bcdb9021b6c8f3f159fe39ec5e4bbf6a5e090bf1ef82281c456a9da1d16de9063360149b5003deb7c7178a501",
"20d4d88a7afe9ca1cffb191873a001884d39b30884545aebd07286d29e782f96da2815b77fc387f76b3ab0e638d53010d3e435d746750429df8ad2c2ed2224d409",
"1f37854f51cf473781e090f907d4adf0b1db5e15a927050098bcd6cea89a05aa9314a2c21ac66a0f4c07e7311d80536a64b689e917de539b007e32a507ba2eb616"
]
}
I expect to buy:
11.1111 USD at 0.01111111 USD/XTS = 1000 XTS
1.1111 USD at 0.011111111111 USD/XTS = 100 XTS
11.1111 USD @ 0.011111111200 = 1000 XTS
11.1999 USD @0.011200000000 = 1000 XTS
445.4668 USD @0.014000000000 = 31819.05 XTS
total should have been bought: 34919.05 XTS
Here's the account and market after the purchase:
default (unlocked) >>> wallet_account_balance
ACCOUNT BALANCE
============================================================
maqifrnswa 7,185.52172 XTS
default (unlocked) >>> blockchain_market_order_book USD XTS
BIDS (* Short Order) | ASKS
TOTAL QUANTITY PRICE | PRICE QUANTITY TOTAL COLLATERAL
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
99.9999 USD 9,000.00900 XTS 0.011111100000 USD*| 0.014000000000 USD 9,960,777.27858 XTS 139,450.8819 USD
219.4796 USD 24,142.76556 XTS 0.009090909091 USD*| 0.014000000000 USD 10,000.00000 XTS 140.0000 USD
100.0000 USD 12,000.00000 XTS 0.008333333333 USD | 1.111111111111 USD 0.90000 XTS 1.0000 USD
19.9999 USD 2,469.13580 XTS 0.008100000000 USD*|
99,889.0002 USD 14,269,857.17144 XTS 0.007000000000 USD*|
19.9999 USD 3,921.56862 XTS 0.005100000000 USD*|
1.0000 USD 1,000.00000 XTS 0.001000000000 USD |
19.9999 USD 39,215.68627 XTS 0.000510000000 USD*|
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| MARGIN
| CALL PRICE QUANTITY TOTAL COLLATERAL
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| 0.008333333333 USD 135.00000 XTS 0.9999 USD 180.00000 XTS
| 0.008250000000 USD 13.63635 XTS 0.0999 USD 18.18180 XTS
| 0.008250000000 USD 136,363.63635 XTS 999.9998 USD 181,818.18180 XTS
| 0.008250000000 USD 13.63635 XTS 0.0999 USD 18.18180 XTS
| 0.008241758242 USD 2,729.99998 XTS 19.9999 USD 3,639.99998 XTS
| 0.008241758242 USD 1,364.99998 XTS 9.9999 USD 1,819.99998 XTS
| 0.007500000000 USD 30,000.00000 XTS 200.0000 USD 40,000.00000 XTS
| 0.006862500000 USD 32.78688 XTS 0.1999 USD 43.71584 XTS
| 0.006825000000 USD 7,582.41757 XTS 45.9999 USD 10,109.89010 XTS
| 0.006818181818 USD 128,785.85166 XTS 780.5201 USD 171,714.46888 XTS
| 0.006750000000 USD 16,666.66665 XTS 99.9999 USD 22,222.22221 XTS
| 0.005250000000 USD 23,785.67140 XTS 110.9998 USD 31,714.22854 XTS
Median Feed Price: 0.008109332 USD / XTS Maximum Short Price: 0.01081244266666666 USD / XTS Minimum Cover Price: 0.00540622133333333 USD / XTS
Bid Depth: 14,348,606.33669 XTS Ask Depth: 10,422,343.04211 XTS Min Depth: 2,000,000.00000 XTS
So it looks like the market executed ok, but 27,733.52828 XTS seems to be missing from the account.
EDIT: here's the transaction history
[default (unlocked) >>> wallet_account_transaction_history
RECEIVED BLOCK FROM TO AMOUNT MEMO FEE ID
========================================================================================================================================================================
|2014-08-13T01:00:00 0 GENESIS maqifrnswa 60,525.43383 XTS claim Ppf3WEcqakR7CarJWYQ41D5H7UWZKTz5vd 0.00000 XTS [5afce1]|
| GENESIS maqifrnswa 247.73200 XTS claim Pn5cHQPYxzJAso16hpvCCSjj7HEnuccJbs |
| GENESIS maqifrnswa 5,958.39818 XTS claim 1DXCqXn8M7VJ7c1K5H5qhMSkZKkpSesQ8o |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2014-08-14T03:41:44 2307 maqifrnswa maqifrnswa 0.00000 XTS register maqifrnswa as a delegate 25.84228 XTS 34901ef8
2014-08-14T03:45:10 2328 maqifrnswa ASK-DdPHJoDQ 60,000.00000 XTS sell XTS @ 0.008 USD / XTS 0.10000 XTS df867f39
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-14T03:45:30 2329 ASK-DdPHJoDQ MARKET 60,000.00000 XTS fill ask @ 0.008 USD / XTS 0.00000 XTS [185799]|
| ASK-DdPHJoDQ maqifrnswa 480.0000 USD ask proceeds @ 0.008 USD / XTS |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
2014-08-14T12:39:20 5533 maqifrnswa BID-JUzKXsQr 480.0000 USD buy XTS @ 1.00000000000000005 USD / XTS 0.10000 XTS d48358a5
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-14T12:39:40 5534 BID-JUzKXsQr MARKET 480.0000 USD pay bid @ 1.00000000000000005 USD / XTS 0.00000 XTS [f3100d]|
| BID-JUzKXsQr maqifrnswa 479.99999 XTS bid proceeds @ 1.00000000000000005 USD /... |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
/code]
This behaviour is correct: http://wiki.bitshares.org/index.php/Bitshares_X#Order_Matching_Algorithm
The only potential concern might be that you received 479.99999 XTS instead of 480 XTS.
-
help wallet_market_cover
And this will use my available bitUSD, not buy new ones from the market @ current price???
Surprise! You can't use your collateral to buy USD to cover. (This extra XTS you need to buy back USD is a "hidden" implicit extra collateral requirement).
It adds a surprising amount of complexity to be able to cover using your collateral. BM is about to implement a solution where you can increase your own call price so you can have your margin called without a 5% fee if the original cover price would not have resulted in a margin call.
-
MARKET issued "Immoral soul"...
>>> blockchain_list_assets
...
25 SOUL Immortal soul 1 Immoral soul MARKET N/A 0.000 SOUL
Can you sell your soul to me?
-
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.
I'm still missing 100,000 XTS... where should I be looking to see that my funds did not disappear? I have no pending orders for the transaction.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-14T01:10:02 1233 ASK-L4zbTz29 MARKET 100,000.00000 XTS fill ask @ 0.000019 USD / XTS 0.00000 XTS [8b4c8a]|
| ASK-L4zbTz29 malcolmjmr 1.9000 USD ask proceeds @ 0.000019 USD / XTS |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I do not understand what you are describing. Can you state the sequence of steps you took along with the account transaction history and balance?
-
help wallet_market_cover
And this will use my available bitUSD, not buy new ones from the market @ current price???
Surprise! You can't use your collateral to buy USD to cover. (This extra XTS you need to buy back USD is a "hidden" implicit extra collateral requirement).
It adds a surprising amount of complexity to be able to cover using your collateral. BM is about to implement a solution where you can increase your own call price so you can have your margin called without a 5% fee if the original cover price would not have resulted in a margin call.
"hidden" implicit extra collateral requirement" - fuck the testers, but it should not be hidden from the actual customers!
BTW if the 'market cover' order first checks if you have bitUSDs of your own, It will serve the purpose of prevent the kind front-running, I tried to explain in two other threads. So worth considering, imho.
-
General restrictions:
1) If you partially cover you don't get your collateral back until you fully cover.
2) If you opt to cover using your collateral by increasing your call price you end up accepting market price (highest bids)
3) You cannot partially cover using your collateral, it is an all or nothing deal.
Reasons of these restrictions are primarily the complexity of yet another order type with different matching rules where the complexity grows with N^2 the number of order types we must support. Right now we have a 2x2 matrix of possible pairings between bid/short/ask/cover and adding "ask_with_collateral" to the mix would take us from 4 cases to 9 cases to consider (test and debug). Something that I don't feel is worth delaying release to track down.
-
I am of the opinion that we need to minimize our reliance on price feeds because it gives the delegates too much power to really screw with the system.
I think we will only use them to "start" the market.
Once started it immediately switches to 24 hour weighted average and the feeds are no longer required.
-
General restrictions:
1) If you partially cover you don't get your collateral back until you fully cover.
2) If you opt to cover using your collateral by increasing your call price you end up accepting market price (highest bids)
3) You cannot partially cover using your collateral, it is an all or nothing deal.
Reasons of these restrictions are primarily the complexity of yet another order type with different matching rules where the complexity grows with N^2 the number of order types we must support. Right now we have a 2x2 matrix of possible pairings between bid/short/ask/cover and adding "ask_with_collateral" to the mix would take us from 4 cases to 9 cases to consider (test and debug). Something that I don't feel is worth delaying release to track down.
Yes!
...of course you know by now, that you can always buy my immoral soul (https://bitsharestalk.org/index.php?topic=6918.msg92377#msg92377) ,just by saying the other alternative 'will delay release'. :)
-
I am of the opinion that we need to minimize our reliance on price feeds because it gives the delegates too much power to really screw with the system.
I think we will only use them to "start" the market.
Once started it immediately switches to 24 hour weighted average and the feeds are no longer required.
+5%
-
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.
I'm still missing 100,000 XTS... where should I be looking to see that my funds did not disappear? I have no pending orders for the transaction.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
|2014-08-14T01:10:02 1233 ASK-L4zbTz29 MARKET 100,000.00000 XTS fill ask @ 0.000019 USD / XTS 0.00000 XTS [8b4c8a]|
| ASK-L4zbTz29 malcolmjmr 1.9000 USD ask proceeds @ 0.000019 USD / XTS |
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
I do not understand what you are describing. Can you state the sequence of steps you took along with the account transaction history and balance?
I'm dumb. I wanted to sell XTS for BTC but instead sold for USD. The market took my money because I bought 1.9 USD for 100,000 XTS. The Gui should probably warn the user of a bad trade like that and offer the best obtainable trade to execute.
-
I wanted to sell XTS for BTC but instead sold for USD. The market took my money because I bought 1.9 USD for 100,000 XTS. The Gui should probably warn the user of a bad trade like that and offer the best obtainable trade to execute.
Our market is very accommodating that way. It gladly takes all the money one throws its way... :)
-
I wanted to sell XTS for BTC but instead sold for USD. The market took my money because I bought 1.9 USD for 100,000 XTS. The Gui should probably warn the user of a bad trade like that and offer the best obtainable trade to execute.
Our market is very accommodating that way. It gladly takes all the money one throws its way... :)
In the interest of consumer protection the wallet will now warn you if your bid 5% above / below the lowest ask / highest bid.
-
I wanted to sell XTS for BTC but instead sold for USD. The market took my money because I bought 1.9 USD for 100,000 XTS. The Gui should probably warn the user of a bad trade like that and offer the best obtainable trade to execute.
Our market is very accommodating that way. It gladly takes all the money one throws its way... :)
In the interest of consumer protection the wallet will now warn you if your bid 5% above / below the lowest ask / highest bid.
+5% +5% +5% +5% I would be the first to lose all my money with a dump trade at 3AM.
Also in the GUI you get one market per screen. So if you wanted to do XTS for BTC you'd be on that market's screen.
-
I'm guessing post launch there'll be a thread (or 50) on requested enhancements. Is there already a "Safe Mode" planned, like check-box style, where you can corral the client into preventing you from doing really stupid things? Your 5% rule below is a good one, I'm sure there are others. Or maybe this is a chance for someone else to market a third party GUI.
-
I'm guessing post launch there'll be a thread (or 50) on requested enhancements. Is there already a "Safe Mode" planned, like check-box style, where you can corral the client into preventing you from doing really stupid things? Your 5% rule below is a good one, I'm sure there are others. Or maybe this is a chance for someone else to market a third party GUI.
Don't do a third party GUI. Just improve on this one. You can implement tabs for example.
It's all open source and correct me if I'm wrong but it's using QT right? But in order to perfect the GUI there has to be some feedback to figure out what users want so features can be prioritized. I think anything which gives the user more flexibility and control is a good thing.
-
I wanted to sell XTS for BTC but instead sold for USD. The market took my money because I bought 1.9 USD for 100,000 XTS. The Gui should probably warn the user of a bad trade like that and offer the best obtainable trade to execute.
Our market is very accommodating that way. It gladly takes all the money one throws its way... :)
In the interest of consumer protection the wallet will now warn you if your bid 5% above / below the lowest ask / highest bid.
+5
The next step is 'smart orders' in the GUI wallet- you know like the one asked for here by xeroc: https://bitsharestalk.org/index.php?topic=6837.msg91778#msg91778
Is this coming soon?
[edit] It would be nice to use the chat instead of filling this thread with stuff like that!
-
What about a
"dry run"
feature for our own orders .. so that you can see (simulated locally) which orders get matched and which do not and what the outcome will be
-
dry run 15 incoming...