Viewing a response to: @smooth/re-furion-developers-guide-to-steem-s-blockchain-20160801t134419900z
Ok, I tried exchanging $0.26 SBD into steem and back, and this is the only thing I got from the blockchain: Buying Steem: ``` =====> limit_order_create {'amount_to_sell': '0.286 SBD', 'expiration': '1969-12-31T23:59:59', 'fill_or_kill': False, 'min_to_receive': '0.100 STEEM', 'orderid': 1470060094, 'owner': 'furion'} ``` Selling Steem: ``` =====> limit_order_create {'amount_to_sell': '0.100 STEEM', 'expiration': '1969-12-31T23:59:59', 'fill_or_kill': False, 'min_to_receive': '0.274 SBD', 'orderid': 1470060340, 'owner': 'furion'} ``` So I dug deeper, and I found out, that `steemd` does not handle exchange data. To get the exchange data, one needs to to interact with `cli_wallet`'s RPC, not the `steemd`. If you use [python-steemlib](https://github.com/xeroc/python-steemlib), the trade history can be obtained like so: ``` class Config(): wallet_host = "localhost" wallet_port = 8091 witness_url = "wss://steemit.com/wstmp2" account = "smooth" wallet_rpc = SteemExchange(Config) wallet_rpc.returnTradeHistory() ```
author | furion |
---|---|
permlink | re-smooth-re-furion-developers-guide-to-steem-s-blockchain-20160801t141630034z |
category | steem |
json_metadata | {"tags":["steem"],"links":["https://github.com/xeroc/python-steemlib"]} |
created | 2016-08-01 14:16:30 |
last_update | 2016-08-01 14:16:45 |
depth | 2 |
children | 3 |
last_payout | 2016-09-01 04:57:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.038 HBD |
curator_payout_value | 0.009 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 1,132 |
author_reputation | 116,503,940,714,958 |
root_title | "Developers Guide to Steem's Blockchain" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 535,315 |
net_rshares | 70,203,681,963 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
ydm6669 | 0 | 3,373,660,881 | 100% | ||
discombobulated | 0 | 66,830,021,082 | 100% |
πnice article @furion
author | meteor78 |
---|---|
permlink | re-furion-re-smooth-re-furion-developers-guide-to-steem-s-blockchain-20160801t183153738z |
category | steem |
json_metadata | {"tags":["steem"],"users":["furion"]} |
created | 2016-08-01 18:31:57 |
last_update | 2016-08-01 18:31:57 |
depth | 3 |
children | 0 |
last_payout | 2016-09-01 04:57:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 21 |
author_reputation | 184,361,553,890 |
root_title | "Developers Guide to Steem's Blockchain" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 541,270 |
net_rshares | 0 |
author_curate_reward | "" |
voter | weight | wgt% | rshares | pct | time |
---|---|---|---|---|---|
aneilpatel | 0 | 0 | 100% |
Check the get_account_history for your account instead of using get_block and you will see virtual ops for filled orders.
author | theoretical |
---|---|
permlink | re-furion-re-smooth-re-furion-developers-guide-to-steem-s-blockchain-20160801t185430888z |
category | steem |
json_metadata | {"tags":["steem"]} |
created | 2016-08-01 18:54:30 |
last_update | 2016-08-01 18:54:30 |
depth | 3 |
children | 1 |
last_payout | 2016-09-01 04:57:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 121 |
author_reputation | 30,164,760,525,645 |
root_title | "Developers Guide to Steem's Blockchain" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 541,733 |
net_rshares | 0 |
How do you get _market_ execution history (not for a specific account)? It is impossible to do any meaningful analysis of trading activity without that.
author | smooth |
---|---|
permlink | re-theoretical-re-furion-re-smooth-re-furion-developers-guide-to-steem-s-blockchain-20160801t212300700z |
category | steem |
json_metadata | {"tags":["steem"]} |
created | 2016-08-01 21:23:00 |
last_update | 2016-08-01 21:27:03 |
depth | 4 |
children | 0 |
last_payout | 2016-09-01 04:57:33 |
cashout_time | 1969-12-31 23:59:59 |
total_payout_value | 0.000 HBD |
curator_payout_value | 0.000 HBD |
pending_payout_value | 0.000 HBD |
promoted | 0.000 HBD |
body_length | 153 |
author_reputation | 260,342,945,372,716 |
root_title | "Developers Guide to Steem's Blockchain" |
beneficiaries | [] |
max_accepted_payout | 1,000,000.000 HBD |
percent_hbd | 10,000 |
post_id | 545,377 |
net_rshares | 0 |