diff options
author | AlmightyMiau <almightymeow612@gmail.com> | 2024-11-13 10:56:53 -0800 |
---|---|---|
committer | AlmightyMiau <almightymeow612@gmail.com> | 2024-11-13 10:56:53 -0800 |
commit | 40843e35434d56e883655e4377994ac76746b184 (patch) | |
tree | 786c3acc109b4add11c88ca58a534fd19d4e77cb /bitburnerFiles1026/liquidate.js | |
parent | 1ca00b3b73a9699e41f81e154cea32934c16de03 (diff) |
Organized scripts into folders
Diffstat (limited to 'bitburnerFiles1026/liquidate.js')
-rw-r--r-- | bitburnerFiles1026/liquidate.js | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/bitburnerFiles1026/liquidate.js b/bitburnerFiles1026/liquidate.js deleted file mode 100644 index 79f902e..0000000 --- a/bitburnerFiles1026/liquidate.js +++ /dev/null @@ -1,10 +0,0 @@ -/** @param {NS} ns */ -export async function main(ns) { - const syms = ns.stock.getSymbols(); - ns.scriptKill("stocks.js", "home"); - ns.scriptKill("stocker.js", "home"); - for (let i = 0; i < syms.length; i++) { - let shares = ns.stock.getMaxShares(syms[i]); - ns.stock.sellStock(syms[i], shares); - } -}
\ No newline at end of file |