mirror of
https://github.com/0xrsydn/idx-cli.git
synced 2026-11-07 09:45:36 +00:00
feat: Stockbit login for the order book, live quotes and daily history
Opt-in, with the user's own Stockbit session from a pasted credentialStorage cookie (or IDX_STOCKBIT_REFRESH_TOKEN): - idx stockbit login/status/logout; session file 0600, tokens never shown - rotating refresh under a cross-process lock; one refresh+retry on 401 - stocks orderbook: depth with lots and orders, OHLC, value, foreign flow - --provider stockbit quotes from the session API when logged in - --history-provider stockbit, and auto under the stockbit provider for 5d-1y daily windows - MCP get_orderbook and stockbit_status (17 tools) Endpoints, units and recorded responses from fzn0x/idx (MIT).
This commit is contained in:
parent
570439369e
commit
b5ae9b98de
61 changed files with 2882 additions and 129 deletions
|
|
@ -288,7 +288,7 @@
|
|||
echo '{"jsonrpc":"2.0","id":2,"method":"tools/list"}'
|
||||
sleep 2
|
||||
} | timeout 30 ${mcpPackage}/bin/idx-mcp > out.jsonl
|
||||
jq -se 'map(select(.id == 2))[0].result.tools | length == 15' out.jsonl
|
||||
jq -se 'map(select(.id == 2))[0].result.tools | length == 17' out.jsonl
|
||||
touch "$out"
|
||||
'';
|
||||
# The website's generated pages match the CLI help and the MCP
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue