Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## Class ExampleTrader

    java.lang.Object
      ExampleTrader

All Implemented Interfaces:
  FXTradingListener

    public class ExampleTrader

extends java.lang.Object
implements FXTradingListener

Constructor Summary
`ExampleTrader()`

Method Summary
`static void` | `main(java.lang.String[] args)`
`void` | `onConnect()` Callback for connection.
`void` | `onDisconnect()` Callback for disconnect.
`void` | `onTradeReport(FXTradeReport fxTradeReport)` Callback for when a trade is executed.

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### ExampleTrader

    public ExampleTrader()

Method Detail

### onConnect

    public void onConnect()

  Callback for connection.

### onDisconnect

    public void onDisconnect()

  Callback for disconnect.

### onTradeReport

    public void onTradeReport(FXTradeReport fxTradeReport)

  Description copied from interface: `FXTradingListener`
  Callback for when a trade is executed.

  Specified by:
    `onTradeReport` in interface `FXTradingListener`

### main

    public static void main(java.lang.String[] args)
                     throws java.lang.Exception

  Throws:
    `java.lang.Exception`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD