Skip to content

Instantly share code, notes, and snippets.

View codeninja's full-sized avatar
😃
What kind of trouble can I get into today...

Dallas Pool codeninja

😃
What kind of trouble can I get into today...
View GitHub Profile
@codeninja
codeninja / openOrderMonitor.js
Last active May 23, 2023 05:57
Node JS Script to check Binance for open orders and notify when they are filled.
//this script will monitor for all pairs and find any open orders for that pair.
// I've done my best to account for throttling and make the script robust.
// save locally, add your api key, and run with "node <script name>" in console.
// You'll get alerted (in console) when an order fills.
// if you'd like to send a donation my way:
// BTC: 1JD595vphvXmWEwpjiUmfw3QzsBtE9jUP7
// LTC: LcaHE2dqrH73xLtoKXwDZEUtDiY42iAvk4
// ETH: 0x110191093ffab1f0d3d6012cc0de15f42257b7f6
// BNB: 0x110191093ffab1f0d3d6012cc0de15f42257b7f6
// [email protected] for questions... I'll do my best to support the script if you find any bugs.
# from autogen.agentchat.contrib.teachable_agent import TeachableAgent
# from autogen.agentchat.user_proxy_agent import UserProxyAgent
# from autogen.agentchat.conversable_agent import ConversableAgent
import os
import re
import json
import autogen
import autogen.retrieve_utils as retrieve_utils
import chromadb
import feedparser
@codeninja
codeninja / Agent.py
Created July 4, 2025 15:20
A Google ADK Agentic team to update mongoose from version 6 to version 8.
from google.adk.agents import Agent
from google.adk.events import Event
from google.adk.agents.invocation_context import InvocationContext
from google.genai.types import Content, Part
from google.adk.tools.mcp_tool.mcp_toolset import MCPToolset
from google.adk.tools.mcp_tool import StdioConnectionParams, StreamableHTTPConnectionParams, SseConnectionParams
from google.adk.tools.agent_tool import AgentTool
from pydantic import BaseModel, Field
from mcp import StdioServerParameters