Skip to content

ztrade/train

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A simple trade train tool

build

go build

add config.yaml

#proxy: socks5://127.0.0.1:1080

exchanges:
  binance:
    type: binance
    kind: futures
    key: YOUR_API_KEY
    secret: YOUR_SECRET_KEY
    timeout: 1m
# Symbol to train
Symbol: BTCUSDT
# Total Balance
Balance: 100000
# Percent to buy/Sell
OncePercent: 0.1
# History klines
History: 100
# Start time
Start: "2020-01-01 00:00:00"
# Kline chat rows
Rows:
  -
    - Dur: 5m
      History: 200
    - Dur: 15m
      History: 200
  -
    - Dur: 1h
      History: 200
    - Dur: 4h
      History: 200
#    - Dur: 24h
#      History: 100

run

./train

About

A simple trade train tool

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages