Comments (8)
I've had similar issues. In my case results are unchanged still getting RSI value with timeperiod = 3.
from finnhub-python.
Hi guys, thank you for reporting let us have a look on this
from finnhub-python.
Hi guys @TonyPlayer @vladcvoinescu we have released 1.1.7 to address this issue. Let us know if you guys are still facing it
from finnhub-python.
Hi @nongdenchet, can you please give me example how to use RSI for timeperiod = 14.
I'm still getting error when i use argument like below:
print(finnhub_client.technical_indicator(symbol=symbol, resolution=5, _from=_from, to=to, indicator='rsi', timeperiod=14))
~\anaconda3\lib\site-packages\finnhub\api\default_api.py in technical_indicator_with_http_info(self, symbol, resolution, _from, to, indicator, **kwargs)
5184 raise ApiTypeError(
5185 "Got an unexpected keyword argument '%s'"
-> 5186 " to method technical_indicator" % key
5187 )
5188 local_var_params[key] = val
ApiTypeError: Got an unexpected keyword argument 'timeperiod' to method technical_indicator
from finnhub-python.
Hi @nongdenchet, can you please give me example how to use RSI for timeperiod = 14.
I'm still getting error when i use argument like below:
print(finnhub_client.technical_indicator(symbol=symbol, resolution=5, _from=_from, to=to, indicator='rsi', timeperiod=14))~\anaconda3\lib\site-packages\finnhub\api\default_api.py in technical_indicator_with_http_info(self, symbol, resolution, _from, to, indicator, **kwargs)
5184 raise ApiTypeError(
5185 "Got an unexpected keyword argument '%s'"
-> 5186 " to method technical_indicator" % key
5187 )
5188 local_var_params[key] = valApiTypeError: Got an unexpected keyword argument 'timeperiod' to method technical_indicator
Plz try the example shown in the original post: rsiResult = finn.technical_indicator( symbol=STOCK, resolution=CANDLE_SIZE, _from=UNTIL - TIME_FRAME, to=UNTIL, indicator='rsi', indicator_specific_fields={'timeperiod': 14})
from finnhub-python.
Yeah, i've tried that, and got the following error:
ApiTypeError: Got an unexpected keyword argument 'indicator_specific_fields' to method technical_indicator
from finnhub-python.
hi team sorry for late response, please try this one
print(finnhub_client.technical_indicator(symbol="AAPL", resolution='D', _from=1583098857, to=1584308457, indicator='rsi', indicator_fields={"timeperiod": 3}))
from finnhub-python.
@TonyPlayer I forget to update README, I have updated it accordingly
from finnhub-python.
Related Issues (20)
- "goodwill" missing from financials endpoint?
- Internal Server Error when testing technical indicator endpoint
- Missing 1 month of data on candles endpoint
- Why not wrapping stock_candles results into a pandas.DataFrame?
- Earning Calendar
- Could I use this API to get daily stock price everyday?
- symbol lookup is not returning useful results HOT 3
- QQQ 2021-06-15 13:30 data missing HOT 1
- Feasability of using endpoint: stock/symbol?exchange=US to create/update a masterfile
- META (Facebook) 2022-01-31 ~ 2022-06-08 1 minute bars missing
- any plans to add futures data?
- raise Key Error
- Just curious... HOT 1
- marketcap
- #stock_candle not clear HOT 1
- [Question] About the type `PUBLIC` in stock_symbols
- Multiple symbols request.
- crypto_candles is giving data of wrong length and dates HOT 1
- financials_reported not getting last report of 2023 on aapl stock
- [Enhance] Add peers to TS
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from finnhub-python.