Commit Graph

48 Commits

Author SHA1 Message Date
Giulio De Pasquale
565af21955 added plot and cards to dashboard. added navbar to the left. 2020-12-18 19:00:26 +00:00
Giulio De Pasquale
eeb959bda1 added optional logo as JSX.Element 2020-12-18 19:00:02 +00:00
Giulio De Pasquale
361bf0fd2a removed limit of 500 elements, fixed margins 2020-12-18 18:59:43 +00:00
Giulio De Pasquale
76243d8b7f added left margin to left sidebar 2020-12-18 14:03:47 +00:00
Giulio De Pasquale
b36a6fac8a main page stub 2020-12-18 14:02:53 +00:00
Giulio De Pasquale
87a18b8387 added navbars components 2020-12-18 14:02:45 +00:00
Giulio De Pasquale
c24cad03c8 defined card template 2020-12-18 14:02:21 +00:00
Giulio De Pasquale
ce8d4e1ef9 importing tailwind 2020-12-18 14:02:11 +00:00
Giulio De Pasquale
d13c15e7dd removed bootstrap 2020-12-18 14:01:37 +00:00
Giulio De Pasquale
84b5aca339 gitignore for generated css, added index.css 2020-12-17 20:19:17 +00:00
Giulio De Pasquale
43f9151de4 tailwind and scripts 2020-12-17 20:18:15 +00:00
Giulio De Pasquale
95b1921f37 use profit_loss and not amount 2020-12-17 10:18:52 +00:00
Giulio De Pasquale
4211f9ede0 added base and quote to title page 2020-12-17 09:31:09 +00:00
Giulio De Pasquale
5f29d8875c add currency component (forgot to add earlier...) and render other pairs if available 2020-12-16 18:56:23 +00:00
Giulio De Pasquale
3c1a25f051 added currency pair in app state 2020-12-16 18:46:29 +00:00
Giulio De Pasquale
c14b0afb5a created utils file 2020-12-16 18:42:26 +00:00
Giulio De Pasquale
60db4f93e0 defined CurrencyPair 2020-12-16 18:42:13 +00:00
Giulio De Pasquale
3933545a77 added types.ts. renamed various type names. added fake currency switch to be implemented 2020-12-16 18:29:39 +00:00
Giulio De Pasquale
1bc46e421c centered card text. h3 -> h5 2020-12-16 17:58:46 +00:00
Giulio De Pasquale
0d68b2684d fixed table color on break even 2020-12-16 15:05:51 +00:00
Giulio De Pasquale
7bbd99ba97 added dynamic title based on current price 2020-12-16 12:57:29 +00:00
Giulio De Pasquale
f421e3b41c added react-helmet 2020-12-16 12:52:12 +00:00
Giulio De Pasquale
f6a318257a detecting new events. events UI not working yet. fixed positions and events components show on demand 2020-12-16 12:02:50 +00:00
Giulio De Pasquale
ff0796024a removed price graph intestation 2020-12-16 11:39:25 +00:00
Giulio De Pasquale
14a5458c52 added contextual background 2020-12-16 11:38:58 +00:00
Giulio De Pasquale
a20a06b3fe receiving first_connect message and rendering components on demand 2020-12-16 11:28:21 +00:00
Giulio De Pasquale
a7d888f00a renamed newdata 2020-12-16 11:27:53 +00:00
Giulio De Pasquale
0f82cd9d8c positiontable renders from props and not from an internal state 2020-12-16 11:27:35 +00:00
Giulio De Pasquale
74152a9fb9 renamed newtickdata to newtickmessage. added firstconnectmessage. 2020-12-16 11:27:10 +00:00
Giulio De Pasquale
52124ee64f defined positionclosemessage type 2020-12-16 10:18:57 +00:00
Giulio De Pasquale
5544d681f4 added positions base prices on plot 2020-12-16 10:08:11 +00:00
Giulio De Pasquale
2c6aaadc2f added amount to tables. removed test position. 2020-12-16 09:44:25 +00:00
Giulio De Pasquale
9ae8389f83 h_price_line to current_price_line 2020-12-16 09:40:45 +00:00
Giulio De Pasquale
054bb0dc04 removed test entry, sending close event on button 2020-12-16 09:36:42 +00:00
Giulio De Pasquale
e1323c5961 fixed footer margins. started adding events listgroup, events are not shown correctly yet 2020-12-14 20:26:14 +00:00
Giulio De Pasquale
e57daf3760 added base price to position table. plot code cleanup 2020-12-14 19:04:04 +00:00
Giulio De Pasquale
2cbb21f6cf code cleanup 2020-12-14 18:52:43 +00:00
Giulio De Pasquale
d72421eeb2 improved plot with dashed line and better formatting 2020-12-14 16:02:01 +00:00
Giulio De Pasquale
1718c37751 added dashed line on last price 2020-12-14 15:37:12 +00:00
Giulio De Pasquale
dfc9adcd9f fixed floating point numbers formatting in table 2020-12-14 14:58:34 +00:00
Giulio De Pasquale
ca1532fb8b first working commit for open positions table 2020-12-14 14:50:31 +00:00
Giulio De Pasquale
3e45135809 reorganized layout with navbar and two cols 2020-12-14 13:55:33 +00:00
Giulio De Pasquale
119d80a936 show only last 500 entries 2020-12-14 13:14:32 +00:00
Giulio De Pasquale
02678fd8e6 new event first connect to send previous data on first connect 2020-12-13 20:40:55 +00:00
Giulio De Pasquale
3f09e9fea8 graph working. old functional components are now standard components 2020-12-13 19:32:33 +00:00
Giulio De Pasquale
035d7831ae HCard extends component now. added state 2020-12-13 11:27:50 +00:00
Giulio De Pasquale
c11cbe9d3f plotly added to dependencies 2020-12-13 11:22:59 +00:00
Giulio De Pasquale
aea9352ada initial commit react webapp 2020-12-12 20:18:25 +00:00