ASPEN_DeleteSymbol

 

Related Topics

 

 

Purpose

Delete a symbol from the Server's database.

 

 

Call Syntax

#include <aspen.h>

AspenRequest(GLOBAL_session, ASPEN_DeleteSymbol, &symb, NULL);

 

 

Parameters

Input

The input is a pointer to an ASCIIZ character string containing the financial instrument’s ticker symbol.

 

Output

None.

 

 

Structures

None.

 

 

Remarks

None.

 

 

Return Value

ASPEN_OK

symbol successfully deleted.

ASPEN_SV_NO_SYMBOL

symbol not in Server database.

ASPEN_FN_BAD_PARAMETERS

symbol is too long or NULL.

 

 

See Also

NA

 

 

Example

int CAspenRequestDlg::DoASPEN_DeleteSymbol()

{

   server_list          *slp = list;

   char                 symb[ASPEN_SYMBOL_SIZE];

   int                  retval;

   strcpy(symb,strSymb);

   retval = AspenRequest(slp->server_session, ASPEN_DeleteSymbol, symb, NULL);

   return retval;

}

 

©2006 Aspen Research Group, Ltd. All rights reserved. Terms of Use.