Commit Graph

19 Commits

Author SHA1 Message Date
Giulio De Pasquale
a8e3206584 returning dict and assigning it... 2020-12-17 09:56:27 +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
c19530badb added trailing stop 2020-12-16 13:36:20 +00:00
Giulio De Pasquale
f9f14df519 implemented close position event and backend algorithm. 2020-12-16 12:32:16 +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
2a55f67c6d comment 2020-12-15 20:11:21 +00:00
Giulio De Pasquale
2f5259ebd2 refactored names in symbolstatus. now a strategy has to assemble a positionwrapper. raising exceptions if types are not as expected. 2020-12-15 20:10:51 +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
9d9565a9af accessing position.id instead of pid 2020-12-14 14:50:04 +00:00
Giulio De Pasquale
3e45135809 reorganized layout with navbar and two cols 2020-12-14 13:55:33 +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
8391cec49e added any_state/event in handler 2020-12-04 12:13:13 +00:00
Giulio De Pasquale
c7a582e6c5 heavy reorganization 2020-11-30 14:38:28 +00:00