Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
github.com/ramasbeinaty/trading-chart-service
To run the app, use the command:
docker-compose up
Note: Below commands have been tested with bash. Might need to format for other terminals.
grpcurl -plaintext localhost:50051 list candlestick.CandlestickService
grpcurl -plaintext localhost:50051 describe candlestick.CandlestickService.SubscribeToCandlesticks
grpcurl -plaintext localhost:50051 describe candlestick.CandlestickService.UnsubscribeFromCandlesticks
For testing, set ENV_ISDEVMODE=true
in docker-compose.yaml
. The subscriber_id
would then be set using a counter, meaning the first subscriber will have the ID 1, the second subscriber will have the id 2, etc.
To subscribe to a single or multiple symbols
grpcurl -plaintext -d '{"symbols": ["BTCUSDT", "ETHUSDT", "PEPEUSDT"]}' localhost:50051 candlestick.CandlestickService.SubscribeToCandlesticks
To unsubscribe from specific symbol(s)
grpcurl -plaintext -d '{"symbols": ["BTCUSDT", "ETHUSDT"], "subscriber_id": 1}' localhost:50051 candlestick.CandlestickService.UnsubscribeFromCandlesticks
To unsubscribe from all symbols
grpcurl -plaintext -d '{"subscriber_id": 1}' localhost:50051 candlestick.CandlestickService.UnsubscribeFromCandlesticks
FAQs
Unknown package
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.