├── .env.example ├── .gitattributes ├── .gitignore ├── LICENSE ├── README.md ├── main.py ├── parameters.yaml.example ├── requirements.txt └── src ├── exchanges ├── binance │ ├── endpoints.py │ ├── get │ │ └── client.py │ └── websockets │ │ ├── handlers │ │ ├── orderbook.py │ │ └── trades.py │ │ └── public.py ├── bybit │ ├── endpoints.py │ ├── get │ │ ├── private.py │ │ └── public.py │ ├── post │ │ ├── client.py │ │ ├── order.py │ │ └── types.py │ └── websockets │ │ ├── handlers │ │ ├── execution.py │ │ ├── kline.py │ │ ├── order.py │ │ ├── orderbook.py │ │ ├── position.py │ │ ├── ticker.py │ │ └── trades.py │ │ ├── private.py │ │ └── public.py └── common │ └── localorderbook.py ├── indicators ├── bbw.py └── ema.py ├── sharedstate.py ├── strategy ├── core.py ├── features │ ├── bba_imbalance.py │ ├── generate.py │ ├── mark_spread.py │ ├── ob_imbalance.py │ └── trades_imbalance.py ├── inventory.py ├── marketmaker.py ├── oms.py └── ws_feeds │ ├── binancemarketdata.py │ ├── bybitmarketdata.py │ └── bybitprivatedata.py └── utils ├── jit_funcs.py ├── misc.py └── rounding.py /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/.env.example -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/.gitattributes -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/.gitignore -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/README.md -------------------------------------------------------------------------------- /main.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/main.py -------------------------------------------------------------------------------- /parameters.yaml.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/parameters.yaml.example -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/requirements.txt -------------------------------------------------------------------------------- /src/exchanges/binance/endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/exchanges/binance/endpoints.py -------------------------------------------------------------------------------- /src/exchanges/binance/get/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/exchanges/binance/get/client.py -------------------------------------------------------------------------------- /src/exchanges/binance/websockets/handlers/orderbook.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/exchanges/binance/websockets/handlers/orderbook.py -------------------------------------------------------------------------------- /src/exchanges/binance/websockets/handlers/trades.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/exchanges/binance/websockets/handlers/trades.py -------------------------------------------------------------------------------- /src/exchanges/binance/websockets/public.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/exchanges/binance/websockets/public.py -------------------------------------------------------------------------------- /src/exchanges/bybit/endpoints.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/exchanges/bybit/endpoints.py -------------------------------------------------------------------------------- /src/exchanges/bybit/get/private.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/exchanges/bybit/get/private.py -------------------------------------------------------------------------------- /src/exchanges/bybit/get/public.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/exchanges/bybit/get/public.py -------------------------------------------------------------------------------- /src/exchanges/bybit/post/client.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/exchanges/bybit/post/client.py -------------------------------------------------------------------------------- /src/exchanges/bybit/post/order.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/exchanges/bybit/post/order.py -------------------------------------------------------------------------------- /src/exchanges/bybit/post/types.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/exchanges/bybit/post/types.py -------------------------------------------------------------------------------- /src/exchanges/bybit/websockets/handlers/execution.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/exchanges/bybit/websockets/handlers/execution.py -------------------------------------------------------------------------------- /src/exchanges/bybit/websockets/handlers/kline.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/exchanges/bybit/websockets/handlers/kline.py -------------------------------------------------------------------------------- /src/exchanges/bybit/websockets/handlers/order.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/exchanges/bybit/websockets/handlers/order.py -------------------------------------------------------------------------------- /src/exchanges/bybit/websockets/handlers/orderbook.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/exchanges/bybit/websockets/handlers/orderbook.py -------------------------------------------------------------------------------- /src/exchanges/bybit/websockets/handlers/position.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/exchanges/bybit/websockets/handlers/position.py -------------------------------------------------------------------------------- /src/exchanges/bybit/websockets/handlers/ticker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/exchanges/bybit/websockets/handlers/ticker.py -------------------------------------------------------------------------------- /src/exchanges/bybit/websockets/handlers/trades.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/exchanges/bybit/websockets/handlers/trades.py -------------------------------------------------------------------------------- /src/exchanges/bybit/websockets/private.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/exchanges/bybit/websockets/private.py -------------------------------------------------------------------------------- /src/exchanges/bybit/websockets/public.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/exchanges/bybit/websockets/public.py -------------------------------------------------------------------------------- /src/exchanges/common/localorderbook.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/exchanges/common/localorderbook.py -------------------------------------------------------------------------------- /src/indicators/bbw.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/indicators/bbw.py -------------------------------------------------------------------------------- /src/indicators/ema.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/indicators/ema.py -------------------------------------------------------------------------------- /src/sharedstate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/sharedstate.py -------------------------------------------------------------------------------- /src/strategy/core.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/strategy/core.py -------------------------------------------------------------------------------- /src/strategy/features/bba_imbalance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/strategy/features/bba_imbalance.py -------------------------------------------------------------------------------- /src/strategy/features/generate.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/strategy/features/generate.py -------------------------------------------------------------------------------- /src/strategy/features/mark_spread.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/strategy/features/mark_spread.py -------------------------------------------------------------------------------- /src/strategy/features/ob_imbalance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/strategy/features/ob_imbalance.py -------------------------------------------------------------------------------- /src/strategy/features/trades_imbalance.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/strategy/features/trades_imbalance.py -------------------------------------------------------------------------------- /src/strategy/inventory.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/strategy/inventory.py -------------------------------------------------------------------------------- /src/strategy/marketmaker.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/strategy/marketmaker.py -------------------------------------------------------------------------------- /src/strategy/oms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/strategy/oms.py -------------------------------------------------------------------------------- /src/strategy/ws_feeds/binancemarketdata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/strategy/ws_feeds/binancemarketdata.py -------------------------------------------------------------------------------- /src/strategy/ws_feeds/bybitmarketdata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/strategy/ws_feeds/bybitmarketdata.py -------------------------------------------------------------------------------- /src/strategy/ws_feeds/bybitprivatedata.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/strategy/ws_feeds/bybitprivatedata.py -------------------------------------------------------------------------------- /src/utils/jit_funcs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/utils/jit_funcs.py -------------------------------------------------------------------------------- /src/utils/misc.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/utils/misc.py -------------------------------------------------------------------------------- /src/utils/rounding.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/beatzxbt/smm/HEAD/src/utils/rounding.py --------------------------------------------------------------------------------