Just in case you need, here a small code to query the steem api for done trades on the internal market. Its my first phyton script, so dont judge me too much :) It has no error handling at all, so make sure the trades are done right. You can check here.
Sadly the normal steem api for the default nodes did not work, so i had to switch to another node.
Much thx @crokkon for helping with the python api and choosing an functioning node.
Thx also to @holger80 he posted here a nice list about the state of current nodes.
Have fun!
# first install this:
#sudo apt-get install libssl-dev
#sudo pip install -U steem
# if default api node not functioning use this node (use command line)
#steempy set nodes https://rpc.buildteam.io
from steem.account import Account
a = Account("arcurus")
for op in a.history(filter_by=['fill_order']):
str
if op['open_owner'] == 'arcurus':
#print(op['open_owner'] + '; ' + op['current_pays'] + '; ' + op['open_pays'] + '; ' + op['timestamp']+ ';')
str = 'Trade; ' + op['current_pays'] + '; ' + op['open_pays'] + '; ' + op['timestamp'].replace('T', ' ') + ';'
else:
str = 'Trade; ' + op['open_pays'] + '; ' + op['current_pays'] + '; ' + op['timestamp'].replace('T', ' ') + ';'
print(str.replace(' SBD', '; SBD').replace(' STEEM', '; STEEM'));```