Jump to content
  • 0

API for Downloading Chart Data


Guest RichB-Trader

Question

Guest RichB-Trader

Hello,

 

I need a way to download the type on information I get when I click the “Show HLOC” option. This is things like market price, MACD and RSI indicator data.

 

I believe I can use API for this but it is not clear from the Labs website how I actually do it. I have some technical computer knowledge but only some. 

 

I am using the IG web based trading platform. Thank you for any help, it is much appreciated.

 

Link to comment

10 answers to this question

Recommended Posts

  • 0
Guest RichB-Trader

Hello,

 

Thanks you thats really helpful. Historic data is useful and I do need it but I am also interested in the live (ish) data, anything up to 4 hours old. 

 

Also I need to be able to download values for my indicators like Moving Averages, MACD and RSI. When I turn on “Show HLOC” with my indicators on a chart it shows me values for these. Such as RSI oversold at 82, or MA at 3094. Do you know how I can get this information out of IG?

 

 Thank you so much for your help.

Link to comment
  • 0
Guest RichB-Trader

Ahh yes that looks like it may not be possible. Have you ever come across ta.lib.org?

 

Also do you know how I download the raw data? Or is that the video you posted previously? 

 

Thanks.

Link to comment
  • 0

That vid is the best one I've seen on how to get the raw data, don't know too much about  ta.lib but they do give a free trial period and use excel spreadsheets same as in the video so seems compatible.

It sounds like you are looking for something to use for backtesting rather than developing a bot to use to trade via API, would a simulator program using historic data be of use? 

Link to comment
  • 0
Guest RichB-Trader

Hello,

 

Sorry I should give some context. I use a spreadsheet to input technical indicators such as RSI, MACD and MA, which I have weighted appropriately to help give me a view of the trend which supports my chart pattern trading. 

 

I an am trying to get the raw data for price and the above indicators so I can download into my spread sheet to automate the analysis which I can then go an manually trade off. 

Link to comment

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • General Statistics

    • Total Topics
      21,176
    • Total Posts
      90,698
    • Total Members
      41,283
    • Most Online
      7,522
      10/06/21 10:53

    Newest Member
    CFDBandit
    Joined 29/01/23 03:20
  • Posts

    • Capital, win loss ratio. If you have a trading edge and you can consistently win 50% of your trades, so your winning 5 trades out of 10. So if your risking 1% of your capital per trade, out of your 10 trades 5 would be losers, so that’s 5% loss and realistically out of the 5 winning trades, some would make small profits, some break even and 1, 2 or 3 could run nicely IF you can let your profits run, basically your making money out of 2 trades out of the 10 trades (80/20 Rule Pareto principle) So a $20,000 acct risking 1% is $200 per trade, this will keep the trader with his trade risk based on being able to win 50% of his trades. A long term trend trader can win with 30% wining trade. Basically you need to know your numbers. Rgds Pete
    • Investing in stocks can be a great way to grow your wealth over time. However, there are different approaches that investors can take when choosing which stocks to buy. Two of the most popular approaches are growth investing and value investing. Growth Investing Growth investing is an investment strategy that focuses on buying stocks of companies that are expected to grow at a faster rate than the overall market. These companies are often in industries that are growing quickly, such as technology or healthcare. Investors who use this approach believe that these companies will be able to generate higher profits in the future, which will lead to higher stock prices. One of the main advantages of growth investing is that it can potentially provide higher returns than the overall market. However, it is also riskier than other investment strategies, as these companies often have higher valuations and more volatile stock prices. Value Investing Value investing is an investment strategy that focuses on buying stocks of companies that are undervalued by the market. These companies may be in industries that are out of favour or have recently experienced challenges, but they have strong fundamentals and a history of profitability. Investors who use this approach believe that these companies are undervalued and that their true value will be recognized in the future, leading to higher stock prices. One of the main advantages of value investing is that it can potentially provide lower risk than growth investing. However, it may also provide lower returns in the long run, as these companies may not have the same growth potential as companies in the growth investing category. Comparing Growth and Value Investing Growth and value investing are two different approaches to stock investing, each with its own advantages and disadvantages. Growth investing can potentially provide higher returns but is riskier, while value investing can provide lower risk but potentially lower returns. An investor may choose one approach or a combination of both. A portfolio that contains a mix of growth and value stocks can provide a balance of potential returns and risk. Conclusion Both growth investing and value investing can be effective ways to invest in stocks. The key is to understand the potential risks and rewards of each approach and to choose the one that aligns with your investment goals and risk tolerance. Analyst Peter Mathers TradingLounge™ 
    • I am a beginner, and I must say, there are a lot of rules to the trading game that one must abide by if they want to be successful.   Here, the writer mentions several basic rules for day vs swing trading.  However, I find that often times, the reasoning for these rules is not as  obvious for a beginner as it may be for an expert.   The 'why' factor if I may. For example, why must you have a large capital to trade with as a day trader? Because your positions must be large so that a small change in price will be augmented and turned into a large profit. Also, with such high risk, the margin will be specially high, given the trader is taking up large positions at a time.  Without a large amount of capital, positions may be forced to close due to funds being below margin requirements.  When this happens, you can expect to lose tons of cash, fast.  I learned the hard way. All the best, David Franco      
×
×
  • Create New...