Sort:  

it seems, that in my case the api returns always the first entry (account create) no matter what from i set. except if i set from = -1 it returns the last entry. And it seem to return not more then 30 entries no matter if i set a limit greater then 30. so i have no chance to query all entries for a given account. Do others have the same problem?

with phyton api this seem to work now:

# 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'));```

Also, if from is -1, it will start at the latest item in the account history.

Thank you for the clarfication. It seems this isn't documented and a very strange way of doing this since most API calls for history start at a value and return the future but this seem to be backwards. Doing some tests, my full history of an account is 309 ops.

Returns the two most recent ops.

steem.api.getAccountHistory(username, 309, 1)

Returns the first user op.

steem.api.getAccountHistory(username, 1, 1)

I think this can be closed as a bug and then moved to a documentation request on that method since it isn't really noted the from and limit goes backwards and not forwards.