├── .gitignore ├── DEPLOYMENT.md ├── LICENSE ├── Proposed Architecture.md ├── README.md ├── app.py ├── config.py ├── extensions.py ├── master_contract.py ├── models.py ├── prestart.sh ├── production_files ├── openterminal.service ├── openterminal_nginx └── prestart.sh ├── requirements.txt ├── routes ├── __init__.py ├── auth.py ├── books.py ├── dashboard │ ├── __init__.py │ ├── market_data_service.py │ ├── routes.py │ ├── settings_service.py │ ├── utils.py │ └── watchlist_service.py ├── funds.py ├── home.py ├── logs.py ├── orders │ ├── __init__.py │ ├── constants.py │ ├── routes.py │ ├── services │ │ ├── broker_service.py │ │ ├── market_feed.py │ │ └── order_service.py │ ├── utils │ │ ├── formatters.py │ │ └── helpers.py │ └── validators │ │ ├── exchange_rules.py │ │ └── order_validator.py ├── scalper │ ├── __init__.py │ ├── routes.py │ └── services │ │ └── scalper_service.py └── voice │ ├── __init__.py │ ├── routes.py │ ├── services │ ├── __init__.py │ └── voice_service.py │ └── utils │ ├── __init__.py │ └── helpers.py ├── scheduler.py ├── static ├── css │ └── styles.css └── js │ ├── dashboard.js │ ├── modules │ ├── marketDataDecoder.js │ ├── marketDataUpdater.js │ ├── marketIndices.js │ ├── orderEntry │ │ ├── components │ │ │ ├── MarketDepth.js │ │ │ ├── OrderForm.js │ │ │ ├── OrderModal.js │ │ │ ├── PriceInput.js │ │ │ └── QuantityInput.js │ │ ├── services │ │ │ ├── orderApi.js │ │ │ ├── orderState.js │ │ │ └── priceService.js │ │ └── utils │ │ │ ├── formatters.js │ │ │ └── validators.js │ ├── scalper.js │ ├── templates │ │ ├── emptyWatchlist.html │ │ ├── marketDepth.html │ │ └── symbolListItem.html │ ├── watchlistCore.js │ ├── watchlistEvents.js │ ├── watchlistManager.js │ └── watchlistOperations.js │ └── theme.js ├── templates ├── about.html ├── components │ ├── orders │ │ ├── _market_depth.html │ │ ├── _order_form.html │ │ └── _order_modal.html │ └── watchlist │ │ ├── _item.html │ │ ├── _list.html │ │ ├── _manage_modal.html │ │ └── _market_depth.html ├── dashboard.html ├── funds.html ├── holdings.html ├── index.html ├── layout.html ├── login.html ├── logs.html ├── orderbook.html ├── positions.html ├── register.html ├── scalper.html ├── tradebook.html ├── voice.html └── voice_settings.html ├── tmp └── README.md └── triggerdb.py /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/.gitignore -------------------------------------------------------------------------------- /DEPLOYMENT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/DEPLOYMENT.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/LICENSE -------------------------------------------------------------------------------- /Proposed Architecture.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/Proposed Architecture.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/README.md -------------------------------------------------------------------------------- /app.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/app.py -------------------------------------------------------------------------------- /config.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/config.py -------------------------------------------------------------------------------- /extensions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/extensions.py -------------------------------------------------------------------------------- /master_contract.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/master_contract.py -------------------------------------------------------------------------------- /models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/models.py -------------------------------------------------------------------------------- /prestart.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/prestart.sh -------------------------------------------------------------------------------- /production_files/openterminal.service: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/production_files/openterminal.service -------------------------------------------------------------------------------- /production_files/openterminal_nginx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/production_files/openterminal_nginx -------------------------------------------------------------------------------- /production_files/prestart.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/production_files/prestart.sh -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/requirements.txt -------------------------------------------------------------------------------- /routes/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/routes/__init__.py -------------------------------------------------------------------------------- /routes/auth.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/routes/auth.py -------------------------------------------------------------------------------- /routes/books.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/routes/books.py -------------------------------------------------------------------------------- /routes/dashboard/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/routes/dashboard/__init__.py -------------------------------------------------------------------------------- /routes/dashboard/market_data_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/routes/dashboard/market_data_service.py -------------------------------------------------------------------------------- /routes/dashboard/routes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/routes/dashboard/routes.py -------------------------------------------------------------------------------- /routes/dashboard/settings_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/routes/dashboard/settings_service.py -------------------------------------------------------------------------------- /routes/dashboard/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/routes/dashboard/utils.py -------------------------------------------------------------------------------- /routes/dashboard/watchlist_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/routes/dashboard/watchlist_service.py -------------------------------------------------------------------------------- /routes/funds.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/routes/funds.py -------------------------------------------------------------------------------- /routes/home.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/routes/home.py -------------------------------------------------------------------------------- /routes/logs.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/routes/logs.py -------------------------------------------------------------------------------- /routes/orders/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/routes/orders/__init__.py -------------------------------------------------------------------------------- /routes/orders/constants.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/routes/orders/constants.py -------------------------------------------------------------------------------- /routes/orders/routes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/routes/orders/routes.py -------------------------------------------------------------------------------- /routes/orders/services/broker_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/routes/orders/services/broker_service.py -------------------------------------------------------------------------------- /routes/orders/services/market_feed.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/routes/orders/services/market_feed.py -------------------------------------------------------------------------------- /routes/orders/services/order_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/routes/orders/services/order_service.py -------------------------------------------------------------------------------- /routes/orders/utils/formatters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/routes/orders/utils/formatters.py -------------------------------------------------------------------------------- /routes/orders/utils/helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/routes/orders/utils/helpers.py -------------------------------------------------------------------------------- /routes/orders/validators/exchange_rules.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/routes/orders/validators/exchange_rules.py -------------------------------------------------------------------------------- /routes/orders/validators/order_validator.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/routes/orders/validators/order_validator.py -------------------------------------------------------------------------------- /routes/scalper/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/routes/scalper/__init__.py -------------------------------------------------------------------------------- /routes/scalper/routes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/routes/scalper/routes.py -------------------------------------------------------------------------------- /routes/scalper/services/scalper_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/routes/scalper/services/scalper_service.py -------------------------------------------------------------------------------- /routes/voice/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/routes/voice/__init__.py -------------------------------------------------------------------------------- /routes/voice/routes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/routes/voice/routes.py -------------------------------------------------------------------------------- /routes/voice/services/__init__.py: -------------------------------------------------------------------------------- 1 | # Initialize services package 2 | -------------------------------------------------------------------------------- /routes/voice/services/voice_service.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/routes/voice/services/voice_service.py -------------------------------------------------------------------------------- /routes/voice/utils/__init__.py: -------------------------------------------------------------------------------- 1 | # Initialize utils package 2 | -------------------------------------------------------------------------------- /routes/voice/utils/helpers.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/routes/voice/utils/helpers.py -------------------------------------------------------------------------------- /scheduler.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/scheduler.py -------------------------------------------------------------------------------- /static/css/styles.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/static/css/styles.css -------------------------------------------------------------------------------- /static/js/dashboard.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/static/js/dashboard.js -------------------------------------------------------------------------------- /static/js/modules/marketDataDecoder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/static/js/modules/marketDataDecoder.js -------------------------------------------------------------------------------- /static/js/modules/marketDataUpdater.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/static/js/modules/marketDataUpdater.js -------------------------------------------------------------------------------- /static/js/modules/marketIndices.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/static/js/modules/marketIndices.js -------------------------------------------------------------------------------- /static/js/modules/orderEntry/components/MarketDepth.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/static/js/modules/orderEntry/components/MarketDepth.js -------------------------------------------------------------------------------- /static/js/modules/orderEntry/components/OrderForm.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/static/js/modules/orderEntry/components/OrderForm.js -------------------------------------------------------------------------------- /static/js/modules/orderEntry/components/OrderModal.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/static/js/modules/orderEntry/components/OrderModal.js -------------------------------------------------------------------------------- /static/js/modules/orderEntry/components/PriceInput.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/static/js/modules/orderEntry/components/PriceInput.js -------------------------------------------------------------------------------- /static/js/modules/orderEntry/components/QuantityInput.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/static/js/modules/orderEntry/components/QuantityInput.js -------------------------------------------------------------------------------- /static/js/modules/orderEntry/services/orderApi.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/static/js/modules/orderEntry/services/orderApi.js -------------------------------------------------------------------------------- /static/js/modules/orderEntry/services/orderState.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/static/js/modules/orderEntry/services/orderState.js -------------------------------------------------------------------------------- /static/js/modules/orderEntry/services/priceService.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/static/js/modules/orderEntry/services/priceService.js -------------------------------------------------------------------------------- /static/js/modules/orderEntry/utils/formatters.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/static/js/modules/orderEntry/utils/formatters.js -------------------------------------------------------------------------------- /static/js/modules/orderEntry/utils/validators.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/static/js/modules/orderEntry/utils/validators.js -------------------------------------------------------------------------------- /static/js/modules/scalper.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/static/js/modules/scalper.js -------------------------------------------------------------------------------- /static/js/modules/templates/emptyWatchlist.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/static/js/modules/templates/emptyWatchlist.html -------------------------------------------------------------------------------- /static/js/modules/templates/marketDepth.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/static/js/modules/templates/marketDepth.html -------------------------------------------------------------------------------- /static/js/modules/templates/symbolListItem.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/static/js/modules/templates/symbolListItem.html -------------------------------------------------------------------------------- /static/js/modules/watchlistCore.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/static/js/modules/watchlistCore.js -------------------------------------------------------------------------------- /static/js/modules/watchlistEvents.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/static/js/modules/watchlistEvents.js -------------------------------------------------------------------------------- /static/js/modules/watchlistManager.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/static/js/modules/watchlistManager.js -------------------------------------------------------------------------------- /static/js/modules/watchlistOperations.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/static/js/modules/watchlistOperations.js -------------------------------------------------------------------------------- /static/js/theme.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/static/js/theme.js -------------------------------------------------------------------------------- /templates/about.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/templates/about.html -------------------------------------------------------------------------------- /templates/components/orders/_market_depth.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/templates/components/orders/_market_depth.html -------------------------------------------------------------------------------- /templates/components/orders/_order_form.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/templates/components/orders/_order_form.html -------------------------------------------------------------------------------- /templates/components/orders/_order_modal.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/templates/components/orders/_order_modal.html -------------------------------------------------------------------------------- /templates/components/watchlist/_item.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/templates/components/watchlist/_item.html -------------------------------------------------------------------------------- /templates/components/watchlist/_list.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/templates/components/watchlist/_list.html -------------------------------------------------------------------------------- /templates/components/watchlist/_manage_modal.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/templates/components/watchlist/_manage_modal.html -------------------------------------------------------------------------------- /templates/components/watchlist/_market_depth.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/templates/components/watchlist/_market_depth.html -------------------------------------------------------------------------------- /templates/dashboard.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/templates/dashboard.html -------------------------------------------------------------------------------- /templates/funds.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/templates/funds.html -------------------------------------------------------------------------------- /templates/holdings.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/templates/holdings.html -------------------------------------------------------------------------------- /templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/templates/index.html -------------------------------------------------------------------------------- /templates/layout.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/templates/layout.html -------------------------------------------------------------------------------- /templates/login.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/templates/login.html -------------------------------------------------------------------------------- /templates/logs.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/templates/logs.html -------------------------------------------------------------------------------- /templates/orderbook.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/templates/orderbook.html -------------------------------------------------------------------------------- /templates/positions.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/templates/positions.html -------------------------------------------------------------------------------- /templates/register.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/templates/register.html -------------------------------------------------------------------------------- /templates/scalper.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/templates/scalper.html -------------------------------------------------------------------------------- /templates/tradebook.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/templates/tradebook.html -------------------------------------------------------------------------------- /templates/voice.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/templates/voice.html -------------------------------------------------------------------------------- /templates/voice_settings.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/templates/voice_settings.html -------------------------------------------------------------------------------- /tmp/README.md: -------------------------------------------------------------------------------- 1 | DUMMY File -------------------------------------------------------------------------------- /triggerdb.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/marketcalls/OpenTerminal/HEAD/triggerdb.py --------------------------------------------------------------------------------