(feat) merge branches

This commit is contained in:
cardosofede
2023-06-09 16:17:13 +01:00
3 changed files with 18 additions and 3 deletions

View File

@@ -34,6 +34,14 @@ These files are located in the `/data` folder in Hummingbot, and are named `<str
Easily compare various DeFi protocols based on their market capitalization and total value locked, using DeFiLlama data.
### 🗂 Candles Downloader
Download historical exchange data as OHLVC candles. Supports multiple trading pairs and custom time ranges/intervals.
Current Hummingbot connectors supported:
* `binance`
* `binance_perpetual`
### 📋 Data
Reference data for the various apps this collection.
@@ -71,6 +79,13 @@ ln -s /path/to/hummingbot/data data
For more info about Streamlit installation, see the instructions located at https://docs.streamlit.io/library/get-started/installation.
## Updates
To update the `dashboard` environment for new dependencies, run:
```
conda env update -f environment_conda.yml
```
## Contributions
We welcome new data apps, bug fixes, and improvements by the community!

View File

@@ -2,7 +2,7 @@ version: "3.9"
services:
bot:
container_name: data_downloader
image: dardonacci/hummingbot:dev
image: dardonacci/hummingbot:development
volumes:
- "../../data/candles:/home/hummingbot/data"
- "../conf:/home/hummingbot/conf"

View File

@@ -19,7 +19,6 @@ st.write("---")
c1, c2, c3 = st.columns([2, 2, 0.5])
with c1:
exchange = st.selectbox("Exchange", ["binance_perpetual", "binance"], index=0)
# TODO: Add more trading pairs querying the exchange API
trading_pairs = st.text_input("Trading Pairs (separated with commas)", value="BTC-USDT,ETH-USDT")
with c2:
intervals = st.multiselect("Intervals", options=["1m", "3m", "5m", "15m", "1h", "4h", "1d"], default=["1m", "3m", "1h"])
@@ -28,7 +27,6 @@ with c3:
get_data_button = st.button("Download Candles!")
clean_container_folder_button = st.button("Clean Candles Folder")
if clean_container_folder_button:
st.warning("Cleaning Candles Data folder...", icon="⚠️")
st.write("---")
@@ -45,6 +43,8 @@ if get_data_button:
}
time.sleep(0.5)
docker_manager.create_download_candles_container(candles_container_config)
st.info("Downloading candles with a Docker container in the background. "
"When this process is ready you will see the candles inside data/candles", icon="🕓")
st.write("---")
st.write("---")