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 using Portfolio.from_signals in vectorbt with timestamped index data.
Buy Signal: Triggered when value > 15, allowing multiple accumulated trades.
Trade Duration: I need each trade to close automatically if open for more than 6 hours.
How can I implement this time-based closing condition with from_signals?
The text was updated successfully, but these errors were encountered:
Could you please provide a sample code?
Sorry, something went wrong.
No branches or pull requests
I'm using Portfolio.from_signals in vectorbt with timestamped index data.
Buy Signal: Triggered when value > 15, allowing multiple accumulated trades.
Trade Duration: I need each trade to close automatically if open for more than 6 hours.
How can I implement this time-based closing condition with from_signals?
The text was updated successfully, but these errors were encountered: