bbgo/config/max-margin.yaml

36 lines
728 B
YAML
Raw Permalink Normal View History

---
sessions:
max_margin:
exchange: max
margin: true
sync:
# userDataStream is used to sync the trading data in real-time
# it uses the websocket connection to insert the trades
userDataStream:
trades: false
filledOrders: false
# since is the start date of your trading data
since: 2019-11-01
# sessions is the list of session names you want to sync
# by default, BBGO sync all your available sessions.
sessions:
- max_margin
# symbols is the list of symbols you want to sync
# by default, BBGO try to guess your symbols by your existing account balances.
symbols:
- BTCUSDT
- ETHUSDT
exchangeStrategies:
- on: max_margin
pricealert:
symbol: LINKUSDT
interval: 1m