Jump to content

Bopperz

Community Member
  • Posts

    196
  • Joined

  • Last visited

Everything posted by Bopperz

  1. You can write some code to do this through the API.
  2. If the curve is in backwardation, you get paid on DFB.
  3. ATR are a good starting point for a stop, but you will need to adjust it based on local support/resistance levels. If you putting a stop within 1 ATR of the open price, you will get stopped out by market noise.
  4. It started just after the spam issue they had on the forums. The forum went down for a week, and the API limit decreased. A few people commented on it when the forum came back up. If you email the support desk they have increased my limits on a temp basis in the past.
  5. Please check your strategy works when you include the spread and the fees before you go live!
  6. Check out the "info" section: Settlement Settled basis the official settlement of the Nikkei 225. In the event that the underlying market unexpectedly ceases trading early, options will settle basis the last tick reported by Bloomberg on the day. If the underlying market does not trade on the day, trades will be void. The price at settlement for a long call will me max(Close-Strike,0)
  7. They recently reduced the limits. No idea if its temporary.
  8. Go to settings, then select API keys.
  9. The number is back calculated to minimise the risk of going bankrupt. It should ideally be calibrated to the win/loss ratio of your strategy. Risking 5%, would allow you 20 losses in a row, before wiping you out. But after 10 losses you would barely be surviving, remember once you have lost half your capital, you need a 100% return, just to break even. Basically, you want to risk a lot less than you think you should. Once you have a track record, increase it.
  10. Try using the formula differently. If you want to risk 1000, find a good stop location and then calculate the position size. So 50 point stop loss allows you to take a 20 position.
  11. Get the menu though the live account. At the top is a link to the demo account. If your just pulling data, save yourself the hassle and use a live account. Then you wont have to switch it over when you start trading.
  12. Same situation for me. Same error code, I've had to add code to wait between each call to the API.
  13. I just had exactly the same question. Cotton March contract is expiring on the 19th, but the next contract is not available.
  14. Hi, The query of open trades is returning incorrect data in the market.netChange. It should return the daily change in price in native units. Incorrect data underlined. Query: https://demo-api.ig.com/gateway/deal/positions market.instrumentName market.expiry market.epic market.instrumentType market.lotSize market.high market.low market.percentageChange market.netChange market.bid market.offer market.updateTime market.updateTimeUTC market.delayTime market.streamingPricesAvailable market.marketStatus market.scalingFactor London Cocoa Mar-21 CO.D.LCC.Month7.IP COMMODITIES 1 1769 1741 1.03 18 1761 1767 11:36:04 11:36:04 0 TRUE TRADEABLE 1 Copper DFB CS.D.COPPER.TODAY.IP CURRENCIES 1 8409.9 8308.8 0.08 8361.9 8356.9 8366.9 11:37:38 11:37:38 0 TRUE TRADEABLE 1 Zinc DFB CS.D.ZINC.TODAY.IP CURRENCIES 1 2847.9 2805.4 0 2824.9 2821.9 2827.9 11:37:12 11:37:12 0 TRUE TRADEABLE 1
  15. Do the accounts have different position size? The average price to close a large position will be higher if it needs more bids to get the volume.
  16. Check out pro-realtime, you can backtest any trading strategy that you can express explicitly in code.
  17. What time frame are you using? Daily data is available via the API for about 5 years. More granular data is available for about a year. You can look at quandl, they have lots of data.
  18. This is not an IG specific problem, you could go to any bank and ask them to price an option like this. They delta hedge, then offset the Vega on longer dated options against the nearest liquid contract.
  19. Hi, Get the price history. This will give you the candle opening bid/ask, then find the mid point. 'https://api.ig.com/gateway/deal/prices/'+epic+'?resolution='+freq+'&from='+d1+'&to='+d2+'&pageSize='+str(5000) You need to add epic, freq, d1, d2
  20. You can get that data from the API, if you can code? Its under "/positions" and you can calculate todays PnL by market.netChange * positions.size. You might need to make a correction for long/short.
  21. Do you mean pip as in 0.0001%? Silver price = $23.90, 1 pip=$0.002390 Or do you mean 1 point on IG? Silver price 2390, 1 point = $0.01
  22. Congratulations. Could it be luck? Possibly, how many trades did you take? If you can sustain this PnL over 20/50/100 trades you are golden. Also, be very very careful about your potential loss as a percentage of your capital. If you had lost £500 this month, you would need a 100% return, just to get back to your starting point. Aim for 2% capital risk per trade as a rule of thumb. (There is plenty of research material on this subject).
  23. I stay away from the whole family of crypto. I don't like the amount of hype and general **** that is out there. Ranging from its an inflation hedge, as they cant make any more of it. To its not a fiat currency, like those evil central banks. Doesn't look like either of those things to me!
  24. If you use a smaller timeframe, you can approximate this yourself with volume*close. Then resample to the timeframe you are interested in.
×
×
  • Create New...
us