web3-ai-trading-agent
Build an Autonomous Web3 AI Trading Agent (BASE + Uniswap V4 example)
파일 탐색기
- teacher_lora_config.yaml
- .gitkeep
- eth_usdc_swap_events.csv
- .gitkeep
- .gitkeep
- __init__.py
- generation.py
- models.py
- training.py
- visualization.py
- .gitkeep
- rl_lora_config.yaml
- .gitkeep
- canary_wrapper.py
- create_distillation_dataset.py
- prepare_rl_data_for_mlx.py
- trading.py
- train_dqn.py
- .gitkeep
- distill_data_from_teacher.py
- generate_synthetic_data.py
- prepare_teacher_data_for_mlx.py
- process_raw_data.py
- validate_synthetic_gan_data.py
- collect_raw_data.py
- eth_to_usdc_swap.py
- fetch_pool_data.py
- fetch_pool_stats.py
- fetch_pool_stats_from_fork.py
- foundry_usdc_to_eth_swap.py
- pool_manager.abi
- position_manager.abi
- uniswap_v4_stateful_trading_agent.py
- uniswap_v4_stateless_trading_agent.py
- uniswap_v4_swapper.py
- usdc_to_eth_swap.py
- AGENTS.md
- config.py
- LICENSE
- README.md
- requirements.txt
# CDN으로 사용하기
jsDelivrjsDelivr는 공개 GitHub 리포지토리를 별도 설정 없이 CDN으로 즉시 서빙합니다. 버전과 파일을 고르면 웹페이지에 바로 붙일 수 있는 링크와 예시 코드가 만들어집니다.
명령어 용어집
이 문서에서 사용된 명령어를 모아봤습니다. 낯선 명령어가 있다면 펼쳐서 확인해보세요.
Choose
설명 보기 ▼
Choose
cut 및 (때떄로) awk에 대한 사람 친화적이고 빠른 대안.
더 많은 정보: <https://github.com/theryangeary/choose#usage>.
choose {{4}}
한 줄에서 5번째 항목을 출력 (0부터 시작):
choose {{[-f|--field-separator]}} '{{:}}' {{0}} {{2}} {{4}}
공백 대신 ':'으로 항목을 구분하는 줄의 첫 번째, 세 번째, 다섯 번째 항목을 출력:
choose {{1}}:{{4}}
5번째 항목을 포함하여, 줄의 2번째 항목부터 5번째 항목까지 모든 항목을 출력:
git clone
설명 보기 ▼
git clone
Clone an existing repository.
git clone {{remote_repository_location}} {{path/to/directory}}
Clone an existing repository into a new directory (the default directory is the repository name):
git clone --recursive {{remote_repository_location}}
Clone an existing repository and its submodules:
git clone {{[-n|--no-checkout]}} {{remote_repository_location}}
Clone only the `.git` directory of an existing repository:
ollama
설명 보기 ▼
ollama
대규모 언어 모델 실행기.
사용 가능한 모델 목록은 <https://ollama.com/library>를 참조하세요.
더 많은 정보: <https://docs.ollama.com/cli>.
ollama serve
다른 명령을 실행하는 데 필요한 데몬 시작:
ollama run {{model}}
모델을 실행하고 대화:
ollama run {{model}} --think=false "{{prompt}}"
단일 프롬프트로 모델을 실행하며, thinking 기능을 비활성화:
pip install
설명 보기 ▼
pip install
Install Python packages.
pip install {{package1 package2 ...}}
Install one or more packages:
pip install {{package1 package2 ...}} {{[-U|--upgrade]}}
Upgrade all specified packages to the latest version, installing any that are not already present:
pip install {{package}}=={{version}}
Install a specific version of a package:
python
설명 보기 ▼
python
Python 언어 인터프리터.
더 많은 정보: <https://docs.python.org/using/cmdline.html>.
python
REPL(대화형 셸) 시작:
python {{path/to/file.py}}
특정 Python 파일 실행:
python -i {{path/to/file.py}}
특정 Python 파일 실행 후 REPL 시작:
time
설명 보기 ▼
time
명령어 실행 시간을 측정.
참고: `time`은 셸 내장 명령어이거나 독립 실행형 프로그램이거나 둘 다일 수 있습니다.
관련 항목: `times`.
더 많은 정보: <https://manned.org/time>.
time {{command}}
`command`를 실행하고 시간 측정 결과를 `stdout`에 출력:
time
현재 시스템 시간 표시 및 새 시간 입력 요청 (비워두면 변경되지 않음):
time read
매우 간단한 스톱워치 생성 (Bash에서만 작동):
