Commit Graph

269 Commits

Author SHA1 Message Date
Giulio De Pasquale
3534aef408 added todo 2020-12-15 16:34:36 +00:00
Giulio De Pasquale
38d13c724b implemented trailingstopmetadata 2020-12-15 16:31:20 +00:00
Giulio De Pasquale
15cad71afc refactored positionwrapper. added on_new_tick for strategy. refactored names in symbolstatus 2020-12-15 16:31:04 +00:00
Giulio De Pasquale
672a55d229 added eventmetadata class 2020-12-15 16:15:44 +00:00
Giulio De Pasquale
2d7307a038 added metadata to event. refactored function names and order in classes 2020-12-15 16:11:11 +00:00
Giulio De Pasquale
a7b1d05029 changed visibility of bfxbot attributes. removed pid from event class. added while loop to avoid race condition on socket.io first_connect event 2020-12-15 15:52:57 +00:00
Giulio De Pasquale
f930a849f0 main code cleanup 2020-12-15 15:31:09 +00:00
Giulio De Pasquale
7fafdc6293 removed old code 2020-12-15 15:16:16 +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
aefce2d607 properly use dotenv 2020-12-14 15:19:49 +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
9d9565a9af accessing position.id instead of pid 2020-12-14 14:50:04 +00:00
Giulio De Pasquale
d1e9be15a1 parsing str to symbol when adding new positions 2020-12-14 14:49:51 +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
46e1b461e7 include single css and js files from parcel 2020-12-12 20:20:43 +00:00
Giulio De Pasquale
67fba48714 removed old static contents, replaced by parcel packing 2020-12-12 20:20:09 +00:00
Giulio De Pasquale
aea9352ada initial commit react webapp 2020-12-12 20:18:25 +00:00
Giulio De Pasquale
1a8808b088 ignore contents of static 2020-12-12 20:17:01 +00:00
Giulio De Pasquale
0e5403449f ignore contents of static 2020-12-12 20:16:32 +00:00
Giulio De Pasquale
f60d61d342 updated gitignore 2020-12-11 10:03:23 +00:00
Giulio De Pasquale
277fe2ae02 connected/disconnected toasts 2020-12-10 16:54:49 +00:00
Giulio De Pasquale
9955ddf08e sending new_ticks event 2020-12-10 16:29:26 +00:00
Giulio De Pasquale
11bba57343 socketio and other stuff 2020-12-08 19:33:55 +00:00
Giulio De Pasquale
01bbc3b338 added jquery and plotly 2020-12-08 15:51:08 +00:00
Giulio De Pasquale
1603f2593f updated frontend 2020-12-08 15:46:26 +00:00
Giulio De Pasquale
f88befa687 style css 2020-12-08 12:31:06 +00:00
Giulio De Pasquale
b570f9a46c debug mode 2020-12-08 12:21:57 +00:00
Giulio De Pasquale
c3c7fa2a51 frontend update 2020-12-08 12:21:49 +00:00
Giulio De Pasquale
c8fbd02a86 bootstrap 2020-12-07 21:52:55 +00:00
Giulio De Pasquale
f694f81b1b added flask 2020-12-07 21:52:47 +00:00
Giulio De Pasquale
dcd91eaab8 Merge branch 'refactor' of ssh://giugl.io.gitea:10022/peperunas/gkaching into refactor 2020-12-07 21:38:22 +00:00
Giulio De Pasquale
a2b9948793 updated requirements 2020-12-07 12:27:44 +00:00
Giulio De Pasquale
074de41e57 raising exceptions if keys are not defined 2020-12-07 12:27:32 +00:00
Giulio De Pasquale
6c7f0989a6 moved trailing stop strategy to separate file. added function to calculate trailing stop 2020-12-07 12:27:09 +00:00
Giulio De Pasquale
047f4cf84b screen testing 2020-12-04 15:28:21 +00:00
Giulio De Pasquale
8391cec49e added any_state/event in handler 2020-12-04 12:13:13 +00:00
Giulio De Pasquale
6c89403a03 added on_any_state/event and fixed close position on stop percentage 2020-11-30 20:24:59 +00:00
Giulio De Pasquale
5d5fbc91e1 sample main and strategy 2020-11-30 14:38:46 +00:00
Giulio De Pasquale
c7a582e6c5 heavy reorganization 2020-11-30 14:38:28 +00:00
Giulio De Pasquale
589379dc98 awaiting for functions in event calls, added new sound, show trail stop percentage 2020-11-30 09:13:48 +00:00