Is it so complicated, and OP need to use a third party application? I only record every day about profit or loss and then add up for one month. There are also calculations provided by the exchange such as binance in the future market. So you don't need to count yourself.
For API be careful giving APIs to third parties. Reconsider the credibility of the application / third party. Through the API your account can be controlled by them, sell, buy, and withdraw assets until your property runs out. If your exchange requires some access for validation before a transaction, this can fail. But, if security validation does not exist in the exchange, your assets will lost.