Skip to content

Strange normaliziers in BitcoivEnv #1368

@anarlavrenov

Description

@anarlavrenov

What is the purpose of such additional multiplications? (2 ** -15 etc)

normalized_tech = [
self.day_tech[0] * 2**-1,
self.day_tech[1] * 2**-15,
self.day_tech[2] * 2**-15,
self.day_tech[3] * 2**-6,
self.day_tech[4] * 2**-6,
self.day_tech[5] * 2**-15,
self.day_tech[6] * 2**-15,
]
state = np.hstack(
(
self.account * 2**-18,
self.day_price * 2**-15,
normalized_tech,
self.stocks * 2**-4,
)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions