mirror of
https://github.com/manifoldbt/manifoldbt.git
synced 2026-08-24 14:38:04 +00:00
docs: add Discord link and make Quick Start runnable (#1)
Add the community Discord to the header links, and switch the Quick Start from mbt.DataStore(data_root="data") (which assumes pre-ingested data) to mbt.ingest(provider="binance", ...) so it runs as-is. Verified on 0.8.0.
This commit is contained in:
@@ -6,7 +6,8 @@
|
||||
<p align="center">
|
||||
<a href="https://www.manifoldbt.com">Website</a> ·
|
||||
<a href="https://www.manifoldbt.com/docs/documentation.html">Documentation</a> ·
|
||||
<a href="examples/">Examples</a>
|
||||
<a href="examples/">Examples</a> ·
|
||||
<a href="https://discord.gg/bvU6Wjc72d">Discord</a>
|
||||
</p>
|
||||
|
||||
---
|
||||
@@ -65,7 +66,8 @@ config = mbt.BacktestConfig(
|
||||
warmup_bars=30,
|
||||
)
|
||||
|
||||
store = mbt.DataStore(data_root="data", metadata_db="metadata/metadata.sqlite")
|
||||
store = mbt.ingest(provider="binance", symbol="BTCUSDT", symbol_id=1,
|
||||
start="2022-01-01T00:00:00Z", end="2025-01-01T00:00:00Z", interval="1h")
|
||||
result = mbt.run(strategy, config, store)
|
||||
print(result.summary())
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user