How (if possible) to set capital (cash) per datafeed?
dragon_trader last edited by
Since backtrader does not support multiple brokers, is it possible to assign a set amount of cash per data feed? If so, can anyone show me a working code on how to do it?
No. It's a single account broker.
You can in any case determine the value that you want to invest in specific assets. See the
order_target_xxxmethod family: Docs - Strategy