Skip to content

Added config to CCXT feed parameters#3

Closed
rmihael wants to merge 4 commits into
bartosh:ccxtfrom
rmihael:ccxt
Closed

Added config to CCXT feed parameters#3
rmihael wants to merge 4 commits into
bartosh:ccxtfrom
rmihael:ccxt

Conversation

@rmihael
Copy link
Copy Markdown

@rmihael rmihael commented Dec 20, 2017

It's worth adding the config parameter to the feed class as well. Otherwise when trying to use sandbox broker is instantiated with a proper endpoint and feed still uses real environment.


This change is Reviewable

@bartosh
Copy link
Copy Markdown
Owner

bartosh commented Dec 20, 2017

What's the point of using sandbox for public API? From my point of view it only makes sense to do for private/broker API, no?

@rmihael
Copy link
Copy Markdown
Author

rmihael commented Dec 20, 2017

It makes sense for backtesting validation. In one run I want to run my strategy against sandbox (both feed and orders) and in another run -- against BackBroker with historical data strictly matching previous sandboxed run.
In that case, I would expect simulation results to be close to sandbox results. If that not true, then something is wrong with my backtesting and I should revisit it.

@bartosh
Copy link
Copy Markdown
Owner

bartosh commented Dec 20, 2017

Thanks for the explanations. That makes sense to me now.

Can we make this parameter optional?

@rmihael
Copy link
Copy Markdown
Author

rmihael commented Dec 20, 2017

Sure, why not. I'll update PR.

bartosh pushed a commit that referenced this pull request Dec 23, 2017
@bartosh
Copy link
Copy Markdown
Owner

bartosh commented Dec 23, 2017

closed by cb921c2

@bartosh bartosh closed this Dec 23, 2017
bartosh pushed a commit that referenced this pull request Feb 3, 2018
JustinHop pushed a commit to JustinHop/backtrader that referenced this pull request Feb 15, 2018
bartosh pushed a commit that referenced this pull request Feb 27, 2018
bartosh pushed a commit that referenced this pull request Mar 18, 2018
bartosh pushed a commit that referenced this pull request Jun 16, 2018
bartosh pushed a commit that referenced this pull request Aug 5, 2018
bartosh pushed a commit that referenced this pull request Sep 9, 2018
cbinners pushed a commit to cbinners/backtrader that referenced this pull request Jun 3, 2019
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.

2 participants