Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cadyrov/occam
https://github.com/cadyrov/occam
Last synced: 28 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/cadyrov/occam
- Owner: cadyrov
- Created: 2022-07-27T07:30:07.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-08-03T10:40:34.000Z (over 2 years ago)
- Last Synced: 2024-06-20T19:36:19.732Z (6 months ago)
- Language: Go
- Size: 192 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.MD
Awesome Lists containing this project
README
# Occam.fi test task
## env settings
### default params palced in .config.json
### all available flags passes throught -- flags
### ENV can be set with OCCAM prefix with structure like config json
``` example log level : OCCAM_PROJECT_LOG_LEVEL=debug```### algoritm realized with moving average
## for test origins mocked in service in providers/origin/mock
### import paremeters
```
OCCAM_PROJECT_SHIFT - define parameter shift of moving average
OCCAM_PROJECT_OUTPUT - define main output. by default - std_out
OCCAM_PROJECT_PRECISION_SECOND - time ticker to get result. by default equal 60
```### build
```
make build
```### run
```
make run
```