|
|
2 years ago | |
|---|---|---|
| exchanges | 2 years ago | |
| global | 2 years ago | |
| src | 2 years ago | |
| standard | 2 years ago | |
| strategy | 2 years ago | |
| tests | 2 years ago | |
| .gitignore | 2 years ago | |
| Cargo.toml | 2 years ago | |
| README.md | 2 years ago | |
| config.toml.sample | 2 years ago |
|
├─ main // 系统入口
│
├─ exchanges // 交易所层(网络层)
│
├─ strategy // 策略层(主逻辑、风控等)
│
├─ standard // 标准化层(中间件)
│
└─ global // 一些全局变量或配置
sudo su
sudo apt update -y
sudo apt-get install build-essential -y
sudo apt-get install libssl-dev -y
sudo apt-get install pkg-config -y
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env
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