TAEAB / PyTrade

An interface for implementing trading algorithms
0 stars 0 forks source link

Issue: Target asset file structure depends on default trading heuristics #4

Closed TAEAB closed 1 year ago

TAEAB commented 1 year ago

Description

Though this project is intended to allow users to implement their desired trading heuristics, the structure of the JSON tracking stocks of interest tracks information specific to the default moving average paradigm, namely with the long_is_above_short parameter.

Reccommendation

TAEAB commented 1 year ago

A solution would be to host buy/sell decision functions in a separate script also containing instructions on how to initialize targetStock.json. This allows users to easily customize both the heuristic and file structure by providing paths to prewritten files on their computer.

TAEAB commented 1 year ago

Trading heuristic was changed such that no information is needed to be stored in the JSON. Data tools changed to reflect that change.

As a result, this issue is resolved, though customizability of data is a good idea for the future.