61ded5a18d28f8053d7547172fb2851b645c3dc4,alphapy/system.py,,run_system,#Any#Any#Any#Any#Any#,359

Before Change


        // generate the trades for this member
        if system.__class__ == str:
            try:
                tlist = globals()[system_name](symbol, gspace, quantity,
                                               *system_params)
            except:
                logger.info("Could not execute system for %s", symbol)

After Change


        tlist = trade_system(model, system, gspace, intraday, symbol, quantity)
        if tlist:
            // add trades to global trade list
            for item in tlist:
                gtlist.append(item)
        else:
            logger.info("No trades for symbol %s", symbol)

    // Create group trades frame
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: ScottfreeLLC/AlphaPy
Commit Name: 61ded5a18d28f8053d7547172fb2851b645c3dc4
Time: 2018-01-25
Author: Mark.R.Conway@gmail.com
File Name: alphapy/system.py
Class Name:
Method Name: run_system


Project Name: pyinstaller/pyinstaller
Commit Name: 36b5941519ccae4d9234a392798fbcc95302828f
Time: 2015-08-18
Author: h.goebel@crazy-compilers.com
File Name: tests/functional/test_import.py
Class Name:
Method Name:


Project Name: mortendahl/tf-encrypted
Commit Name: 7721c80b327aaa6f5207b4babca80e4935996e42
Time: 2019-02-27
Author: mortendahlcs@gmail.com
File Name: tf_encrypted/__init__.py
Class Name:
Method Name: set_protocol