Jump to content

jlz

Community Member
  • Posts

    421
  • Joined

  • Last visited

  • Days Won

    26

Everything posted by jlz

  1. I am not trying to add more fuel to the fire, just went to search if this is common problem when setting up limit orders and it seems to be the case. Basically your limit orders are not guaranteed to be executed if there is no one to take it. How can you prove that there is no one to take it? You can use level 2 data. I do believe that you have set up that limit trigger and didn't get executed, mainly because it seems to be happening often when there are price gaps on very volatile markets. There is one way to prove that there is someone to take it if you use level 2 market depth data. By using level 2 data you can see if there are enough orders there that should match your limit. I don't think the broker would want limit orders to be ignored, that would be as you say an unfair platform and would get noticed by many traders easily. Looking at the broker's business it seems unlikely that they would force that trigger to be voided. I am certainly sure that the gap set the price to a level where orders were not present and there wasn't anyone to take your limit, think about that your limit level must be exact otherwise it doesn't get executed. https://www.investopedia.com/ask/answers/05/buystoplimit.asp#:~:text=A limit order is ineffective,currently below the market price.
  2. You can use the Money Flow Index indicator: Or the market sentiment through the main web: https://www.ig.com/uk/marketanalysis/ig-indices/wall-street If you can't see it make sure that you are logged in with your user.
  3. You can find the streaming API definition at: https://labs.ig.com/streaming-api-guide There are some code examples at: https://labs.ig.com/sample-apps This is the client I use in case you find it useful: https://github.com/oneangrytrader/brokerapiclients/blob/master/IG.Csharp.Api.Client/IG.Csharp.Api.Client/Streaming/IgStreamingApiClient.cs
  4. Hi, the picture helped. Now I understand what you are trying to do. You are pointing your code to the wrong endpoint, you don't need the Open Position Request, you need the Create Working Order Request. The type of order that you are looking for is a Resting Working Order, the API companion has a menu option for it. It is at "Trading Working Orders" https://labs.ig.com/rest-trading-api-reference/service-detail?id=533 I sent a test to get the json parameters, here is the request: You can amend stop and limit levels to match your picture. That gets a response with a deal reference. Querying the "Trade Confirm" endpoint that we discussed earlier you will get a response like:
  5. When you send a Create Position Request you always get a deal reference as a result. If the request didn't go through you can query the "Trade Confirm" endpoint with that reference. This is a result from a wrong request that I sent as a test: "date": "2020-08-28T16:56:11.906", "status": null, "reason": "LIMIT_ORDER_WRONG_SIDE_OF_MARKET", "dealStatus": "REJECTED", "epic": "IX.D.FTSE.DAILY.IP", "expiry": null, "dealReference": "RBHDM9LUQYU44S3", "dealId": "DIAAAAEASE5RTA3", "affectedDeals": [], "level": null, "size": null, "direction": "BUY", "stopLevel": null, "limitLevel": null, "stopDistance": null, "limitDistance": null, "guaranteedStop": false, "trailingStop": false, "profit": null, "profitCurrency": null }
  6. https://en.wikipedia.org/wiki/Ad_hominem I never said that they need to read all of them. I said that just by picking one of them and reading through the book and references is enough to build an understanding of risk management, which is at the end what makes a profitable system. Not the entry point, the exit point. New Moon post that you eloquently disliked was exactly to point that out, that you can lick a finger against the wind to excuse your entry, or as the example shows, look at moons. They are beautiful after all. Which means that you can remove anything you use to enter in a trade all together, what matters is how you exit.
  7. I know the thread title is about Van Tharp but in the middle of the thread we changed topics and I started talking about the book that dmedin recommended, then OP highlighted TA and we created another branch of the conversation. Then we got into these TA religious facts. Saying that the turtles won with TA and a 30-40% win rate is like saying the Beatles became millionaires playing the same 5 chords and 2 scales, major and minor. Now try to do the same, pick a guitar and play songs with 2 chords about love, let's see how far you get. We are not in the 60's anymore, things have changed a little bit.
  8. There is one and only one reason behind those videos and is to make you trade with a behaviour. If your behaviour is predictable groups with more buying power than you can profit from it. TA main goal is to convert a supposedly random market into a static cloud of retail traders. TA would be a fantastic tool if there wasn't a whale expecting you to be at a certain position, if you ignore all market participants you are at the mercy of their institutional moves. The reason why TA doesn't work is because it is used by many people at the same time and creates a cloud of positions. I could agree with using your own indicators out of a proper risk management system, that would give me confidence. Using what is provided by the platform will lead you to trade with many others at the very same place. It is easy to understand that your profit has to come from others loses, if your position is with the majority, in order to make a win who is loosing that amount? I am sure that using well known TA is the main cause of many traders' loses. If you ignore whales and praise your indicators it won't go well in the long run.
  9. This list points to the books that everyone should read (I haven't read them all, just a handful of them): https://www.google.com/search?q=risk+management&client=opera&hs=h3O&tbs=cdr:1,cd_min:2000,cd_max:2099,sbd:1&tbm=bks&sxsrf=ALeKk02LkCoH2-bVjtbt3QtSwnumJ7rRFw:1598548938129&source=lnt&sa=X&ved=0ahUKEwiA0PPs8rvrAhXLOcAKHQKVAEUQpwUIIg&biw=1920&bih=939&dpr=1 Just by picking one book and reading through the references will keep anyone out of YouTube. TA and Youtube, the perfect mix for a disaster.
  10. I find TA and Indicators like some kind of a religion that I am not able to believe in, produced by charlatans that are trying to create behaviours in retail traders so they can profit from them. So I normally bypass chapters that talk about TA all together. If there is anything related to risk management is what I will read, the rest will be ignored.
  11. Thanks, I haven't read this one
  12. It is not going to be the golden rule for everyone, but for me it made a difference in order to understand positions. If you are able to divide your trading progress into chunks of R units you can define actions to take at any multiple of R. It is very easy to get lost into percentages and sizes, by defining units you can understand instantly what should be your next action. That itself falls into a system immediately and for some of us that do not have any training in finance having the ability to measure a system performance that easily it is a big advantage.
  13. Quoting the book: "I now strongly believe that systems can be thought of as distributions of R multiples that they generate" "Because systems can be thought of as distributions of R multiples, it’s also possible to use those distributions to simulate what your future results might be like. And even more importantly, such simulations will tell you how to position size your system to meet your objectives" Great book.
  14. There is a thread opened by the administrator. https://community.ig.com/forums/topic/12313-features-you-want-added-to-ig/ Maybe you get a louder voice there.
  15. I am right now trying to get the API to work so I didn't look into the fees yet. I always consider that a second step, if I can't automate it I won't be able to use it so first I must get it to work. I think the benefit will come when buying shares, my plan is to keep using IG for Spread Betting and IB for shares. They offer the option to deal with shares through the API so that is something we don't get here. I don't understand why IG don't offer an API for share dealing, that would be a game changer for me.
  16. Actually it is more secure. Since you have to run the server yourself you won't need to store credentials or API keys anywhere. Not many can run a java server, you need to install the jdk and run specific commands. That creates an extra layer of security that will trust only the device you were able to set up. You won't be able to access to your account from anywhere that is not running that server, meaning that only a device of your trust will be able to query they API. It is a 2FA for software developers.
  17. I was involved this week in getting IB to work, they use a local java server that you have to run to create the gateway against their API so things are a bit more complex. Their docs are not clear and there aren't much examples to get started apart from what other devs have done on github. I will be sending what I have completed to: https://github.com/oneangrytrader/brokerapiclients They seem to have a much cheaper deal if you want to trade shares and they are available through the API so it is worth the effort to get it done.
  18. It is funny that the moderation went to highlight the word that made the case. It is like "let me mark in bold what you just said"
  19. Since this post thread is not going to produce any result and will get ignored I wanted to ask you about Alpaca. I checked them and it seems to be only for Usaians. They ask for 30K to be a member of the club and if you are not a USA citizen they will ask you to send a form that might or might not be valid to join. They seem to have all the goodies available, I wish we had something similar at this side of the pond. Why are you around here and not with them? What made you join the British?
  20. https://www.ig.com/uk/charges/margin At the bottom of the page you can redirect to specific markets.
  21. https://community.ig.com/forums/topic/12366-demo-api-errors/#comment-61607 It's been going on for a while unfortunately.
  22. If you look at the Expiry section of that market you will see that they are DFBs (Daily Funded Bets) . https://www.ig.com/uk/glossary-trading-terms/dfb-definition
  23. It looks like they've given you something to play with that is not the full setup.
  24. There are a few posts on the subject https://community.ig.com/search/?q=w-8ben&quick=1
  25. you should have both live and demo accounts side by side under the settings tab.
×
×
  • Create New...
us