Could you help with these queries:
a) when installing docker for windows, do I allow windows containers to be used with this installation?
b) Also, I assume steps 3 - 5 are done in command prompt?
3. Open command prompt, go to directory that you want for StocksCafe, run “git clone https://github.com/StocksCafe/longbridge”
4. Go into “longbridge” directory (i.e. where code is cloned) and run “chmod +x autosync.sh”
5. Then run “./autosync.sh”
c) when you say “Open command prompt, go to directory”
Do you mean typing the directory I want in cmd prompt?
e.g. C:\Users\Username\Desktop\New Folder\
and run “git clone https://github.com/StocksCafe/longbridge”
What I have done so far for step
3) I download the zip file and extract into the desired directory
4) I can’t find this in the directory and cannot run it in cmd prompt
“chmod +x autosync.sh”
5) I can see autosync.sh and can run it after I figure out step 4
Edit: 4) I realised chmod is a linux/uniX command which is not available in windows…
I checked to enable execute permissions for “autosync.sh” 5) I ran “autosync.sh” in cmd prompt
Evan, the instructions doesn’t seem to apply to windows. Could you advise how I can clone the code from github to docker desktop?
Hi Evan ,
I installed ubuntu in cmd prompt, created account. Install WSL | Microsoft Learn
navigated to my desired directory where I had extracted the code into. I then ran step 4 and encounter this error msg:chmod: changing permissions of ‘autosync.sh’: Operation not permitted Reran step 4 with “sudo autosync.sh”,
Ran step 5 with sudo cmd, completed the installation into docker desktop…
completed steps 6-8…
and encountered this error on step 8:
Error: Cash DryRun Failed: Did not expect transaction_flow_name: { “transaction_flow_name”: “Fees For Buy Trade”, “direction”: “Out”, “business_type”: “Unknown”, “balance”: -2.46, “currency”: “SGD”, “business_time”: “2025-03-25T10:38:28Z”, “symbol”: “CFA.SG”, “description”: “CFA” }
I encountered the same error:
Error: Cash DryRun Failed: Did not expect transaction_flow_name: { “transaction_flow_name”: “Cash Plus Subscription”, “direction”: “Out”, “business_type”: “Unknown”, “balance”: -1915.82, “currency”: “SGD”, “business_time”: “2025-03-28T10:16:52Z”, “symbol”: “null”, “description”: “Fullerton SGD Cash A” }
Do I need to redownload the code from Github? (I assumed you changed the code on server side since there’s no change in last updated date for the code in github)
This is a different issue. This is saying that you put some money into “Fullerton SGD Cash” fund. I am thinking how we should handle this as StocksCafe does not support Money Funds. But if I just ignore this, your cash balance will seems off.
Hi Evan,
I currently treat money market fund as cash in stockscafe and periodically add the the interest earned via add cash transactions to tally the money market fund with cash in stockscafe.