Skip to content

Adding protection when accessing order_id#7

Open
saaib wants to merge 4 commits into
alpacahq:masterfrom
saaib:master
Open

Adding protection when accessing order_id#7
saaib wants to merge 4 commits into
alpacahq:masterfrom
saaib:master

Conversation

@saaib

@saaib saaib commented Jul 3, 2019

Copy link
Copy Markdown

An order id reported back on on_trade_update is currently being sent to all websocket clients connecting from the same IP / credentials.

This enhancement will prevent exception generated by attempting to access a non existent key.

@umitanuki

Copy link
Copy Markdown
Contributor

Make sense. The latest scalping example (https://github.com/alpacahq/example-scalping) has better coding.

@sonarqubecloud

Copy link
Copy Markdown

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
No Duplication information No Duplication information

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants