1.2.0
Improvements & Updates
🚀 Query specific dates
This release adds the ability to query price data for a financial asset on a specific date.
The most recent price data can still be retrieved using the following method:
from vistafetch import VistaFetchClient
client = VistaFetchClient()
result = client.search_asset(
search_term="716460", # alternatively pass the ISIN here
)
sap_stock = result.get()
latest_price_data = sap_stock.get_latest_price_data()
To query for a specific date, the following snippet will take you there:
import datetime
specific_price_data = sap_stock.get_day_price_data(day=datetime.date(2023, 10, 10))
🚀 Derivatives
In addition, derivatives are now supported as financial assets, which means you can query price data for them as well.
What's Changed in Detail
- deps: (deps-dev): bump types-requests from 2.31.0.7 to 2.31.0.8 by @dependabot in #49
- deps: (deps-dev): bump mypy from 1.5.1 to 1.6.0 by @dependabot in #50
- deps: (deps-dev): bump pre-commit from 3.4.0 to 3.5.0 by @dependabot in #51
- deps: (deps-dev): bump types-requests from 2.31.0.8 to 2.31.0.9 by @dependabot in #52
- refactor: restructure unit tests & increase reusability by @bossenti in #53
- deps: (deps-dev): bump ruff from 0.0.292 to 0.1.0 by @dependabot in #54
- deps: (deps-dev): bump black from 23.9.1 to 23.10.0 by @dependabot in #55
- deps: (deps-dev): bump types-requests from 2.31.0.9 to 2.31.0.10 by @dependabot in #56
- deps: (deps-dev): bump mypy from 1.6.0 to 1.6.1 by @dependabot in #57
- feat: add option to query price data for a specific day by @bossenti in #59
Full Changelog: 1.1.0...1.2.0