|
├─ main // 系统入口
│
├─ exchanges // 交易所层(网络层)
│
├─ strategy // 策略层(主逻辑、风控等)
│
├─ standard // 标准化层(中间件)
│
└─ global // 一些全局变量或配置
sudo su
sudo apt update
sudo apt-get install build-essential libssl-dev pkg-config
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
rustc --version
cd /
mkdir app
cd app
git config --global credential.helper store
git clone http://git.skyfffire.com/skyfffire/as-rust.git
cd as-rust/
cp config.toml.sample config.toml
nano config.toml
使用nano文本编辑器时,ctl+s保存,ctl+x退出编辑
cargo run
git pull origin master