# Calling Live Financial Data updates from Workshop

**URL:** <https://community.palantir.com/t/calling-live-financial-data-updates-from-workshop/2401>\
**Category:** Ask the Community\
**Tags:** workshop, winter-fellowship-2024\
**Created:** [January 2, 2025, 4:53pm UTC](https://community.palantir.com/t/calling-live-financial-data-updates-from-workshop/2401 "2025-01-02T16:53:31Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![eethansmith](https://yyz1.discourse-cdn.com/palantir/user_avatar/community.palantir.com/eethansmith/32/2765_2.png) [@eethansmith](https://community.palantir.com/u/eethansmith)\
**Post date:** [January 2, 2025, 4:53pm UTC](https://community.palantir.com/t/calling-live-financial-data-updates-from-workshop/2401/1 "2025-01-02T16:53:31Z")

</div>

I am trying to implement a feature where updated financial data is fetched when a user selects a stock from my dataset. In Python, this would be relatively straightforward—passing the “Active Stock” object’s ticker symbol into a script, calling a library like `yfinance`, and updating details like market cap, current price, etc.

However, I’m looking to integrate this functionality into Palantir’s AIP platform. I tried setting up a REST API for financial data retrieval, but I haven’t had any success, and I’m struggling to find a working alternative or example similar.

Any help would be great. Thank you.

---

<div class="post-metadata">

**Author:** ![mai125](https://avatars.discourse-cdn.com/v4/letter/m/9e8a1a/32.png) [@mai125](https://community.palantir.com/u/mai125)\
**Post date:** [January 2, 2025, 8:04pm UTC](https://community.palantir.com/t/calling-live-financial-data-updates-from-workshop/2401/2 "2025-01-02T20:04:55Z")

</div>

Great question! There are 2 options:

1. Create a dataset that contains all data

- Implement the REST API calls in Python via external transforms. This way you can create a dataset with the stocks
- Create an object set in OMA from that dataset
- Use Workshop for the UI

1. Implement a webhook in actions (OMA) to call the API from Workshop (documentation: https://www.palantir.com/docs/foundry/action-types/webhooks)

Let me know if you need more details!

---

<div class="post-metadata">

**Author:** ![eethansmith](https://yyz1.discourse-cdn.com/palantir/user_avatar/community.palantir.com/eethansmith/32/2765_2.png) [@eethansmith](https://community.palantir.com/u/eethansmith)\
**Post date:** [January 3, 2025, 7:14pm UTC](https://community.palantir.com/t/calling-live-financial-data-updates-from-workshop/2401/3 "2025-01-03T19:14:50Z")

</div>

Thank you for your reply Mai, that’s a real help!

---

<div class="post-metadata">

**Author:** ![ShaiBrin](https://yyz1.discourse-cdn.com/palantir/user_avatar/community.palantir.com/shaibrin/32/2056_2.png) [@ShaiBrin](https://community.palantir.com/u/ShaiBrin)\
**Post date:** [January 3, 2025, 7:15pm UTC](https://community.palantir.com/t/calling-live-financial-data-updates-from-workshop/2401/4 "2025-01-03T19:15:54Z")

</div>

Have you tried using compute modules?

---

<div class="post-metadata">

**Author:** ![guyhartstein](https://yyz1.discourse-cdn.com/palantir/user_avatar/community.palantir.com/guyhartstein/32/1669_2.png) [@guyhartstein](https://community.palantir.com/u/guyhartstein)\
**Post date:** [January 4, 2025, 1:28am UTC](https://community.palantir.com/t/calling-live-financial-data-updates-from-workshop/2401/5 "2025-01-04T01:28:46Z")

</div>

(post deleted by author)

---

<div class="post-metadata">

**Author:** ![eethansmith](https://yyz1.discourse-cdn.com/palantir/user_avatar/community.palantir.com/eethansmith/32/2765_2.png) [@eethansmith](https://community.palantir.com/u/eethansmith)\
**Post date:** [January 10, 2025, 10:53am UTC](https://community.palantir.com/t/calling-live-financial-data-updates-from-workshop/2401/6 "2025-01-10T10:53:23Z")

</div>

Hi Shai,

Thanks for your reply, I implemented compute modules for the API call into my application and unfortunatley really slowed down alot of processing for the page as alot was dependent on said data. So for my demonstration I have decided to go with static data with the understanding that an account with a higher developer tier would have faster compute power if the project was be taken on.

---

<div class="post-metadata">

**Author:** ![system](https://yyz1.discourse-cdn.com/palantir/user_avatar/community.palantir.com/system/32/3_2.png) [@system](https://community.palantir.com/u/system)\
**Post date:** [March 11, 2025, 10:54am UTC](https://community.palantir.com/t/calling-live-financial-data-updates-from-workshop/2401/7 "2025-03-11T10:54:05Z")

</div>

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.
