- 0
-
General Statistics
-
Total Topics22,995
-
Total Posts95,332
-
Total Members43,611
-
Most Online7,522
10/06/21 10:53
-
-
Posts
-
WD Gann Said over 100 years ago "When TIME & PRICE BALANCE, the trend HAS to change" . Yes, there is a definite maths relationship, Via Gann or Elliot-waves. The pity is I cannot get Gann Angles on IG as they are not properly defined as per Gann, and do NOT REMAIN FIXED AT THOSE ANGLES WHEN YOU CHANGE TO ANY TIMEFRAME!!!!!!!! Even the Gann fan angles, used by all brokers, are a joke. These angles are not set arbitrarily as the system allows, and no means to measure angles!!!!
-
Making money through trading involves analyzing markets & making informed decisions. One buys assets at low prices & sells them high.To break it down, traders study charts, news, and economic indicators to spot potential opportunities. They use technical analysis to identify patterns and trends and fundamental analysis to assess the health of a market. Timing is key – traders aim to enter and exit positions at the right moments to maximize profit.Also, there are some tips on how to make money fast – they're out there, and they work. But remember, trading isn't a guaranteed shortcut to quick cash. It takes discipline, risk management, and continuous learning.
-
After a poor finish to last week, Asian markets mostly traded in negative fashion on Monday, though some bargain-hunting in the Nikkei lifted that index off its lows. With major central bank decisions out of the way for the time being, the focus now shifts to the possibility of a government shutdown in the US. House Republicans are making efforts to consider stopgap funding measures to stave off a shutdown. Today's major events include the German IFO index, plus testimony to eurozone lawmakers by ECB president Christine Lagarde.
-
Question
ArturCz
Hey,
I'm working with IG's OAuth authentication process to keep an authenticated session in my REST API client. As IG's OAuth access token expires every 60 seconds, I refresh the access token with the provided refresh token every 55 seconds to keep a valid access token at all times (having a look at network traffic in IG's REST API companion, it looks like it's done exactly the same way there).
However, recently the POST /session/refresh-token v1 interface became very unstable, often throwing error.security.invalid-details or error.security.authentication.timeout. As I use an exponential backoff retry mechanism behind the requests, the requests sometimes works after 3 or 4 retries (after 10ms to 100ms delay before I trigger the next retry). However, sometimes the requests don't succeed at all and I'm forced to create a new session with the POST /session v3 interface (which has worked as a last resort for now).
Even if I have recovery mechanisms in place to ensure a valid access token, it's a bit odd that POST /session/refresh-token v1 fails this often recently. Session management is the most basic layer of an API and it shouldn't be this unstable.
I should mention that I run two distinct processes which maintain their own authenticated sessions. But even with two sessions I'm doing 2 non-trading requests per 55 seconds which is well within IG's REST API quotas.
It looks like the POST /session/refresh-token v1 interface might be overloaded on IG's side for some reason recently. If this is the case it might be helpful that I call attention to this issue here. If this isn't caused by an overload on IG's side I would appreciate some feedback what I should do different (which would ultimately imply that it is not done in the very correct way in IG's REST API companion as well).
I would appreciate if there is some feedback regarding this issue!
Best regards,
ArturCz
Link to comment
1 answer to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now