NxCore API Language Wrappers and Sample
Apps
The NxCore API Language Wrappers and Language
Samples consist of the following:
- Required header files (Wrappers) for each supported language, in
both 32 and 64 bit versions (where needed).
- Ten sample applications for each of the supported languages. Each sample
applications looks as close to the same sample in another language as is
possible to do so. Each sample application is very small and intended to
demonstrate one or two key NxCore concepts.
All samples in the NxCore Language Samples are intended to follow the
conventions of the NxCore C/C++ API as closely as possible, as are all NxCore
language wrappers. Moving from one language to another becomes
intuitive, as does following one language in the API documentation.
Languages:
The current languages supported include:
- C
All samples written in a straight "C" fashion: bare bones NxCore
functionality at it's finest.
- C++
Very similar to the C language samples with the exception of the NxCore
functions are wrapped into a class and called as such. The examples are nearly
identical to those in the C language samples.
- C#
A Language wrapper(s) file for 32 and 64 bit C-Sharp development. All samples
written in C#.
The Console Window:
Each Sample runs as a Windows Console application. By sticking with the console
applications the various complexities of the specific GUI implementation are
removed allowing the developer to stick with learning the concepts of NxCore as
quickly as possible. Output on the console applications can be dizzyingly fast,
if you wish to examine data in detail simply grab the console's vertical scroll
bar button with the mouse and hold it. The thread will pause from processing
allowing you to examine the data output in detail. To continue processing
simply release the scroll bar button.
What the Samples Demonstrate:
Each example will take you through one or two specific concepts in NxCore. The
entire NxCore API library is utilized within all ten examples. The specific
concept explored in each sample are as follows:
- SampleApp1
Starting NxCore ProcessTape.
Defining/using NxCore Callback function.
Handling the NxCore Status message.
- SampleApp2
Handling the NxCore Symbol Spin Message.
Using NxOptionHdr.
Constructing Option Symbols in OSI or old OPRA format.
- SampleApp3
Handling the NxCore Category Message.
- SampleApp4
Handling NxCore Trade messages.
Handling Exg Quote messages.
Handling MMQuote messages.
- SampleApp5
Starting ProcessTape from a thread.
- SampleApp6
Retrieving StateTrades.
Retrieving StateExgQuotes.
Retrieving StateMMQuotes.
- SampleApp7
User defined symbol spin function.
Available NxCore Data file listings.
Available NxCore DLL file listings.
Retrieving strings from NxCore Tables.
Get Date from N days.
Get N days from date.
- SampleApp8
User defined symbol spin function.
Setting UserData1 and UserData2 values.
Retrieving UserData1 and UserData2 values.
Constructing Option Symbols in OSI or old OPRA format.
- SampleApp9
Sending User Defined Data through the ProcessTape function, retrieving it in
the NxCore Callback.
- SampleApp10
Saving to a NxCore State Tape
Running from an NxCore State Tape.
|
|
|
|