Back to APIs list

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.
claytn avatar
fetchCongressTradeReports
@claytn
Script
Receive daily emails of reported congress trades by scheduling a call to @claytn.fetchCongressTradeReports((reports) => console.email(reports))
trickster avatar
fetchCongressTradeReports
@trickster
Script
Receive daily emails of reported congress trades by scheduling a call to @claytn.fetchCongressTradeReports((reports) => console.email(reports))
devdoshi avatar
congress
@devdoshi
Cron
An interactive, runnable TypeScript val by devdoshi
nari avatar
fetchCongressTradeReports
@nari
Script
Receive daily emails of reported congress trades by scheduling a call to @claytn.fetchCongressTradeReports((reports) => console.email(reports))
rodrigotello avatar
fetchCongressTradeReports
@rodrigotello
Script
Receive daily emails of reported congress trades by scheduling a call to @claytn.fetchCongressTradeReports((reports) => console.email(reports))
stevekrouse avatar
fetchCongressTradeReports
@stevekrouse
Script
An interactive, runnable TypeScript val by stevekrouse
joemccourt avatar
stockPriceViz
@joemccourt
HTTP
1d color plot of stock price Call with symbol stock ticker and duration d (1, 5, 15, 30, 60) Example: https://joemccourt-stockpriceviz.web.val.run/?symbol=AMD&d=60
simone avatar
tradestationMargins
@simone
Script
An interactive, runnable TypeScript val by simone
simone avatar
interactiveBrokersMargins
@simone
Script
An interactive, runnable TypeScript val by simone
vtdocs avatar
planetScaleSelectStockTable
@vtdocs
Script
Part of the PlanetScale page on docs.val.town .
stevekrouse avatar
currency
@stevekrouse
Script
An interactive, runnable TypeScript val by stevekrouse
stevekrouse avatar
stockPrice
@stevekrouse
HTTP
Current Stock Price This val was designed to be used in Google Sheets, particularly because Google Finance stopped supporting Spotify inexplicably. Usage Copy and paste this into Google Sheets: =IMPORTDATA(CONCATENATE("https://stevekrouse-stockprice.web.val.run/?simple=1&symbol=","SPOT")) Replace "SPOT" with the symbol you want API This val currently uses Alpha Vantage's free plan (5 requests per minute & 500 per day). You can sign up for your own API Key here: https://www.alphavantage.co/support/#api-key
vtdocs avatar
planetScaleInsertStockTable
@vtdocs
RPC
Part of the PlanetScale page on docs.val.town .
tmcw avatar
usdBTC
@tmcw
Script
// Get the current price of Bitcoin in US dollars
vtdocs avatar
planetScaleCreateStockTable
@vtdocs
Script
Part of the PlanetScale page on docs.val.town .
colehpage avatar
usdBTC
@colehpage
Script
// Get the current price of Bitcoin in US dollars