-
Notifications
You must be signed in to change notification settings - Fork 549
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
47 changed files
with
327 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
Overview | ||
======== | ||
|
||
Welcome to the developer guide for NautilusTrader! | ||
|
||
Here you will find information related to developing and extending the NautilusTrader | ||
codebase. These guides will assist you in both adding functionality for your own | ||
trading operation, and/or acting as a guide to assist with valuable contributions. | ||
|
||
We believe in using the right tool for the job. The overall design philosophy is | ||
to fully utilize the high level power of Python, with its rich eco-system of | ||
frameworks and libraries, whilst overcoming some of its inherent shortcomings in | ||
performance and lack of built in type safety (with it being an interpreted | ||
dynamic language). | ||
|
||
One of the advantages of Cython is that we don't have to concern ourselves with | ||
memory safety, as that is handled by its C code generator during the 'cythonization' | ||
step of the build. So we get the best of both worlds - with Pythons clean straight | ||
forward syntax, and a lot of potential to extract several orders of magnitude | ||
greater runtime performance through compiled C dynamic libraries. | ||
|
||
The main development and runtime environment we are working in is of course Python. | ||
However with the introduction of Cython syntax throughout the production codebase | ||
in ``.pyx`` and ``.pxd`` files - it's important to be aware of how the CPython | ||
implementation of Python interacts with the underlying CPython API, and the | ||
NautilusTrader C extension modules which Cython produces. | ||
|
||
We recommend a thorough review of the Cython documentation to familiarize yourself | ||
with some of its core concepts, and where C typing is being introduced. | ||
|
||
> https://cython.org | ||
|
||
Its not necessary to become a C language expert, however how Cython C syntax is | ||
used in function and method definitions, in local code blocks, and the common | ||
primitive C types and how these map to their corresponding ``PyObject`` types - | ||
should be well understood. | ||
|
||
**work in progress** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.