Simple Question about Local currencies

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • geoffw123
    Senior Member
    • Mar 2014
    • 250

    #1

    Simple Question about Local currencies

    Hi

    I am looking at updating my code to work with other local currencies other than my current GBP implementation.

    I am just looking at the API-NG specification. Ignoring the Streaming API for the moment.

    As far as I can see, all currency amounts sent to BF and reported back via clearedOrders() etc seem to be in the local currency that you registered your BF Account with.

    Assuming that above statement is correct, it begs the question then why do BF provide an API call listCurrencyRates() that returns to me the currency conversion rates for 19 different currencies to my registered currency ? The fact that this call exists implies that I should be using it to convert a currency value somewhere else in the API ?

    Can anyone confirm that the API-NG does always use local currency, and if so what is the point of the conversion rate API call ?

    This local currency stuff is a big pain to work on as it is impossible to experiment to confirm how things work and also impossible to test your code.
    I did think of opening a 2nd account with a different selected currency so I can at least test this stuff, but BF's terms and conditions state they will terminate your account if you try and open 2 different accounts.

    Thanks Geoff
Working...
X