US Congress Stock Trading API examples & templates
Use these vals as a playground to view and fork US Congress Stock Trading API examples and templates on Val Town. Run any example below or find templates that can be used as a pre-built solution.
roramigator
religionClickerGame
// This val creates a sarcastic idle clicker game about starting a religion.
ejfox
valcontributionchart
// This approach will fetch data from the specified endpoint, process it to create a GitHub-style contribution chart,
sharanbabu
knowledgeExplorer
* This val creates a modern, stylish knowledge explorer using the Cerebras LLM API.
* It allows users to enter a topic or select from suggestions, displays information in a centered card,
* and enables exploration of related topics or deeper dives using arrow keys or buttons.
roramigator
lootGenAPI
Loot Generator API How It Works Components The Loot Generator API creates random loot items by combining: 30 adjectives 29 materials 15 item types resulting in 13,050 possible items. Legendary Items Occasionally, a rare legendary item is generated. An item becomes legendary if all three components are rare. Rarity is determined by a threshold: Threshold = max(1,⌊log(length)×0.6⌋) Probability of a legendary item with the default settings: P(Legendary) = 1/13,050 ≈ 0.00766% Only one legendary item is possible: ✨💎 Arcane Diamond Rock . Customization You can expand the lists or adjust the 0.6 multiplier to control rarity.
sharanbabu
textSummarizationComparisonTool
* This val creates a text summarization comparison tool using the Cerebras LLM API.
* It provides a text area with default text, a summarize button, and displays two different summarization results:
* 1. Direct summarization
* 2. Extractive summarization followed by cohesive rewriting
*
* The server handles API calls to Cerebras, while the client manages the UI and user interactions.