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

Easier stoploss takeprofit input area ? #4

Open
deltaformation opened this issue Sep 19, 2016 · 1 comment
Open

Easier stoploss takeprofit input area ? #4

deltaformation opened this issue Sep 19, 2016 · 1 comment

Comments

@deltaformation
Copy link

Hi, awesome project ! Just wanted to point out I still haven't figured out where I can input a global stoploss and takeprofit.

If you can point me to where these 2 values are to be changed that would be immense help, thank you!

@PeterMalkin
Copy link
Owner

You would need to implement your strategy to have the StopLoss and TakeProfit plugged in correctly. Right now those are not used. But if you were to plug them in, this would be the spot https://github.com/PeterMalkin/oandapybot/blob/master/logic/strategy.py#L90

Let me know if you need more help with this

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

2 participants