-
Notifications
You must be signed in to change notification settings - Fork 18
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is this still up to date? #3
Comments
Oh sorry, yes I haven't looked at this code in a long time |
No problem haha. I just made some changes that i found in the pull requests. Let's see if it works now. |
I seem to still get an error:error Command failed with exit code 1. at https://api.manifold.markets/v0/market/I9MKafdaZoi5mSMsCDmO reason: Unexpected token '<', "<!doctype "... is not valid JSON So seems there are now these markets that have the type: "doc". It's like just a question you can answer on. I will have to make the script skip these. |
ok i give up, tried lot of things. |
Dear,
i tried out this software, i'm not a programmer but trader. I got some issues at multiple occasions trying to run this software. I'm wondering if this is still up to date or doesn't work anymore? It would have been a great tool otherwise...
FetchError: invalid json response body at https://manifold.markets/api/v0/markets?limit=1000&before=KxesWYLx2QAKmkQhQh1b reason: Unexpected token 'u', "upstream c"... is not valid JSON
at C:\Users\niel\market-maker\node_modules\node-fetch\lib\index.js:272:32
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at async getMarkets (C:\Users\niel\market-maker\src\api.ts:17:33)
at async getAllMarkets (C:\Users\niel\market-maker\src\api.ts:31:35)
at async betOnTopMarkets (C:\Users\niel\market-maker\src\market-maker.ts:43:19)
at async main (C:\Users\niel\market-maker\src\market-maker.ts:38:5) {
type: 'invalid-json'
}
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
TypeError: Cannot read properties of undefined (reading 'filter')
at C:\Users\niel\market-maker\src\market-maker.ts:59:42
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at async Promise.all (index 3)
at async batchedWaitAll (C:\Users\niel\market-maker\src\api.ts:118:19)
at async betOnTopMarkets (C:\Users\niel\market-maker\src\market-maker.ts:56:3)
at async main (C:\Users\niel\market-maker\src\market-maker.ts:38:5)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
The text was updated successfully, but these errors were encountered: