FIFO cost basis
Each coin's purchase price is worked out from the last 365 days of USDT-pair spot trades.
BingX connects with a read-only API key: create a key in «API Management» and paste it in the Davinchu dashboard. The spot balance arrives on the «Accounts» page, and in the «Investments» portfolio coins get their purchase price from the past year's trades.
Each coin's purchase price is worked out from the last 365 days of USDT-pair spot trades.
Value, P/L, TWR and XIRR return, allocation and rebalancing.
Keys that can withdraw are not accepted; Davinchu trades nothing on the exchange.
BingX: «API Management» → «Create API», read only.
Davinchu: «Accounts» → «Crypto» → BingX, API Key and API Secret.
In the portfolio, «Data sources» → «Sync».
Coins get a purchase price from the past year's trades.
A read-only key on BingX has no expiry, even without an IP binding.
The dashboard checks the key on the exchange and reads its permissions: a key that can withdraw is not accepted, a key that can trade is connected with a reminder to replace it with a read-only one.
If the coins did not appear in the portfolio on their own, click «Sync» next to the account in the portfolio's «Data sources» — after that it refreshes every 15 minutes. How FIFO works is covered in «Crypto portfolio tracking: cost basis, FIFO and return».
Account «Settings» → the «Connection» tab: the key's permissions and the «Check API», «Update key», «Revoke key» and «Disconnect account» buttons.
If the dashboard says «The exchange rejected the API key. Check the key and secret or create a new key», check in this order:
If the dashboard says «This key allows withdrawals…», create a key with the read permission only.
An exchange account takes a slot in the plan limit: Free — 2, Plus — 5, Pro — 15, Elite — 50; an extra account is $2 a month on any plan. See pricing.
Read only. A key that can withdraw is not accepted; one that can trade is connected with a reminder to replace it with a read-only key.
BingX returns spot trades in USDT pairs for the last 365 days, and the portfolio works out each coin's cost basis by FIFO. For coins that arrived by transfer or deposit, set the purchase price yourself.
No: under BingX's rules a read-only key has no expiry, even without an IP binding.
Davinchu polls the exchange balance every few seconds, and the «Investments» portfolio refreshes every 15 minutes; the «Sync» button loads the data right away.
Free forever: 2 accounts, a journal and AI reviews. Setup takes 5–10 minutes.