Tony G
Tony G
``` noble-uwp bluetooth radio is off +7m noble stateChange poweredOff +7m noble-uwp stopScanning() +6ms noble-uwp keepAlive(false) => 0 +1ms noble-uwp bluetooth radio is off +112ms noble-uwp bluetooth radio is on...
The noble lib allows you to provide two parameters to startScanning() (an array of service uuids, and a boolean for allow duplicates). This binding does not discover anything when an...
workaround is to add a setTimeout delay like this in your JS code: ``` noble.on('stateChange', (state) => { console.log('BLE stateChange:', state); if (state === 'poweredOn') { setTimeout(() => { //start...
This function simply requests all services from windows, and then filters the list, instead of requesting specific services from windows. For some devices with many services, this is slower than...
/serverless-plugin-include-dependencies/get-dependency-list.js:82:66 `const pathToModule = resolve.sync(path.join(moduleName, 'package.json'), { basedir });` throws an error that is uncaught, because moduleName is null: ``` TypeError [ERR_INVALID_ARG_TYPE]: The "path" argument must be of type string....
Your userscript no longer works.
The Util "extract_order_id" is failing for me. It is looking for `place_order_response.is_error` which does not seem to exist on the responses I am getting from Schwab. I worked around via:...
strategy executor does "self.broker.sleep = self.safe_sleep" safe_sleep does not sleep. in the broker you can work around by: ``` def _await_market_to_close(self, timedelta=None, strategy=None): self.sleep = self._sleep #run the super class...
Fixes for schwab refresh tokens, schwab env var usage, etc
``` from lumibot.traders import Trader from lumibot.brokers import Schwab from config import SCHWAB_CONFIG # importing the strategy class from strategies.website import Website trader = Trader() broker2 = Schwab(SCHWAB_CONFIG) strategy =...