Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Deep Backtesting - History Server (Premium only) #204

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

Open
nick-kilian wants to merge 4 commits into Mathieu2301:main
base: main
Choose a base branch
Loading
from nick-kilian:deep-backtesting

Conversation

@nick-kilian
Copy link

@nick-kilian nick-kilian commented Jun 8, 2023

Adds Deep Backtest support (only available on Premium plans) via a new HistorySession. Deep Backtesting works with a different server (history-data) and session and doesn't use any chart information.

Tradingview Docs: https://www.tradingview.com/support/solutions/43000666265-how-does-deep-backtesting-work/

  • updateReport could be refactored to work across both a study and historySession.

Test results:

[08/06 09:09:23] 11. DeepBacktest
[08/06 09:09:23] > Creating logged history client
[08/06 09:09:24] > Loading built-in strategy....
[08/06 09:09:24] > Running deep backtest....
[08/06 09:09:24] > Strategy loaded !
[08/06 09:09:28] > Deep backtest traded from 2010年02月01日T17:50:00.000Z
[08/06 09:09:28] > Closing client...
[08/06 09:09:28] > Client closed
[08/06 09:09:28] ==== ALL TESTS DONE ====

Resolves #118

ASGDLO reacted with heart emoji
Copy link

Works for me

frizLabz-FFriZz and clins1994 reacted with thumbs up emoji

Copy link

0x090909 commented Aug 27, 2023
edited
Loading

@nick-kilian Is it possible to fetch indicator values from DeepTesting? I have to use my engine to do the backtesting

Copy link

would be nice!

Copy link

@nick-kilian can you maybe rebase this PR so @Mathieu2301 can easily merge this?

i very much like to have this included!!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Deep Backtesting

AltStyle によって変換されたページ (->オリジナル) /