Skip to content
This repository was archived by the owner on Jun 2, 2026. It is now read-only.
This repository was archived by the owner on Jun 2, 2026. It is now read-only.

Asset/Currency as exchange properties #13

@cxkoda

Description

@cxkoda

Hi again,

I noticed that the asset/currency pair is set as an exchange property. This means that strategies will only be able to trade on one pair and use information respective to that. Was this a conscious design choice?
If not, I would argue that it would be better to let it fall into a strategy's responsibility to decide on what pair to trade, e.g. by initialising a generic strategy with the pair i want it to trade or having a strategy that is optimised for a certain set of (multiple) coins.

Anyway, for now I implemented a quick pair class and pulled the pair dependency out of the exchange, for you to have a look.
Tell me what you think.

Cheers

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions