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

Add a testing module for backtesting #33

Merged
merged 21 commits into from
Dec 21, 2023
Merged

Add a testing module for backtesting #33

merged 21 commits into from
Dec 21, 2023

Conversation

oulianov
Copy link
Collaborator

@oulianov oulianov commented Dec 20, 2023

Add a basic implementation to do backtesting with an agent with the following syntax

# phospho_test.py
phospho_test = phospho.PhosphoTest()

 @phospho_test.test
 def test_santa(**inputs):
     agent = Agent()
     return agent.answer(**inputs)
     
 phospho_test.run()
python phospho_test.py

@oulianov oulianov changed the title [WIP] Test module for phospho Blueprint of a test module for phospho Dec 20, 2023
@oulianov oulianov marked this pull request as ready for review December 20, 2023 16:49
@oulianov
Copy link
Collaborator Author

To debug : pandas mode

@oulianov oulianov changed the title Blueprint of a test module for phospho Add a testing module for backtesting Dec 21, 2023
@oulianov oulianov merged commit ea40120 into dev Dec 21, 2023
3 checks passed
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

Successfully merging this pull request may close these issues.

1 participant