3 ms·
Terrifyingly, I discovered recently that Plaid’s API uses floats instead of decimal. For example, security prices: https://plaid.com/docs/#security-schema http
by boulos 6y ago
Terrifyingly, I discovered recently that Plaid’s API uses floats instead of decimal. For example, security prices:
https://plaid.com/docs/#security-schema https://plaid.com/docs/#security-schema
- hchz 6y agocash values should be represented in fixed precision to maintain the integrity of the transaction and your book, while the prices for securities represent something different. In securities transactions, the quantity and quote are critical. You aren’t buying securities from Plaid, right? If you try to liquidate or resize based on the Plaid quote, your brokerage or counterparty is going to provide a totally different quote, and one from a system engineered to provide quotes aligned exactly to the market standards. I don’t see the risk/terror.