• If this is your first visit, you will have to register before you can post. To view messages, please scroll below and select the forum that you would like to visits. Questions? Be sure to check out the Forum FAQ.

Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

NeoTicker Examples Using ATI Command Language

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    NeoTicker Examples Using ATI Command Language

    I see in your help facility that you provide examples of eSignal and Tradestation integration using the ATI command language. How about providing some examples using NeoTicker in Delphi Script? NeoTicker does provide a Ninja interface thatutilizes some but not all of theavailable commandsso there is still a need to still access Ninja directly. Have you considered providing NeoTicker examples andif so, are there any issues or timing you would be ableto share regarding implementation in NeoTicker.

    Regards,

    Whitmark
    whitmark
    NinjaTrader Ecosystem Vendor - Whitmark Development

    #2
    imported post

    I would like to include NeoTicker examples but I will not be the one to provide them personally based on current development priorities. If someone would like to contribute I would be happy to include them in our documentation. Maybe aspTrader would lile to help out?

    Ray
    RayNinjaTrader Customer Service

    Comment


      #3
      imported post

      The function declarations I use in Delphi follow below. I have used all of them myself at this point except for the 3 "playback" functions which I haven't gotten to yet.

      Caveats:

      1 I have very little experience with Delphi so there may well be other, better code for this.
      2 I don't know how to use these functions within Delphi Script.


      FUNCTION Connected ( ) : integer; stdcall; external 'NtDirect.dll';

      FUNCTION Last ( Symbol: string; Price: Double; Size: Integer): integer; stdcall; external 'NtDirect.dll';
      FUNCTION Ask ( Symbol: string; Price: Double; Size: Integer): integer; stdcall; external 'NtDirect.dll';
      FUNCTION Bid ( Symbol: string; Price: Double; Size: Integer): integer; stdcall; external 'NtDirect.dll';

      FUNCTION LastPlayback ( Symbol: string; Price: Double; Size: Integer; Timestamp: string ): integer; stdcall; external 'NtDirect.dll';
      FUNCTION AskPlayback ( Symbol: string; Price: Double; Size: Integer; Timestamp: string ): integer; stdcall; external 'NtDirect.dll';
      FUNCTION BidPlayback ( Symbol: string; Price: Double; Size: Integer; Timestamp: string ): integer; stdcall; external 'NtDirect.dll';

      FUNCTION Command ( Command: string; Account: string; Instrument: string; Action: string; Quantity: integer;
      OrderType: string; LimitPrice: double; StopPrice: double; TimeInForce: string;
      OCO: string; OrderID: string; strategy: string; StrategyID: string ) : integer; stdcall; external 'NtDirect.dll';
      FUNCTION AvgEntryPrice ( Instrument: string; Account: string ) : double; stdcall; external 'NtDirect.dll';
      FUNCTION AvgFillPrice ( OrderID: pchar ) : double; stdcall; external 'NtDirect.dll';
      FUNCTION Filled ( OrderID: pchar ) : integer; stdcall; external 'NtDirect.dll';
      FUNCTION MarketPosition( Instrument: string; Account: string ) : integer; stdcall; external 'NtDirect.dll';

      FUNCTION Orders ( Account: pchar ) : pchar; stdcall; external 'NtDirect.dll';
      FUNCTION OrderStatus ( OrderID: pchar ) : pchar; stdcall; external 'NtDirect.dll';

      Comment


        #4
        imported post

        The real time consumer for the user of the Ninja Trader ATI is having to build the custom ("convenience layer") functions that other platforms provide out-of-the box.

        I hope it is understood that these "convenience layer" functions are important for every platform.

        The objective of my "aspTrader Fixes and Features" thread is to document what those "convenience layer" are.

        Comment

        Latest Posts

        Collapse

        Topics Statistics Last Post
        Started by mreanuzlazx, Today, 01:30 AM
        0 responses
        1 view
        0 likes
        Last Post mreanuzlazx  
        Started by xinepev, Today, 12:33 AM
        0 responses
        4 views
        0 likes
        Last Post xinepev
        by xinepev
         
        Started by sun0781, Yesterday, 05:02 PM
        0 responses
        7 views
        0 likes
        Last Post sun0781
        by sun0781
         
        Started by ronhb107, 09-12-2019, 10:09 AM
        4 responses
        44 views
        0 likes
        Last Post Mr.Trader  
        Started by rwilliam, Yesterday, 03:55 PM
        0 responses
        4 views
        0 likes
        Last Post rwilliam  
        Working...
        X