#iench-balance

1 messages ยท Page 1 of 1 (latest)

static cloud
#

Correct, there is no way to get the balance of an Account at a particular timestamp through the API. You'd have to calculate it yourself

wintry oxide
#

oh ๐Ÿ˜ฆ as I need a year, that means starting from the current balance, and then go backwards in time with all the data.

The next logical question is rounding errors, especially since my sales are international. Any pitfalls to avoid there ?

Aside from using fixed point data format and not float of course to do the calculations

#

Thanks, I guess I'll dig further now I know I'm on the right track ๐Ÿ™‚

static cloud
#

Sorry, missed this follow- up - what rounding errors specifically are you worried about? The balance transactions shouldn't need any rounding to my knowledge (we'd do that on our end)