Content-Type: text/html; charset=ISO-8859-1 FXTP Order Syntax
FX Home
All Accounts
Mailing Lists

Your Account
Your Profile


Contact Us
last updated on 08/01/1996
The full FXTP syntax for placing/editing orders is:
     orders uid,pword,action claim (B|S)quan(Y|N)@price,action ... , ...

     uid:     your UID
     pword:   your password
     action:  'new', 'del', 'inc', 'dec'
     (B|S):   'B' (buy) or 'S' (sell)
     (Y|N):   'Y' (Yes) or 'N' (No)

Case is irrelevant for keywords -- e.g., 'b10n@40' is a valid order fragment.

Adding and Deleting Orders

A brand new order is entered using 'new':

     orders uid,pword,new FooBar S10@30
places an order to sell 10 FooBar coupons at 30 'cents' (hundredths of a credibill) each on the book.

Deleting an existing order is done with 'del':

     orders uid,pword,del FooBar S10@30
deletes the order to sell 10 FooBar coupons at 30. If you don't have such an order, an error is returned.

Incrementing and Decrementing Orders

The quantity of an existing order at a given price may be incremented or decremented using 'inc' and 'del', respectively:
     orders uid,pword,inc FooBar S5@30
increases by 5 coupons your order to sell FooBar at 30. If you don't have such an order, an error is returned.

Account Page Shortcuts

When using the order edit boxes on the Account page, you don't need to specify the word 'orders', your uid or password, or the claim symbol, since these are all determined by context (your uid and password should be specified in the edit boxes at the top of the page). If you don't specify an action for an order, the action of the previous order (if any) in that edit box will be used, or 'new' if there was no previous order.

For example, the text:

     B100@61,s10@90,del 3@20,10@40
entered in the order edit box for claim FooBar will be sent to the server as:
     orders uid,pword,new FooBar B100@61,new FooBar S10@90
                     ,del FooBar B3@20,del FooBar B10@40

Claim Page Shortcuts

The detailed Claim Page has buttons to specify the order action ('new', 'inc', etc.). It also does not require you to specify the keyword 'orders', your uid or password (specified elsewhere on the page) or the claim symbol.