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 DJ888, 04-16-2024, 06:09 PM
        4 responses
        12 views
        0 likes
        Last Post DJ888
        by DJ888
         
        Started by terofs, Today, 04:18 PM
        0 responses
        9 views
        0 likes
        Last Post terofs
        by terofs
         
        Started by nandhumca, Today, 03:41 PM
        0 responses
        6 views
        0 likes
        Last Post nandhumca  
        Started by The_Sec, Today, 03:37 PM
        0 responses
        3 views
        0 likes
        Last Post The_Sec
        by The_Sec
         
        Started by GwFutures1988, Today, 02:48 PM
        1 response
        9 views
        0 likes
        Last Post NinjaTrader_Clayton  
        Working...
        X