This repository was archived by the owner on Mar 31, 2026. It is now read-only.
forked from ib-ruby/ib-ruby
-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathEWrapper.java
More file actions
49 lines (47 loc) · 2.76 KB
/
Copy pathEWrapper.java
File metadata and controls
49 lines (47 loc) · 2.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
* EWrapper.java
*
*/
package com.ib.client;
public interface EWrapper extends AnyWrapper {
///////////////////////////////////////////////////////////////////////
// Interface methods
///////////////////////////////////////////////////////////////////////
void tickPrice( int tickerId, int field, double price, int canAutoExecute);
void tickSize( int tickerId, int field, int size);
void tickOptionComputation( int tickerId, int field, double impliedVol,
double delta, double modelPrice, double pvDividend);
void tickGeneric(int tickerId, int tickType, double value);
void tickString(int tickerId, int tickType, String value);
void tickEFP(int tickerId, int tickType, double basisPoints,
String formattedBasisPoints, double impliedFuture, int holdDays,
String futureExpiry, double dividendImpact, double dividendsToExpiry);
void orderStatus( int orderId, String status, int filled, int remaining,
double avgFillPrice, int permId, int parentId, double lastFillPrice,
int clientId, String whyHeld);
void openOrder( int orderId, Contract contract, Order order, OrderState orderState);
void updateAccountValue(String key, String value, String currency, String accountName);
void updatePortfolio(Contract contract, int position, double marketPrice, double marketValue,
double averageCost, double unrealizedPNL, double realizedPNL, String accountName);
void updateAccountTime(String timeStamp);
void nextValidId( int orderId);
void contractDetails(int reqId, ContractDetails contractDetails);
void bondContractDetails(int reqId, ContractDetails contractDetails);
void contractDetailsEnd(int reqId);
void execDetails( int orderId, Contract contract, Execution execution);
void updateMktDepth( int tickerId, int position, int operation, int side, double price, int size);
void updateMktDepthL2( int tickerId, int position, String marketMaker, int operation,
int side, double price, int size);
void updateNewsBulletin( int msgId, int msgType, String message, String origExchange);
void managedAccounts( String accountsList);
void receiveFA(int faDataType, String xml);
void historicalData(int reqId, String date, double open, double high, double low,
double close, int volume, int count, double WAP, boolean hasGaps);
void scannerParameters(String xml);
void scannerData(int reqId, int rank, ContractDetails contractDetails, String distance,
String benchmark, String projection, String legsStr);
void scannerDataEnd(int reqId);
void realtimeBar(int reqId, long time, double open, double high, double low, double close, long volume, double wap, int count);
void currentTime(long time);
void fundamentalData(int reqId, String data);
}