QuantConnect / Lean.Brokerages.Samco

Samco Brokerage Plugin
Apache License 2.0
1 stars 6 forks source link

Allow algorithm deployment when Samco API downtime #11

Open rjra2611 opened 2 years ago

rjra2611 commented 2 years ago

Expected Behavior

Algorithm should re-try the websocket connection when Samco API is available again.

Actual Behavior

Potential Solution

Sleep in the known downtime between 12:30 AM - 5:00 AM and try to connect again after that.

Reproducing the Problem

Deploy after 12:30 AM when Samco stops accepting websocket requests

System Information

Windows 10

Checklist

Amol-Gupta commented 1 year ago

Hi Where this fix could be implemented? I would like to take it up.