Skip to content

Change trade management #8

@ilcardella

Description

@ilcardella

broker.trade(epic, trade.name, limit, stop)

Rather than trade each epic one by one after finding a valid signal, the script could build a list with the info returned by the find_trade_signal() (epic, tradeDirection, limit and stop). Then at then of the epic_list for loop, it could iterate along the list and take trade actions.
This is helpful because we might want to add other check before trading.

Still need to evaluate the real benefit of this change

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions