Jump to content

Bopperz

Community Member
  • Content Count

    195
  • Joined

  • Last visited

Everything posted by Bopperz

  1. If the curve is in backwardation, you get paid on DFB.
  2. 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.
  3. 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.
  4. Please check your strategy works when you include the spread and the fees before you go live!
  5. 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)
  6. They recently reduced the limits. No idea if its temporary.
  7. Go to settings, then select API keys.
  8. 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.
  9. 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.
  10. 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.
  11. Same situation for me. Same error code, I've had to add code to wait between each call to the API.
  12. I just had exactly the same question. Cotton March contract is expiring on the 19th, but the next contract is not available.
  13. 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.updateTimeUT
  14. 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.
  15. Check out pro-realtime, you can backtest any trading strategy that you can express explicitly in code.
  16. 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.
  17. 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.
  18. 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
  19. 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.
  20. 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
  21. 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).
  22. 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!
  23. If you use a smaller timeframe, you can approximate this yourself with volume*close. Then resample to the timeframe you are interested in.
  24. You need to calculate them yourself. The options screen will give you the price and the Implied Vol. You can use a website calculator or write some code/excel.
×
×
  • Create New...