public static Props Create(string hash, Buy bid) { return(Props.Create(() => new StockTrigger(hash, bid))); }
public StockTrigger(string hash, Buy bid) { this.hash = hash; this.action = Context.ActorOf(BuyingSpreeAction.Create(bid)); this.bid = bid; }