invfinsdk package¶
Submodules¶
invfinsdk.api module¶
- class invfinsdk.api.Company(token: str)[source]¶
Bases:
Client
- get_company(amount_info: str, params: Dict[str, Union[str, int]]) Dict[str, Any] [source]¶
Get a single company using either his id or his ticker
Parameters¶
- paramsDict[str, Union[str, int]]
Parameters to perform a lookup Example: {“ticker”: “INTC”}
- amount_infostr
Either full or basic
Returns¶
- Dict[str, Any]
A company full information
- token: str¶
- class invfinsdk.api.SuperInvestor(token: str)[source]¶
Bases:
Client
- get_superinvestor_historial(params: Dict[str, Union[str, int]]) Dict[str, Any] [source]¶
Get all the historial of a superinvestor
Parameters¶
- paramsDict[str, Union[str, int]]
Parameters to perform a lookup Example: {“id”: 45}
Returns¶
- Dict[str, Any]
All the superinvestor historial
- get_superinvestor_movements(params: Dict[str, Union[str, int]]) Dict[str, Any] [source]¶
Get all the movements of a superinvestor
Parameters¶
- paramsDict[str, Union[str, int]]
Parameters to perform a lookup Example: {“slug”: “precio-valor-en-libros”}
Returns¶
- Dict[str, Any]
All the superinvestor movements
- token: str¶
- class invfinsdk.api.Term(token: str)[source]¶
Bases:
Client
- get_term(params: Dict[str, Union[str, int]]) Dict[str, Any] [source]¶
Get a single term using either his id or his slug
Parameters¶
- paramsDict[str, Union[str, int]]
Parameters to perform a lookup Example: {“slug”: “precio-valor-en-libros”}
Returns¶
- Dict[str, Any]
A full term
- token: str¶