| Method | Latency (mean) | Throughput (calls/sec) | Memory overhead | |--------|----------------|------------------------|------------------| | Native S-Lang function | 0.2 µs | 5,000,000 | 0 MB | | Plugin (simple math) | 1.5 µs | 660,000 | 1.2 MB | | Plugin (sentiment with cache) | 8.2 ms | 122 | 45 MB | | External Python via socket | 23 ms | 43 | 210 MB |
Zorro Plugin: Architecture, Implementation, and Application in Algorithmic Trading Systems zorro plugin
return plugin_call("sentiment", (double)string_to_ptr(ticker)); | Method | Latency (mean) | Throughput (calls/sec)
We tested three configurations on a 3.4 GHz Intel i7, 16GB RAM, Windows 10: Windows 10: To improve usability:
To improve usability:
| Method | Latency (mean) | Throughput (calls/sec) | Memory overhead | |--------|----------------|------------------------|------------------| | Native S-Lang function | 0.2 µs | 5,000,000 | 0 MB | | Plugin (simple math) | 1.5 µs | 660,000 | 1.2 MB | | Plugin (sentiment with cache) | 8.2 ms | 122 | 45 MB | | External Python via socket | 23 ms | 43 | 210 MB |
Zorro Plugin: Architecture, Implementation, and Application in Algorithmic Trading Systems
return plugin_call("sentiment", (double)string_to_ptr(ticker));
We tested three configurations on a 3.4 GHz Intel i7, 16GB RAM, Windows 10:
To improve usability: