Skip to content
Code that do the currency exchange between USD Dolar to BRL Brazilian Reais plus the bancary spread and IOF.
Python
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
LICENSE
README.md
index.py

README.md

Dólar to Real

Code that do the currency exchange between USD Dolar to BRL Brazilian Reais plus the bancary spread and IOF.

Run the code

Feel you free to clone and run this code in your own computer or run in repl.it.

Notes

  • This code use the spread charged by Nubank and Banco Neon - see post
  • The current exchange rate is returned via REST API from brazilian central bank - API
  • I could not found a public and updated database with the IOF rate, so I set a fixed value for this
You can’t perform that action at this time.