Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

runAlgo_Take_Opposite_position_over_sharp_price_changes #2

Closed
tg12 opened this issue Apr 22, 2022 · 7 comments
Closed

runAlgo_Take_Opposite_position_over_sharp_price_changes #2

tg12 opened this issue Apr 22, 2022 · 7 comments

Comments

@tg12
Copy link

tg12 commented Apr 22, 2022

I took your idea of runAlgo_Take_Opposite_position_over_sharp_price_changes and coded it up with a slight variation. I have worked with IG Index API for quite some time now (Check my profile) I watched your videos and I've tested it over a month and it seems to produce decent results.

@g-make-it
Copy link
Owner

Hi,
That's good to hear.
If you don't mind me asking, what changes did you make ? (instuments,.....)

I saw your profile and the forked project, but I couldn't find the changes made to that particular file

@vivekavardhana
Copy link

vivekavardhana commented Apr 24, 2022 via email

@tg12
Copy link
Author

tg12 commented Apr 24, 2022

Hi, The also I mentioned isn't publicly available. Alot of my code that I have used in the past is available but it may no longer be relevant. I do not publish the algo's that are profitable in their entirety for obvious reasons. I have been trading Natural Gas as the instrument.

what changes did you make ?

I used the IG Index Streaming API rather than the REST API to decent sharp price increases(decreases) and keep a track of them.

@g-make-it
Copy link
Owner

@vivekavardhana - if you want to learn algo trading, maybe check out my youtube channel - https://www.youtube.com/channel/UCsQqV_wq5yPrw5YIpvwmjvQ

@tg12 - That's interesting, since the War in Ukraine started the prices of those resources have been fluctuating. The algo seems like a good fit.

On the flip side, what's your exit strategy if the position goes against you ?
Assuming the price keeps rising/falling. -- my safety was something like a Guaranteed Stop loss if the position became unmanageable.

@vivekavardhana
Copy link

vivekavardhana commented Apr 24, 2022 via email

@tg12
Copy link
Author

tg12 commented Apr 24, 2022

@g-make-it Yes I have set a guaranteed stop loss and a set take profit based on some of my previous ideas. I also have a "sideways detection algorithm" to see if the market is moving side ways so then It sells off any trades in profit if the market is moving sideways.

@g-make-it
Copy link
Owner

@tg12 Ah, great to hear.
Best of luck trading, I hope you make lots of money.

@tg12 tg12 closed this as completed Apr 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants