Skip to content

API Keys

Market Data

If you want to view price charts and/or add MFE prices automatically, you need to get the data from a market data provided. Currently, TradeNote provides support for adding Polygon and Databento. You can add your API key(s) on the settings page.

  • Polygon has an interesting free tier where you can make up to 5 api call per minute. It works with stocks and with options.
  • Databento also provides data for futures. After trying numerous market data providers, Databento is one of my favorits. I offers a generous 150$ credit on signup and/or very intersting pricing.

TradeNote API

TradeNote provides an API so that you can setup an auto import of your trades. Please note that this a very experimental feature AND unfortunately, I will not be able to provide support on how to make a POST request.

POST /api/trades

Base url: < your tradenote url >

The trades endpoint allows you to import trade executions directly to the database.

Headers

  • "api-key" (string): your TradeNote API key from your settings page.

Request Body

  • "data" (array): contains all the executions, with same attributes and value format as the export file.
  • "selectedBroker" (string): your broker name (example: "tradeZero").
  • "uploadMfePrices" (bool): true or false if you want to upload MFE prices automatically. Requires you have added the Polygon API key.