Directories ¶
Path | Synopsis |
---|---|
app
|
|
services/machina-api/handlers
Package handlers manages the different versions of the API.
|
Package handlers manages the different versions of the API. |
services/machina-api/handlers/debug/checkgrp
Package checkgrp maintains the group of handlers for health checking.
|
Package checkgrp maintains the group of handlers for health checking. |
services/machina-api/handlers/v1
Package v1 contains the full set of handler functions and routes supported by the v1 web api.
|
Package v1 contains the full set of handler functions and routes supported by the v1 web api. |
services/machina-api/handlers/v1/candlegrp
Package candlegrp maintains the group of handlers for candle access.
|
Package candlegrp maintains the group of handlers for candle access. |
services/machina-api/handlers/v1/ordergrp
Package ordergrp maintains the group of handlers for order access.
|
Package ordergrp maintains the group of handlers for order access. |
services/machina-api/handlers/v1/positiongrp
Package positiongrp maintains the group of handlers for position access.
|
Package positiongrp maintains the group of handlers for position access. |
services/machina-api/handlers/v1/symbolgrp
Package symbolgrp maintains the group of handlers for order access.
|
Package symbolgrp maintains the group of handlers for order access. |
services/machina-api/handlers/v1/usergrp
Package usergrp maintains the group of handlers for user access.
|
Package usergrp maintains the group of handlers for user access. |
services/machina-api/sync
Package sync synchronizes candles from between database and binance API For each symbol, it pulls 100 candles per interval and the last candle afterwards
|
Package sync synchronizes candles from between database and binance API For each symbol, it pulls 100 candles per interval and the last candle afterwards |
services/metrics/collector
Package collector is a simple collector for
|
Package collector is a simple collector for |
services/metrics/publisher
Package publisher manages the publishing of metrics.
|
Package publisher manages the publishing of metrics. |
services/metrics/publisher/datadog
Package datadog provides support for publishing metrics to DD.
|
Package datadog provides support for publishing metrics to DD. |
services/metrics/publisher/expvar
Package expvar manages the publishing of metrics to stdout.
|
Package expvar manages the publishing of metrics to stdout. |
strategies/moving-average/handlers
Package handlers manages the different versions of the API.
|
Package handlers manages the different versions of the API. |
strategies/moving-average/handlers/debug/checkgrp
Package checkgrp maintains the group of handlers for health checking.
|
Package checkgrp maintains the group of handlers for health checking. |
tooling/logfmt
This program takes the structured log output and makes it readable.
|
This program takes the structured log output and makes it readable. |
tooling/machina-admin
This program performs administrative tasks for the garage sale service.
|
This program performs administrative tasks for the garage sale service. |
tooling/machina-admin/commands
Package commands contains the functionality for the set of commands currently supported by the CLI tooling.
|
Package commands contains the functionality for the set of commands currently supported by the CLI tooling. |
business
|
|
broker
Package broker manages calls to binance api V3.
|
Package broker manages calls to binance api V3. |
broker/encode
Package encode signs HMAC SHA25 for binance request
|
Package encode signs HMAC SHA25 for binance request |
core/candle
Package candle provides middleware utilities around candles.
|
Package candle provides middleware utilities around candles. |
core/candle/binance
Package binance manages candles using the binance api
|
Package binance manages candles using the binance api |
core/candle/db
Package db contains candle related CRUD functionality.
|
Package db contains candle related CRUD functionality. |
core/order
Package order provides middleware utilities around orders.
|
Package order provides middleware utilities around orders. |
core/order/binance
Package binance manages orders using the binance api
|
Package binance manages orders using the binance api |
core/order/db
Package db contains order related CRUD functionality.
|
Package db contains order related CRUD functionality. |
core/position
Package position provides middleware utilities around positions.
|
Package position provides middleware utilities around positions. |
core/position/db
Package db contains position related CRUD functionality.
|
Package db contains position related CRUD functionality. |
core/symbol
Package symbol provides middleware utilities around symbol.
|
Package symbol provides middleware utilities around symbol. |
core/symbol/binance
Package binance manages symbol using the binance api
|
Package binance manages symbol using the binance api |
core/symbol/db
Package db contains symbol related CRUD functionality.
|
Package db contains symbol related CRUD functionality. |
core/user
Package user provides an example of a core business API.
|
Package user provides an example of a core business API. |
core/user/db
Package db contains user related CRUD functionality.
|
Package db contains user related CRUD functionality. |
data/dbschema
Package dbschema contains the database schema, migrations and seeding data.
|
Package dbschema contains the database schema, migrations and seeding data. |
data/dbtest
Package dbtest contains supporting code for running tests that hit the DB.
|
Package dbtest contains supporting code for running tests that hit the DB. |
strategies
Package strategies contains all strategies supported by machina
|
Package strategies contains all strategies supported by machina |
strategies/api/v1
Package v1 do calls to machina api v1
|
Package v1 do calls to machina api v1 |
strategies/financial
Package financial holds all the logic to operate on assets
|
Package financial holds all the logic to operate on assets |
sys/auth
Package auth provides authentication and authorization support.
|
Package auth provides authentication and authorization support. |
sys/database
Package database provides support for access the database.
|
Package database provides support for access the database. |
sys/metrics
Package metrics cosntructs the metrics the application will track.
|
Package metrics cosntructs the metrics the application will track. |
sys/validate
Package validate contains the support for validating models.
|
Package validate contains the support for validating models. |
web/v1
Package v1 represents types used by the web application for v1.
|
Package v1 represents types used by the web application for v1. |
web/v1/mid
Package mid contains the set of middleware functions.
|
Package mid contains the set of middleware functions. |
foundation
|
|
docker
Package docker provides support for starting and stopping docker containers for running tests.
|
Package docker provides support for starting and stopping docker containers for running tests. |
keystore
Package keystore implements the auth.KeyStore interface.
|
Package keystore implements the auth.KeyStore interface. |
logger
Package logger provides a convience function to constructing a logger for use.
|
Package logger provides a convience function to constructing a logger for use. |
test/cucumber
Package cucumber allows you to use cucumber to execute Gherkin based BDD test scenarios with some helpful API testing step implementations.
|
Package cucumber allows you to use cucumber to execute Gherkin based BDD test scenarios with some helpful API testing step implementations. |
web
Package web contains a small web framework extension.
|
Package web contains a small web framework extension. |
worker
Package worker manages a set of registered jobs that execute on demand.
|
Package worker manages a set of registered jobs that execute on demand. |
Click to show internal directories.
Click to hide internal directories.