g-make-it / IG_Trading_Algo_Scripts_Python

IG Trading Algos and Scripts in Python
BSD 3-Clause "New" or "Revised" License
216 stars 49 forks source link

runAlgo_Take_Opposite_position_over_sharp_price_changes #2

Closed tg12 closed 2 years ago

tg12 commented 2 years ago

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 commented 2 years ago

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 commented 2 years ago

I want to learn Also trading so did I fork

On 24-Apr-2022, at 5:01 PM, g-make-it @.***> wrote:

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

— Reply to this email directly, view it on GitHub https://github.com/g-make-it/IG_Trading_Algo_Scripts_Python/issues/2#issuecomment-1107822057, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPVRXONLE3E55TFCCKPTSDVGUWKJANCNFSM5UBQBQWQ. You are receiving this because you are subscribed to this thread.

tg12 commented 2 years ago

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 commented 2 years ago

@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 commented 2 years ago

I am just a beginner. Let me go through your videos

On Sun, 24 Apr 2022 at 17:45, g-make-it @.***> wrote:

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

@tg12 https://github.com/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.

— Reply to this email directly, view it on GitHub https://github.com/g-make-it/IG_Trading_Algo_Scripts_Python/issues/2#issuecomment-1107829224, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABPVRXKIPUFVJXK53VDGTGDVGU3OBANCNFSM5UBQBQWQ . You are receiving this because you were mentioned.Message ID: @.***>

-- B.Vivekavardhana Reddy

tg12 commented 2 years ago

@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 commented 2 years ago

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