Company

Get the news related to a company via its stock ticker.

Example:

Get the news related to stock ticker VNM, using default parameters: provider (tcbs), limit (100).

from vietfin import vf

vf.news.company(symbol="vnm")

Parameters

param_name

type

description

default_value

is_required

symbol

str

Symbol to get data for.

TRUE

limit

int

  • The number of data entries to return.

  • 0 will return all available records.

100

FALSE

provider

Literal

The provider to use for the query

tcbs

FALSE

Data Model

field_name

type

description

date_published

datetime

Date and time when the news article was published.

title

str

Title of the news article.

source

str

Source of the news article.

price

float

Price of the stock at that moment.

price_change

float

Price change of the stock.

price_change_ratio

float

Price change ratio of the stock.

symbol

str

Symbol representing the entity requested in the data.