Skip to content

Add a Makfile to build a torch-based strategy and add instructions on how to get libtorch

yihongj2 requested to merge sample_torch_strat into main

Figured out how to link pytorch in to StrategyStudio. Basically you have to use cxx11_abi enabled version and link correctly. See makefile and bash script for details.

Did not test running the strategy, but backtester can load dll properly: image

Merge request reports