nordnet | Uonfficial wrapper for financial data api | Business library
kandi X-RAY | nordnet Summary
kandi X-RAY | nordnet Summary
A python wrapper around Scandinavian broker Nordnet's external REST api.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
- Returns a pandas DataFrame containing all interest and tick timestamp
- Returns a list of Interest objects
- Get all stocks
- Main search function
- GET request
- Returns a pandas DataFrame containing the historical data
- Get historical prices for an instrument
- Get all forex data
- Get all forex
- Return a pandas DataFrame containing all news items
- Gets all news articles
- Returns a pandas DataFrame containing all instruments
- Returns a pandas DataFrame containing all commodities
- Returns a pandas dataframe containing all indicators
- Decorator for before the wrapped function
- Returns a pandas DataFrame containing the indicators of the analysis
- Returns a pandas DataFrame of historical prices
- Search for stocks
- Returns a pandas DataFrame containing prices for the instrument
- Gets the turnover exchange list
- Return a pandas dataframe of trade
- Return a pandas dataframe containing shareville comments
- Returns a pandas dataframe of the instrument
- Get the tick size for an instrument
- Returns a pandas DataFrame of instrument types
- Returns a pandas dataframe of tradeable trades
nordnet Key Features
nordnet Examples and Code Snippets
Community Discussions
Trending Discussions on nordnet
QUESTION
I'm quite new using Python. I'm trying to pratice my web-scraping skills using BeautifulSoup, on a Danish stock trading website: https://www.nordnet.dk/markedet/aktiekurser
This is my code:
...ANSWER
Answered 2020-Dec-13 at 14:06This is the span tag which returns in item
variable:
QUESTION
I want to find 2 patterns in each line and then print them with a dash between them as a separator. Here is a sample of lines:
...ANSWER
Answered 2020-Mar-31 at 00:13Using gawk
(gnu awk) that supports regex as Field Seperator (FS) , and considering that each line in your file has exactly the same format / same number of fields, this works fine in my tests:
QUESTION
I am trying to scrape some information from this website: https://www.nordnet.se/marknaden/aktiekurser?sortField=name&sortOrder=asc&exchangeCountry=SE&exchangeList=se%3Alargecapstockholmsek.
What I want to do is grab the sector information for each company, which is provided under the "Om bolaget"-tab in the company-specific pages. More specifically the information I want to get is in the "Sektor" and "Branch" fields. The links to the company specific pages can easily be obtained with requests
and BeautifulSoup
in python.
When making a get request to these links, the response sometimes contains the wanted information in the following form "sector: ..." and "sector_group: ...", but not always. One example when it works is for Latour https://www.nordnet.se/marknaden/aktiekurser/16099736-latour-investmentab-b, and one example when is doesn't work is for EQT https://www.nordnet.se/marknaden/aktiekurser/17117956-eqt.
Note that I see that an XHR-request (POST-request) is being made when pressing "Om bolaget", but I am not sure how to exploit it.
The code I use to grab the sector information from a company-specific page is provided below:
...ANSWER
Answered 2020-Jan-09 at 17:46To get Om bolaget
batch you have to get ntag from https://www.nordnet.se/api/2/login/anonymous response headers. You can take it once and use later in other requests. Best way is to use
requests.session()for that. In
data` 17117956 and 16099736 should be variables:
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install nordnet
You can use nordnet like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page