mirror of
https://github.com/c9s/bbgo.git
synced 2024-11-23 07:15:15 +00:00
36 lines
728 B
YAML
36 lines
728 B
YAML
---
|
|
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
|
|
|