If you last pulled before ~8pm forum time then you need to wipe your chain directory and rebuild. We reset to smooth the delegate registration fee out a bit.Theme song:
https://www.youtube.com/watch?v=4SBN_ikibtgThis is the first dry run featuring market functionality. We did not test it very extensively which means you should expect things to break.
Please use this thread only for helping us debug, particularly market_* commands
Mac Wallet:
http://bitshares.org/BitSharesXT-0.1.2.dmg Known Issues:
Wallet Account Transaction Ledger displays ERROR for market transactions, that is a display bug.
The volume metric on the price history is hardcoded to 1... coming soon
Wallet Account Transaction Ledger does not currently display an entry showing your collateral returned to your account after covering a short position. (A display issue)
When listing the order book, "Margin Calls" show up in the ask table even though they shouldn't. This is a display issue as well. Market Matching Algorithm:
while( highest_bid >= lowest_ask )
trade_quantity = min( highest_bid.quote_quantity, highest_ask.quote_quantity )
usd_paid_by_bid = trade_quantity
usd_received_by_ask = trade_quantity
xts_paid_by_ask = trade_quantity * ask_price
xts_received_by_bid = trade_quantity * bid_price
fees = xts_paid_by_ask - xts_received_by_bid
ask.balance -= xts_paid_by_ask
bid.balance -= usd_paid_by_bid
New Delegate Pay & Registration Fee Calculationsforeach block
total_accumulated_fees += all_transactions_fees
delegate_pay = total_accumulated_fees / (blocks_per_day*14)
delegate_registration = delegate_pay * blocks_per_hour * 2 / 101
total_accumulated_fees -= (delegate_pay)
Effectively if there are no new fees or transactions delegate pay will fall by about 1% per block.
Wallet Import Enhancements Bitcoin wallet import has been fixed, and should work with Bitcoin Core, BitShares PTS, Armory, Electrum, and Multibit formats. Please test.
New Commands default (unlocked) >>> blockchain_market_order_book USD XTS
BIDS (* Short Order) | ASKS
TOTAL QUANTITY PRICE | PRICE QUANTITY TOTAL COLLATERAL
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
9.8800 USD 98.80000 XTS 0.1 USD / XTS | 0.01333201790756645 USD / XTS 3.75037 XTS 0.0500 USD
15.0000 USD 1,500.00000 XTS 0.01 USD / XTS*| 1.23 USD / XTS 9,959.39033 XTS 12,250.0501 USD
| 1.3609963334667113 USD / XTS 29.39016 XTS 39.9999 USD
| 1.62007525615913535 USD / XTS 6.14169 XTS 9.9500 USD
| 6. USD / XTS 10.00000 XTS 60.0000 USD
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| MARGIN
| CALL PRICE QUANTITY TOTAL COLLATERAL
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
| 1.62007525615913535 USD / XTS 6.14169 XTS 9.9500 USD 8.18893 XTS
| 1.3609963334667113 USD / XTS 29.39016 XTS 39.9999 USD 39.18689 XTS
| 0.01333201790756645 USD / XTS 3.75037 XTS 0.0500 USD 5.00050 XTS
default (unlocked) >>> wallet_account_transaction_history
RECEIVED BLOCK FROM TO AMOUNT FEE MEMO ID
----------------------------------------------------------------------------------------------------------------------------------------------------------------
2014-07-15T21:46:25 0 GENESIS founders 16,666,667.16466 XTS 0.00000 XTS claim genesis balance N/A
2014-07-15T21:47:32 392 founders ORDER-3eyFiYt5 10,000.00000 XTS 0.10000 XTS sell 10000 XTS @ 1.23 USD 88fef923
2014-07-15T21:47:50 ERROR ORDER-3eyFiYt5 UNKNOWN 8.08943 XTS 7.98993 XTS pay ask @ 1.23 USD / XTS 00000000
2014-07-15T21:47:50 ERROR ORDER-3eyFiYt5 UNKNOWN 32.52024 XTS 25.85359 XTS pay ask @ 1.23 USD / XTS 00000000
2014-07-15T21:47:50 ERROR ORDER-3eyFiYt5 founders 9.9500 USD 7.98993 XTS fill ask @ 1.23 USD / XTS 00000000
2014-07-15T21:47:50 ERROR ORDER-3eyFiYt5 founders 39.9999 USD 25.85359 XTS fill ask @ 1.23 USD / XTS 00000000
2014-07-15T21:52:23 421 founders ORDER-2VqCgSAF 10.0000 USD 0.10000 XTS buy 100 XTS @ 0.1 USD ee1be376
2014-07-15T21:52:40 ERROR ORDER-2VqCgSAF UNKNOWN 0.1200 USD 4.80000 XTS pay bid @ 0.1 USD / XTS 00000000
2014-07-15T21:52:40 ERROR ORDER-2VqCgSAF founders 1.20000 XTS 4.80000 XTS fill bid @ 0.1 USD / XTS 00000000
2014-07-15T21:52:40 ERROR ORDER-2VqCgSAF founders 1.20000 XTS 4.80000 XTS fill bid @ 0.1 USD / XTS 00000000
TYPE QUANTITY PRICE BALANCE COST COLLATERAL ID
--------------------------------------------------------------------------------------------------------------------------------
bid_order 95.12000 XTS 0.1 USD / XTS 9.5120 USD 9.5120 USD N/A XTS2VqCgSAFzaoGokbmaeT1SJTVDrCoNm18K
ask_order 9,959.39033 XTS 1.23 USD / XTS 9,959.39033 XTS 12,250.0501 USD N/A XTS3eyFiYt5K1LFpau9iJyVMnpTjDr1kxQuu
cover_order 29.39016 XTS 1.3609963334667113 USD / XTS 39.9999 USD 39.9998 USD 39.18689 XTS XTS3eyFiYt5K1LFpau9iJyVMnpTjDr1kxQuu
cover_order 6.14169 XTS 1.62007525615913535 USD / XTS 9.9500 USD 9.9499 USD 8.18893 XTS XTS3eyFiYt5K1LFpau9iJyVMnpTjDr1kxQuu
bid founders 100 XTS .1 USD // buy 100 XTS @ 0.1 USD / XTS
ask founders 10000 XTS 1.23 USD // sell 10,000 XTS @ 1.23 USD / XTS
short founders 20 1.12 USD // short 20 USD at 1.12 USD / XTS
ask / wallet_market_submit_ask <from_account_name> <quantity> <quantity_symbol> <quote_price> <quote_symbol>
bid / wallet_market_submit_bid <from_account_name> <quantity> <quantity_symbol> <quote_price> <quote_symbol>
short / wallet_market_submit_short <from_account_name> <quantity> <quote_price> <quote_symbol>