Commit Graph

166 Commits

Author SHA1 Message Date
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
3c72522011 removed extra classes from index.html template 2020-12-18 14:01:59 +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
a0c1a58d39 don't trigger events and state callbacks in strategy evaluation 2020-12-17 10:50:08 +00:00
Giulio De Pasquale
95b1921f37 use profit_loss and not amount 2020-12-17 10:18:52 +00:00
Giulio De Pasquale
a8e3206584 returning dict and assigning it... 2020-12-17 09:56:27 +00:00
Giulio De Pasquale
2d5214d34d removed debug flag since it created another thread. tacci tua. updating trailing stop on every state 2020-12-17 09:49:48 +00:00
Giulio De Pasquale
4211f9ede0 added base and quote to title page 2020-12-17 09:31:09 +00:00
Giulio De Pasquale
d7c5d81f80 handling trailing stop 2020-12-17 09:30:48 +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
2a6dc24300 retrying bitfinex api operations 2020-12-16 15:06:16 +00:00
Giulio De Pasquale
0d68b2684d fixed table color on break even 2020-12-16 15:05:51 +00:00
Giulio De Pasquale
ca2c62739d initializing tick dictionary in status. bordello of fixes 2020-12-16 14:29:10 +00:00
Giulio De Pasquale
f7ea135cae removed wrong statement 2020-12-16 13:36:48 +00:00
Giulio De Pasquale
c19530badb added trailing stop 2020-12-16 13:36:20 +00:00
Giulio De Pasquale
912c4db2e2 added on_close event handler 2020-12-16 13:30:24 +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
f9f14df519 implemented close position event and backend algorithm. 2020-12-16 12:32:16 +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
4114333632 added positions on connect event. new socketio event, new_event 2020-12-16 11:44:12 +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
780aae0fb1 extracted pos_to_json 2020-12-16 11:28:48 +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
dc382cd2cd modified on_close following the changes in the frontend event 2020-12-16 10:19:15 +00:00
Giulio De Pasquale
52124ee64f defined positionclosemessage type 2020-12-16 10:18:57 +00:00
Giulio De Pasquale
f35ab007d9 added print in stubs instead of raising exception 2020-12-16 10:13:37 +00:00
Giulio De Pasquale
a958d2f120 reordered methods in bfxbot. added stubs of close order and close position 2020-12-16 10:12:10 +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
dfdb2e46a9 modified position json function on socket emit 2020-12-16 09:37:14 +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
55bfe8824b added str and repr for positionstate. returning pw on strategy apply 2020-12-16 09:36:15 +00:00
Giulio De Pasquale
2130f8acb9 added undefined state as default 2020-12-15 20:18:31 +00:00
Giulio De Pasquale
a7cdb2288d modified signature of positionwrapper 2020-12-15 20:16:56 +00:00
Giulio De Pasquale
e5726627ca modified strategy to pack a wrapper 2020-12-15 20:16:39 +00:00
Giulio De Pasquale
2a55f67c6d comment 2020-12-15 20:11:21 +00:00