kernc

Results 348 comments of kernc

Indeed, if you are using a pre-built wheel installed from PyPI with `pip install MulticoreTSNE`, it [likely was built without OpenMP support](https://travis-ci.org/DmitryUlyanov/Multicore-TSNE/jobs/304968580#L1789). The workaround on OS X is possibly: ```bash...

When building the source, was this string present? > CMake Warning at CMakeLists.txt:22 (MESSAGE): > Not using OpenMP. Performance will suffer.

This doesn't print build stage output. Try: `pip install --verbose -U --no-deps git+https://github.com/DmitryUlyanov/Multicore-TSNE.git`

@PaulRivaud Have you managed to build with `--verbose` flag to determine whether OpenMP is not available and why?

> SSLError ... Unrelated to Multicore-TSNE depending on OpenMP. More like something to do with another dependency re-downloaded from PyPI and this recent policy update: https://status.python.org/incidents/hdx7w97m5hr8. The proposed workaround for...

Gash, sorry, the command is: ``` pip install --verbose -U --no-deps git+https://github.com/DmitryUlyanov/Multicore-TSNE.git ``` (git URL needs `git+` prefix).

AppleClang (7.0.2) doesn't seem to ship with OpenMP configured. Two things you can try: 1. Add [`-fopenmp=libomp`](https://stackoverflow.com/questions/34964055/openmp-support-on-osx-10-11-gcc-errors-with-file-omp-h-not-found/35064678#35064678) to CMakeLists [here](https://github.com/DmitryUlyanov/Multicore-TSNE/blob/master/multicore_tsne/CMakeLists.txt#L7). 2. Use [another compiler](https://stackoverflow.com/questions/35134681/installing-openmp-on-mac-os-x-10-11/44213378#44213378), such as GCC.

> Can't find any information about it in the documentation. That's peculiar, since it's literally [mentioned everywhere](https://kernc.github.io/backtesting.py/doc/backtesting/backtesting.html#backtesting.backtesting.Strategy.buy) that you can use [order `size=` between 0 and 1](https://kernc.github.io/backtesting.py/doc/backtesting/backtesting.html#backtesting.backtesting.Order.size) to mean a...

> in the first picture as you see, after a trade was closed at loss two more longs were opened after eachother. > ```python > if not self.position and price...

I guess maybe we could adapt the condition to: ```py IS_JUPYTER_NOTEBOOK = ('JPY_PARENT_PID' in os.environ or 'inline' in os.environ.get('MPLBACKEND', '')) ``` if that's reliable? Could you investigate it or want...