We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
I'm not able to exit for JPY pairs while others are working fine.
stopLossPrice = 0.0015 optionsTrail = {'trailingStopLoss' => {'timeInForce' => 'GTC','distance' => (oandaTickerUnderscore.downcase.include?('_jpy') ? (stopLossPrice * 100).round(2) : stopLossPrice.round(4))},} updatedOrder = actingClient.account(accountToTrade).trade(openTrade['id'], optionsTrail).update
can anyone help?
distance for trailing stops are off (only on JPY) units when partially closing a position are off (only on JPY)
distance
units
I cant understand why
The text was updated successfully, but these errors were encountered:
Hi there, that's very strange. If you don't mind, what does you code look like for placing the trailing stop loss?
Sorry, something went wrong.
Sorry just realized that you did share the code 🙄 Are you still having this issue?
No branches or pull requests
I'm not able to exit for JPY pairs while others are working fine.
can anyone help?
distance
for trailing stops are off (only on JPY)units
when partially closing a position are off (only on JPY)I cant understand why
The text was updated successfully, but these errors were encountered: