Repository navigation
Conversation
The same switches as run-windows.ps1, plus background on and off (a launch agent under caffeinate). It takes the first Python that is 3.10 or newer, because three tests fail on Apple's 3.9, and points Python at macOS's certificate list, because a python.org Python has none and every call then fails. Written on the MacBook Pro on 23 Nov 2026, when the PC the sender ran on was down. 424 tests pass there. No cycle with a key has run on a Mac yet.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds
apps/tradebot/indodax/run-mac.shand a README section, 'On a Mac'.Why: the Windows PC the sender runs on went down on 22 Nov 2026 (its last report to TradeBot was 16:50:52 WIB, 0 open positions), and Juwen asked for the sender on the MacBook Pro.
run-windows.ps1(show, once, check, clear, test), plusbackground on | off: a launch agent that keeps the sender running undercaffeinate -i.SSL_CERT_FILEis set: a python.org Python has none, and every call failed with CERTIFICATE_VERIFY_FAILED.Checked on an Intel MacBook Pro: 424 tests pass with Python 3.14; TradeBot's server, indodax.com and api.indodax.com answer; without a sender key the launcher says the sender is off and starts nothing. Not checked: a cycle with a key, the key check, a real order, and the launch agent with a sender running.