René's URL Explorer Experiment


Title: MACDIndicatorValue has histogram and signal values reversed · Issue #517 · massive-com/client-python · GitHub

Open Graph Title: MACDIndicatorValue has histogram and signal values reversed · Issue #517 · massive-com/client-python

X Title: MACDIndicatorValue has histogram and signal values reversed · Issue #517 · massive-com/client-python

Description: Describe the bug The MACDIndicatorValue object create in response to python API call get_macd() has its histogram and signal values reversed. It appears the from_dict() deserializer either uses wrong labels or the variable assignment is ...

Open Graph Description: Describe the bug The MACDIndicatorValue object create in response to python API call get_macd() has its histogram and signal values reversed. It appears the from_dict() deserializer either uses wro...

X Description: Describe the bug The MACDIndicatorValue object create in response to python API call get_macd() has its histogram and signal values reversed. It appears the from_dict() deserializer either uses wro...

Opengraph URL: https://github.com/massive-com/client-python/issues/517

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"MACDIndicatorValue has histogram and signal values reversed","articleBody":"**Describe the bug**\r\nThe MACDIndicatorValue object create in response to python API call get_macd() has its histogram and signal values reversed. It appears the from_dict() deserializer either uses wrong labels or the variable assignment is incorrect.\r\n\r\n**To Reproduce**\r\nAs an example the most recent MACDIndicatorValue returned by the call\r\n\r\n    client = RESTClient(api_key=“….”)\r\n    client.get_macd(ticker=“DBC”, timestamp_lte=\"2023-09-16\", timespan=“week”, short_window=4, long_window=13, \r\n                                      signal_window=8, series_type=\"close\")\r\n\r\nis \r\n   MACDIndicatorValue(timestamp=1694318400000, value=0.6858891541204777, signal=0.23005417069090606, \r\n   histogram=0.4558349834295716)\r\n\r\nComparing with the values returned by a similar call to MACD with the same parameters in TradeView which yield:-\r\n hist (histogram) = 0.2301\r\n macd (value)     = 0.6859\r\n signal (signal)  = 0.4558\r\n\r\nAppears polygon has swapped its returned histogram and signal values. This, on the surface is confirmed by looking at the code\r\nWith respect to tag v1.12.4\r\nFile client-python/polygon/rest/models/indicators.py \r\nLine 34 \u0026 35\r\n            signal=d.get(\"histogram\", None),\r\n            histogram=d.get(\"signal\", None),\r\n\r\n**Expected behavior**\r\nWould expect the returned MACDIndicatorValue object in this situation to be :-\r\n\r\nMACDIndicatorValue(timestamp=1694318400000, value=0.6858891541204777, histogram=0.23005417069090606, signal=0.4558349834295716)\r\n\r\n**Screenshots**\r\nNone\r\n\r\n**Additional context**\r\nNone\r\n\r\n","author":{"url":"https://github.com/ibcodemonkey","@type":"Person","name":"ibcodemonkey"},"datePublished":"2023-09-17T12:30:24.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/517/client-python/issues/517"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:0929e397-7c35-02d8-7c3e-fb9ecb0d453a
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idE194:DA997:106A925:16086AD:6A4D8D6E
html-safe-nonced08d995cf72edc4e3eeeb90ffeb6c2c19d18aae9eda1b08465668c66026590dc
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFMTk0OkRBOTk3OjEwNkE5MjU6MTYwODZBRDo2QTREOEQ2RSIsInZpc2l0b3JfaWQiOiI3MzE4MzI5MjIyNzk5MTM0MDYyIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac72466adce2f91d36211ecabb53ccd19d83093a0cbfc53b287788651592a96f36
hovercard-subject-tagissue:1899768052
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/massive-com/client-python/517/issue_layout
twitter:imagehttps://opengraph.githubassets.com/d587a4b4287503a5b3671b4ad7452269ec1db5068ca028782f01edc57caa3acc/massive-com/client-python/issues/517
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/d587a4b4287503a5b3671b4ad7452269ec1db5068ca028782f01edc57caa3acc/massive-com/client-python/issues/517
og:image:altDescribe the bug The MACDIndicatorValue object create in response to python API call get_macd() has its histogram and signal values reversed. It appears the from_dict() deserializer either uses wro...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameibcodemonkey
hostnamegithub.com
expected-hostnamegithub.com
None9f8758a3953dfe943439713a6fa4f90d542a3431f10e861ca03dd7f39009f320
turbo-cache-controlno-preview
go-importgithub.com/massive-com/client-python git https://github.com/massive-com/client-python.git
octolytics-dimension-user_id191946194
octolytics-dimension-user_loginmassive-com
octolytics-dimension-repository_id216660192
octolytics-dimension-repository_nwomassive-com/client-python
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id216660192
octolytics-dimension-repository_network_root_nwomassive-com/client-python
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
releasebffd5484f01713a661b03469b77678f72b6574ed
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/massive-com/client-python/issues/517#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmassive-com%2Fclient-python%2Fissues%2F517
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fmassive-com%2Fclient-python%2Fissues%2F517
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=massive-com%2Fclient-python
Reloadhttps://github.com/massive-com/client-python/issues/517
Reloadhttps://github.com/massive-com/client-python/issues/517
Reloadhttps://github.com/massive-com/client-python/issues/517
Please reload this pagehttps://github.com/massive-com/client-python/issues/517
massive-com https://github.com/massive-com
client-pythonhttps://github.com/massive-com/client-python
Notifications https://github.com/login?return_to=%2Fmassive-com%2Fclient-python
Fork 356 https://github.com/login?return_to=%2Fmassive-com%2Fclient-python
Star 1.5k https://github.com/login?return_to=%2Fmassive-com%2Fclient-python
Code https://github.com/massive-com/client-python
Issues 12 https://github.com/massive-com/client-python/issues
Pull requests 6 https://github.com/massive-com/client-python/pulls
Actions https://github.com/massive-com/client-python/actions
Security and quality 0 https://github.com/massive-com/client-python/security
Insights https://github.com/massive-com/client-python/pulse
Code https://github.com/massive-com/client-python
Issues https://github.com/massive-com/client-python/issues
Pull requests https://github.com/massive-com/client-python/pulls
Actions https://github.com/massive-com/client-python/actions
Security and quality https://github.com/massive-com/client-python/security
Insights https://github.com/massive-com/client-python/pulse
#520https://github.com/massive-com/client-python/pull/520
MACDIndicatorValue has histogram and signal values reversedhttps://github.com/massive-com/client-python/issues/517#top
#520https://github.com/massive-com/client-python/pull/520
https://github.com/justinpolygon
bugSomething isn't workinghttps://github.com/massive-com/client-python/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com/ibcodemonkey
ibcodemonkeyhttps://github.com/ibcodemonkey
on Sep 17, 2023https://github.com/massive-com/client-python/issues/517#issue-1899768052
justinpolygonhttps://github.com/justinpolygon
bugSomething isn't workinghttps://github.com/massive-com/client-python/issues?q=state%3Aopen%20label%3A%22bug%22
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.