Files
Alvand-P/config/utils.yml
2026-08-13 19:42:08 +03:30

179 lines
7.0 KiB
YAML

images:
applogic: rubykube/applogic:latest
arke: custom/arke:3 #quay.io/openware/arke:2.6.0-bccb72c
superset: amancevice/superset:0.28.1
superset:
email: yaser@fibitex.com
username: yaser
password: changeme
arke:
log_level: WARN # Level of Arke log info
accounts:
#---------------------------{source}-----------------------------------
- id: bitfinex_source # Unique account id of the source
driver: bitfinex # One of supported sources drivers
delay: 1 # Delay of balance information update
key: "" # API key from source (not required for copy strategy)
secret: "" # Secret from API key from source (not required for copy strategy)
#---------------------------{source}-----------------------------------
- id: binance_source # Unique account id of the source
driver: binance # One of supported sources drivers
delay: 1 # Delay of balance information update
key: "" # API key from source (not required for copy strategy)
secret: "" # Secret from API key from source (not required for copy strategy)
#---------------------------{target}-----------------------------------
- id: opendax_target # Unique account id of the target
driver: opendax # Only supported target driver
key: "b1068c9c54fa2035" # API key from the target, required
secret: "6048b9c7668ea7ea0107a62265674540" # Secret from API key from the target, required
host: "https://www.tibitex.com" # Your target URL
ws: "wss://www.tibitex.com" # Your target WebSocet URL
debug: false
verify_ssl: false
finex: false
strategies:
#---------------------------{strategy}-----------------------------------
- id: copy-BTCUSD # Name of a strategy
type: copy # Type of the strategy
debug: true # True to see extra Arke logs
enabled: true # True to run this strategy after Arke (re)startgit
period: 90 # Period of order book refresh
params:
spread_bids: 0.0015 # Percentage difference from the best price on buy side
spread_asks: 0.0015 # Percentage difference from the best price on sell side
limit_asks_base: 0.08 # The amount of base currency that will be placed for sale in the order book, if have enough balance
limit_bids_base: 0.08 # The amount of base currency that will be placed for buy in the order book, if have enough balance in quote currency equivalent
max_amount_per_order: 0.014 # Limit amount of base currency per order (the small amount are, the bigger number of orders at the same price will be created)
levels_size: 1 # Minimum price difference between price points
levels_count: 10 # Maximum amount of price points that may be created
side: both # Side, ask, bid or both to apply the strategy on
target:
account_id: opendax_target # Unique account id, from the account section, that will be used as a target (your exchange)
market_id: btctestusdt # Market pair code in lowercase, from your target exchange
sources:
- account_id: binance_source # Unique account id, from the account section, that will be used as a source
market_id: BTCUSDT # Market pair code in uppercase, from you source exchange
#---------------------------{Microtrades-Market strategy}-----------------------------------
- id: microtrades-BTCUSD # Name of a strategy
type: microtrades-market # Type of the strategy
debug: true # True to see extra Arke logs
enabled: true # True to run this strategy after Arke (re)startgit
period: 10 # Period between micro trades
period_random_delay: 13 # Random delay applied to a period
params:
linked_strategy_id: copy-BTCUSD # Strategy that microtrade links to, to calculate order price
min_amount: 0.000001 # Minimum amount of order
max_amount: 0.00009 # Maximum amount of order
target:
account_id: opendax_target # Unique account id, from the account section, that will be used as a target (your exchange)
market_id: btctestusdt # Market pair code in lowercase, from your target exchange
# log_level: INFO
# accounts:
# - id: 1
# driver: bitfaker
# debug: false
# host: "http://www.app.local"
# ws: "ws://www.app.local"
# key: ""
# secret: ""
# delay: 1
# - id: 2
# driver: bitfaker
# host: "api.binance.com"
# key:
# secret:
# delay: 1
# strategies:
# - id: 1
# type: copy
# debug: true
# enabled: true
# period: 10
# params:
# spread_bids: 0.003
# spread_asks: 0.003
# limit_asks_base: 0.05
# limit_bids_base: 0.05
# levels_size: 0.25
# levels_count: 10
# side: both
# enable_orderback: false
# target:
# account_id: 1
# market:
# id: BTCUSD
# base: btc
# quote: usd
# base_precision: 2
# quote_precision: 2
# min_ask_amount: 1.5
# min_bid_amount: 1.5
# sources:
# - account_id: 2
# market:
# id: BTCUSD
# base: BTC
# quote: USD
# base_precision: 8
# quote_precision: 8
# min_order_back_amount: 1.5
# - id: 2
# type: microtrades
# debug: true
# period: 5
# period_random_delay: 10
# params:
# linked_strategy_id: 1
# min_amount: 0.05
# max_amount: 10
# min_price: 100
# max_price: 1000
# target:
# account_id: 1
# market:
# id: BTCUSD
# base: btc
# quote: usd
# base_precision: 2
# quote_precision: 2
# min_ask_amount: 1.5
# min_bid_amount: 1.5
# strategy:
# type: copy
# volume_ratio: 0.1
# target:
# driver: rubykube
# market: 'FTHUSD'
# host: "http://www.app.local"
# key: ""
# secret: ""
# rate_limit: 1
# sources:
# - driver: bitfaker
# market: 'tETHUSD'
# host: "api.bitfinex.com"
# key: ""
# secret: ""
# rate_limit: 0.2
# - driver: bitfinex
# market: 'tETHUSD'
# host: "api.bitfinex.com"
# key: ""
# secret: ""
# rate_limit: 0.2
# - driver: binance
# market: 'ETHUSDT'
# host: "api.binance.com"
# key: ""
# secret: ""
# rate_limit: 0.2