Skip to content

Latest commit

 

History

History
85 lines (48 loc) · 2.33 KB

File metadata and controls

85 lines (48 loc) · 2.33 KB

This is a Next.js project bootstrapped with create-next-app.

Getting Started

First, run the production server:

Frontend:

npm run start

Backend:

python .\FlaskApp.py

Now open http://localhost:3000 with your browser to see the result.

System higher level hierachy

image

UI views and functionalities

Home page

image

Alarms are shown on the right side bar with option that user can show only alarms from today.

Live streamer controlling

image

Start watchliststreamer with input tickers. Show database last rows in the table.

Order and position management

image

There is Alpaca API for Tradeview integration where user can place stop level manually. Order will show here. Another method is automatic generated order when entry is triggered. Below there is open position management table. It includes request exit button which will tell to code that if there is certain trigger this position will be closed automatically using market order in IBKR TWS API.

Market scanners

image

Scanning real time market with certain parameters. The most extreme moves should pop up.

TODO:

  • Backend to FaskAPI and making it solid asynchronous with IB client
  • Monthly view on the home page
  • Risk levels order management improvments (add to order,

Endpoint testing script

POST request

$uri = "http://localhost:8080/api/portfoliomanager"

$body = @{ Symbol = "MU" Alarm = "endofday_exit" Date = "2026-01-15" Time = "10:12:00" } | ConvertTo-Json

Invoke-RestMethod -Uri $uri -Method Post -ContentType "application/json" -Body $body