lucasfbn / Reddit-Sentiment-Reinforcement-Learning

Stock trading using Reddit sentiment data and reinforcement learning.
0 stars 1 forks source link

Develop portfolio optimization approach #136

Closed lucasfbn closed 2 years ago

lucasfbn commented 2 years ago

Objective

The optimal portfolio strategy is defined by:

with subject to the following constraints

Approaches

Supervised

Note that hold and sell signals do not have to be optimized as they are executed anyways

Idea No. 1

Somehow generate the best combination of buys and train a model based on these signals. Can use the feature extractor from stock-wise training (#131).

Problems

Idea No. 2

Based on the backtracked rewards, generate a heuristic to create the dataset. E.g. always buy the first 3 signals or only buy signals that have backtracked rewards above a certain limit.

Problems

Reinforcement Learning

Idea

Generate an env that processes multiple stocks in parallel (one giant vector). E.g. don't create an optimal dataset directly.

Problems

Advantages

Use scipy.optimize

Idea

Use scipy.optimize to find optimal values.

Problems

lucasfbn commented 2 years ago

Closed by 1f117f8cef9a42f25c70b620fce38387d9ec0e57