Commit Graph

31 Commits

Author SHA1 Message Date
Giulio De Pasquale
ec35fb1366 updated types to support currency. implemented changes in both backend and frontend. balances are sent to frontend 2020-12-21 12:54:40 +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
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
f9f14df519 implemented close position event and backend algorithm. 2020-12-16 12:32:16 +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
dc382cd2cd modified on_close following the changes in the frontend event 2020-12-16 10:19:15 +00:00
Giulio De Pasquale
2c6aaadc2f added amount to tables. removed test position. 2020-12-16 09:44:25 +00:00
Giulio De Pasquale
dfdb2e46a9 modified position json function on socket emit 2020-12-16 09:37:14 +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
ca1532fb8b first working commit for open positions table 2020-12-14 14:50:31 +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
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
b570f9a46c debug mode 2020-12-08 12:21:57 +00:00
Giulio De Pasquale
f694f81b1b added flask 2020-12-07 21:52:47 +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
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
ffdfd6fb9c renamed main to bfxbox. minor cleanup 2020-11-28 18:07:04 +00:00
Giulio De Pasquale
d3208835e2 calling event handlers on add_event 2020-11-28 16:54:37 +00:00
Giulio De Pasquale
04c5279826 new events for trailing stop 2020-11-28 16:13:27 +00:00
Giulio De Pasquale
af089554ce state handlers 2020-11-28 16:10:27 +00:00
Giulio De Pasquale
fb1433a13d new sounds 2020-11-28 15:10:02 +00:00
Giulio De Pasquale
aa4db10d5b first step to automated closing 2020-11-27 18:13:06 +00:00
Giulio De Pasquale
8ce606a8c4 decorators and new mp3 2020-11-27 11:55:02 +00:00
Giulio De Pasquale
96f0e2afea initial commit 2020-11-26 21:45:32 +00:00