전체 글 179

[Algorithms]TWAP, VWAP

TWAP : 시간 분할 매수 주문 The shares are equally divided across time. WAP 주문은 주문한 수량을 장중 시간별로 나누어 체결시키는 알고리즘 매매 방법 과거 거래시간을 분석하여 현지 브로커 기준으로 장중 분할 체결함 시간분할 주문이라고 부름 장중 시장 평균 가격을 추구할 수 있는 가격 전략 그러나 시장 평균 가격을 보장하지는 않음 VWAP : 수량 분할 매수 주문 The Shares are traded at a price which closely tracks the VWAP. VWAP 주문은 주문한 수량을 장중에 나누어 체결시키는 알고리즘 매매 방법 과거 거래향을 분석, 현지 브로커 기준으로 거래량이 많을 때 많이, 적을 때 적게 배분하여 분할 체결. 수량 분할 ..

[ppo]Proximal policy optimization algorithms

2022.01.18 - [ReinforcementLearning] - TRPO와 PRO 구현 - 연속행동으로 에이전트를 제어하기 위해 폴리시 그래디언트 알고리즘을 로보스쿨이라는 환경이 적용 - 쉬운 구현과 상징성의 이유로 아직까지 제일 유명한 알고리즘. - first-order optimization 만을 이용해 구현이 매우 쉬우며, TRPO만큼의 성능을 지니면서 data effciency 문제와 TRPO의 복잡하고,noise를 포함한 구조의 문제점들을 해결하였다. PPO의 주요 장점은 무엇인가? PPO는 TRPO와 유사하지만 1차 최적화 메서드만 사용해 목적함수를 최적화 한다. PPO는 목표함수가 너무 커지면 목적함수를 정리 Clipping해 폴리시가 너무 큰 스텝을 취하지 않게 한다. PPO가 좋은 ..

[k8s]구축하기

1. dockerfile 만들기 2. build 하기 3. harbor에 upload하기 Docker Push Command (참고 : https://docs.vmware.com/kr/VMware-vSphere/7.0/vmware-vsphere-with-tanzu/GUID-EC76B511-8DEB-4595-9DFA-3E9567C98ECA.html ) 1. Tag an image for this project: docker images 로 확인하기 docker image Sphere Docker Credential Helper를 통해 Harbor 레지스트리에 로그인. docker-credential-vsphere login --user username@domain.com​ 2. Harbor 레지스트리의 프..

Infra 2022.02.21

[git]error: failed to push some refs to 'ssh:///.git' git push -u origin mainerror: src refspec main does not match any

Connection refused fatal: Could not read from remote repository. git push -u origin main error: src refspec main does not match any ㅠㅠ 왜 잘되던게 새로운 플젝에 적용이 안되지...했는데 아래 3가지 해보니 됐당... 아마 브런치가 꼬였던거 같지만 새로 플젝 연결할때 sshgen 연결은 다시 해줘야하니 참고 할 것 1. sshgen 연결해주기 https://sidorl.tistory.com/52 2. 다시 init 해보기 2022.01.25 - [MLops] - [GitLab] gitLab에 프로젝트 올리기 3. 브랜치를 새로 파서 사용하기 git checkout -b 'newbranch' git p..

Infra 2022.02.18

[k8s error]System has not been booted with systemd as init system (PID 1). Can't operate.Failed to connect to bus: Host is down

System has not been booted with systemd as init system (PID 1). Can't operate. Failed to connect to bus: Host is down 이 에러가 안 고쳐져서 너무 답답ㅠㅠ 아래의 첫번째 방법이면 대부분 해결 되는듯 하다 그러나 난 안됨 ㅠㅠ https://stackoverflow.com/questions/59466250/docker-system-has-not-been-booted-with-systemd-as-init-system Docker System has not been booted with systemd as init system I have an Ubuntu 18.04 image runing on my docker co..

Infra/MLops 2022.02.16
반응형