shaktigupta200 / ga-bitbot

Automatically exported from code.google.com/p/ga-bitbot
0 stars 0 forks source link

decouple the system to make it modular #21

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
The intention from the beginning was to make the system completely modular with 
each component independent of one another. This would allow easy 
re-appropriation of the code base for other uses or end user implementation of 
alternative trade engines. 

Over time some modules became coupled to one another; In particular between 
bct, which implements the trade strategy, and gts, which configures and feeds 
bct. 

Most of the decoupling between other modules can be handled by assigning 
variables to  'magic numbers' and moving them into external configuration files 
(already covered by another enhancement request)

The purpose of this enhancement is to define a clear interface for which 
fitness classes can adhere. This will facilitate modular programming and 
decouple bct (the fitness class in this case) from the rest of the system.

Original issue reported on code.google.com by brian.mo...@gmail.com on 25 Jan 2012 at 11:47

GoogleCodeExporter commented 8 years ago
global_config.json created to merge most of the system configuration into a 
single external file.

started work on a trade engine base class.

Original comment by brian.mo...@gmail.com on 25 Feb 2012 at 2:26