A custom component for Trading212
- Use HACS, in
HACS > Integrations > Explore & Add Repositoriessearch for "Trading212". - Restart Home Assistant.
or in the HA UI go to "Settings" -> "Devices & Services" then click "+" and search for "Trading212".
The Trading212 integration offers integration with the Trading212 API. This provides a device per position, each device will have 6 entities as shown below.
This integration provides the following entities: .
- Sensors - current price, average price, quantity, current value, buy value, percent change.
- Seconds between polling - Number of seconds between each call for data from the Trading212 API, default is 5 seconds.