Loading...
Continue to Myfxbook.com
Continue to Myfxbook.com
Čeština
Deutsch
English
Español
Français
Indonesia
Latviešu
Melayu
Polski
Português(Brasil)
Português(Portugal)
Slovenčina
Svenska
Türkçe
Vietnamese
Русский
हिंदी
ไทย
日本語
简体字
繁體中文
한국어
Sign In
Sign Up
Open an account with FOREX.com
FX Tools:
Economic Calendar
Interest Rates
FX Calculators
News
spreads
Sentiment
Forex Heat Map
Correlation
Market Hours
Home
JPR
Posts
Share
Share this page!
Posts by
JPR
Newbie - struggling to export community sentiment data
in
Programming
Oct 24 at 09:56
Hi all, Please can you help me to confirm the correct API Key / token to use to pull sentiment data.When I have the correct key, will this basic script do the job?..................................import requestsimport csvimport datetimeimport time# Your Myfxbook API credentialsAPI_KEY = '?' # Replace with actual API keydef get_sentiment_data(): endpoint = "https://www.myfxbook.com/api/get-community-outlook.json" params = {'session': API_KEY} response = requests.get(endpoint, params=params) if response.status_code == 200: data = response.json() ...
You have an Ad Blocker!
Myfxbook is a site supported by advertisements. Here are two ways for you to continue browsing:
Ad Free Subscription
or
Disable your Ad Blocker
Already subscribed?
Sign In
You're not logged in
This feature is available for registered members only.
Registration is free and takes less than a minute.
Click the sign up button to continue.
Unless you're already a member and enjoying our service, then just sign in.
Keep up to date with the markets
Enable notifications to receive real-time important market updates:
Economic Calendar
Forex News
You can disable notifications at any time from your browser.
Unblock Notifications
You've blocked browser notifications for Myfxbook.com. Please enable it:
You can disable notifications at any time from your browser.
PREVIOUS
CONSENSUS
ACTUAL