A go service that provides information about instrument prices. Pricing is connected to the mssql database containing instrument prices.
- Go 1.23
- Docker
- MSSql
Swagger endpoint is available at:
# when deployed with k8s
http://SOMEWHERE/pricing-service/swagger/index.html
curl -X GET "http://{IP_ADDRESS}:8083/v1/prices/last" -H "accept: text/plain"
curl -X GET "http://{IP_ADDRESS}:8083/v1/prices/latest" -H "accept: text/plain"
name | type | data type | description |
---|---|---|---|
instrumentId |
required | int | Instrument id |
records |
not required | int | How many records to return. Defaults to 100 |
curl -X GET "http://{IP_ADDRESS}:8083/v1/prices/instrument/1?records=5" -H "accept: text/plain"