joelroxell / borsdata-sdk Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
Hey Joel, really nice client/sdk here. I was thinking about creating something similar earlier although primarily with pandas DataFrames result sets. Could be implemented as a method kwarg here I guess. I think it would be super valuable as most python users will be using pandas with the API anyway.
Or if this lib should be kept with minimal dependencies then maybe a pandas wrapper lib for this. What do you think?
Code:
from borsdata_sdk import BorsdataAPI
borsdata = BorsdataAPI(myApiKey)
instruments = borsdata.get_instruments()
Error:
----> [3] instruments = borsdata.get_instruments()
TypeError: init() got an unexpected keyword argument 'stockPriceCurrency'
Message from borsdata support:
Hej,
Det är Python libet du använder som har problem med att vi lagt till fler parametrar i Json,
Det borde fungera att lägga till i Json men ditt Python lib kan inte hantera detta.
Då detta är 3d-part så behöver du själv lägga in dessa två värden i Instruments filen,
https://borsdata.se/news/orginalrapportvaluta
Mvh
Henrik
When my account was compromised a spam issue was created in this repo. I sincerely apologize. Cleaning up such issues via script.
The API seems to set it, but from the swagger it does not seem to be an available parameter.
borsdata-sdk/borsdata_sdk/BorsdataAPI.py
Line 137 in 0fe9829
Stated in your Readme, but is not found when applied. Would be awesome to have!
Please add support for 20 years history recently available in the API. See APIUpdate
Probably a very minor change. I tested by adding the line
params.update({'maxcount': 20})
at line 138 to update the get_instrument_stock_price method for instance and that seemed to do the trick for that method.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.