Skip to content

📈 Plugin for Craft CMS to get financial data from Yahoo! in your templates

License

Notifications You must be signed in to change notification settings

spicywebau/craft-finance

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Finance

Get financial data from Yahoo! in your templates

{% set finance = craft.finance.get('GOOG')|first %}
{% if finance %}
	Label: {{ finance.label }}
	Name: {{ finance.name }}
	Asking price: {{ finance.ask|currency('USD') }}
	Bid price: {{ finance.bid|currency('USD') }}
	Change: {{ finance.change|currency('USD') }}
	Last traded: {{ finance.dateLastTraded|date('Y-m-d H:i:s') }}
{% endif %}

For more information on Yahoo!'s service, click here.

About

📈 Plugin for Craft CMS to get financial data from Yahoo! in your templates

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages