From 40df5a67a565cc500f4c98cd2c14a485ac7b5023 Mon Sep 17 00:00:00 2001 From: Sameer Shaikh Date: Fri, 24 Mar 2023 18:08:19 +0530 Subject: [PATCH] websocket-2.0-impl-bug-fixes --- .gitignore | 73 ++ .idea/workspace.xml | 147 ++- doc/allclasses-frame.html | 51 - doc/allclasses-noframe.html | 51 - doc/com/angelbroking/smartapi/Routes.html | 336 ------ .../angelbroking/smartapi/SmartConnect.html | 972 ------------------ .../smartapi/class-use/Routes.html | 124 --- .../smartapi/class-use/SmartConnect.html | 230 ----- .../smartapi/http/SessionExpiryHook.html | 222 ---- .../smartapi/http/SmartAPIRequestHandler.html | 712 ------------- .../http/SmartAPIResponseHandler.html | 283 ----- .../http/class-use/SessionExpiryHook.html | 179 ---- .../class-use/SmartAPIRequestHandler.html | 124 --- .../class-use/SmartAPIResponseHandler.html | 124 --- .../http/exceptions/DataException.html | 287 ------ .../http/exceptions/GeneralException.html | 287 ------ .../http/exceptions/InputException.html | 288 ------ .../http/exceptions/NetworkException.html | 288 ------ .../http/exceptions/OrderException.html | 288 ------ .../http/exceptions/PermissionException.html | 288 ------ .../http/exceptions/SmartAPIException.html | 364 ------- .../http/exceptions/TokenException.html | 287 ------ .../exceptions/class-use/DataException.html | 124 --- .../class-use/GeneralException.html | 124 --- .../exceptions/class-use/InputException.html | 124 --- .../class-use/NetworkException.html | 124 --- .../exceptions/class-use/OrderException.html | 124 --- .../class-use/PermissionException.html | 124 --- .../class-use/SmartAPIException.html | 528 ---------- .../exceptions/class-use/TokenException.html | 124 --- .../http/exceptions/package-frame.html | 27 - .../http/exceptions/package-summary.html | 187 ---- .../http/exceptions/package-tree.html | 151 --- .../smartapi/http/exceptions/package-use.html | 248 ----- .../smartapi/http/package-frame.html | 25 - .../smartapi/http/package-summary.html | 167 --- .../smartapi/http/package-tree.html | 142 --- .../smartapi/http/package-use.html | 159 --- .../angelbroking/smartapi/models/Depth.html | 337 ------ .../smartapi/models/Holdings.html | 455 -------- .../angelbroking/smartapi/models/Order.html | 650 ------------ .../smartapi/models/OrderParams.html | 473 --------- .../smartapi/models/Position.html | 650 ------------ .../angelbroking/smartapi/models/Profile.html | 477 --------- .../angelbroking/smartapi/models/Tick.html | 778 -------------- .../smartapi/models/TokenSet.html | 399 ------- .../angelbroking/smartapi/models/Trade.html | 416 -------- .../angelbroking/smartapi/models/User.html | 781 -------------- .../smartapi/models/class-use/Depth.html | 177 ---- .../smartapi/models/class-use/Holdings.html | 124 --- .../smartapi/models/class-use/Order.html | 197 ---- .../models/class-use/OrderParams.html | 175 ---- .../smartapi/models/class-use/Position.html | 124 --- .../smartapi/models/class-use/Profile.html | 124 --- .../smartapi/models/class-use/Tick.html | 124 --- .../smartapi/models/class-use/TokenSet.html | 167 --- .../smartapi/models/class-use/Trade.html | 166 --- .../smartapi/models/class-use/User.html | 221 ---- .../smartapi/models/package-frame.html | 29 - .../smartapi/models/package-summary.html | 190 ---- .../smartapi/models/package-tree.html | 146 --- .../smartapi/models/package-use.html | 203 ---- .../angelbroking/smartapi/package-frame.html | 21 - .../smartapi/package-summary.html | 148 --- .../angelbroking/smartapi/package-tree.html | 138 --- .../angelbroking/smartapi/package-use.html | 157 --- .../smartapi/sample/Examples.html | 555 ---------- .../angelbroking/smartapi/sample/Test.html | 276 ----- .../smartapi/sample/WSCodeTest.html | 271 ----- .../smartapi/sample/class-use/Examples.html | 124 --- .../smartapi/sample/class-use/Test.html | 124 --- .../smartapi/sample/class-use/WSCodeTest.html | 124 --- .../smartapi/sample/package-frame.html | 22 - .../smartapi/sample/package-summary.html | 150 --- .../smartapi/sample/package-tree.html | 139 --- .../smartapi/sample/package-use.html | 124 --- .../smartapi/ticker/OnConnect.html | 221 ---- .../smartapi/ticker/OnDisconnect.html | 221 ---- .../angelbroking/smartapi/ticker/OnError.html | 247 ----- .../angelbroking/smartapi/ticker/OnTicks.html | 221 ---- .../smartapi/ticker/SmartAPITicker.html | 530 ---------- .../smartapi/ticker/class-use/OnConnect.html | 166 --- .../ticker/class-use/OnDisconnect.html | 166 --- .../smartapi/ticker/class-use/OnError.html | 166 --- .../smartapi/ticker/class-use/OnTicks.html | 166 --- .../ticker/class-use/SmartAPITicker.html | 124 --- .../smartapi/ticker/package-frame.html | 27 - .../smartapi/ticker/package-summary.html | 169 --- .../smartapi/ticker/package-tree.html | 144 --- .../smartapi/ticker/package-use.html | 166 --- .../smartapi/utils/Constants.html | 808 --------------- .../smartapi/utils/NaiveSSLContext.html | 316 ------ .../smartapi/utils/class-use/Constants.html | 124 --- .../utils/class-use/NaiveSSLContext.html | 124 --- .../smartapi/utils/package-frame.html | 21 - .../smartapi/utils/package-summary.html | 151 --- .../smartapi/utils/package-tree.html | 138 --- .../smartapi/utils/package-use.html | 124 --- doc/constant-values.html | 124 --- doc/deprecated-list.html | 124 --- doc/help-doc.html | 229 ----- doc/index-files/index-1.html | 145 --- doc/index-files/index-10.html | 141 --- doc/index-files/index-11.html | 153 --- doc/index-files/index-12.html | 142 --- doc/index-files/index-13.html | 195 ---- doc/index-files/index-14.html | 225 ---- doc/index-files/index-15.html | 137 --- doc/index-files/index-16.html | 149 --- doc/index-files/index-17.html | 332 ------ doc/index-files/index-18.html | 195 ---- doc/index-files/index-19.html | 145 --- doc/index-files/index-2.html | 139 --- doc/index-files/index-20.html | 151 --- doc/index-files/index-21.html | 131 --- doc/index-files/index-3.html | 203 ---- doc/index-files/index-4.html | 176 ---- doc/index-files/index-5.html | 179 ---- doc/index-files/index-6.html | 133 --- doc/index-files/index-7.html | 325 ------ doc/index-files/index-8.html | 133 --- doc/index-files/index-9.html | 157 --- doc/index.html | 75 -- doc/overview-frame.html | 27 - doc/overview-summary.html | 159 --- doc/overview-tree.html | 185 ---- doc/package-list | 7 - doc/script.js | 30 - doc/serialized-form.html | 211 ---- doc/stylesheet.css | 574 ----------- 130 files changed, 219 insertions(+), 28215 deletions(-) create mode 100644 .gitignore delete mode 100644 doc/allclasses-frame.html delete mode 100644 doc/allclasses-noframe.html delete mode 100644 doc/com/angelbroking/smartapi/Routes.html delete mode 100644 doc/com/angelbroking/smartapi/SmartConnect.html delete mode 100644 doc/com/angelbroking/smartapi/class-use/Routes.html delete mode 100644 doc/com/angelbroking/smartapi/class-use/SmartConnect.html delete mode 100644 doc/com/angelbroking/smartapi/http/SessionExpiryHook.html delete mode 100644 doc/com/angelbroking/smartapi/http/SmartAPIRequestHandler.html delete mode 100644 doc/com/angelbroking/smartapi/http/SmartAPIResponseHandler.html delete mode 100644 doc/com/angelbroking/smartapi/http/class-use/SessionExpiryHook.html delete mode 100644 doc/com/angelbroking/smartapi/http/class-use/SmartAPIRequestHandler.html delete mode 100644 doc/com/angelbroking/smartapi/http/class-use/SmartAPIResponseHandler.html delete mode 100644 doc/com/angelbroking/smartapi/http/exceptions/DataException.html delete mode 100644 doc/com/angelbroking/smartapi/http/exceptions/GeneralException.html delete mode 100644 doc/com/angelbroking/smartapi/http/exceptions/InputException.html delete mode 100644 doc/com/angelbroking/smartapi/http/exceptions/NetworkException.html delete mode 100644 doc/com/angelbroking/smartapi/http/exceptions/OrderException.html delete mode 100644 doc/com/angelbroking/smartapi/http/exceptions/PermissionException.html delete mode 100644 doc/com/angelbroking/smartapi/http/exceptions/SmartAPIException.html delete mode 100644 doc/com/angelbroking/smartapi/http/exceptions/TokenException.html delete mode 100644 doc/com/angelbroking/smartapi/http/exceptions/class-use/DataException.html delete mode 100644 doc/com/angelbroking/smartapi/http/exceptions/class-use/GeneralException.html delete mode 100644 doc/com/angelbroking/smartapi/http/exceptions/class-use/InputException.html delete mode 100644 doc/com/angelbroking/smartapi/http/exceptions/class-use/NetworkException.html delete mode 100644 doc/com/angelbroking/smartapi/http/exceptions/class-use/OrderException.html delete mode 100644 doc/com/angelbroking/smartapi/http/exceptions/class-use/PermissionException.html delete mode 100644 doc/com/angelbroking/smartapi/http/exceptions/class-use/SmartAPIException.html delete mode 100644 doc/com/angelbroking/smartapi/http/exceptions/class-use/TokenException.html delete mode 100644 doc/com/angelbroking/smartapi/http/exceptions/package-frame.html delete mode 100644 doc/com/angelbroking/smartapi/http/exceptions/package-summary.html delete mode 100644 doc/com/angelbroking/smartapi/http/exceptions/package-tree.html delete mode 100644 doc/com/angelbroking/smartapi/http/exceptions/package-use.html delete mode 100644 doc/com/angelbroking/smartapi/http/package-frame.html delete mode 100644 doc/com/angelbroking/smartapi/http/package-summary.html delete mode 100644 doc/com/angelbroking/smartapi/http/package-tree.html delete mode 100644 doc/com/angelbroking/smartapi/http/package-use.html delete mode 100644 doc/com/angelbroking/smartapi/models/Depth.html delete mode 100644 doc/com/angelbroking/smartapi/models/Holdings.html delete mode 100644 doc/com/angelbroking/smartapi/models/Order.html delete mode 100644 doc/com/angelbroking/smartapi/models/OrderParams.html delete mode 100644 doc/com/angelbroking/smartapi/models/Position.html delete mode 100644 doc/com/angelbroking/smartapi/models/Profile.html delete mode 100644 doc/com/angelbroking/smartapi/models/Tick.html delete mode 100644 doc/com/angelbroking/smartapi/models/TokenSet.html delete mode 100644 doc/com/angelbroking/smartapi/models/Trade.html delete mode 100644 doc/com/angelbroking/smartapi/models/User.html delete mode 100644 doc/com/angelbroking/smartapi/models/class-use/Depth.html delete mode 100644 doc/com/angelbroking/smartapi/models/class-use/Holdings.html delete mode 100644 doc/com/angelbroking/smartapi/models/class-use/Order.html delete mode 100644 doc/com/angelbroking/smartapi/models/class-use/OrderParams.html delete mode 100644 doc/com/angelbroking/smartapi/models/class-use/Position.html delete mode 100644 doc/com/angelbroking/smartapi/models/class-use/Profile.html delete mode 100644 doc/com/angelbroking/smartapi/models/class-use/Tick.html delete mode 100644 doc/com/angelbroking/smartapi/models/class-use/TokenSet.html delete mode 100644 doc/com/angelbroking/smartapi/models/class-use/Trade.html delete mode 100644 doc/com/angelbroking/smartapi/models/class-use/User.html delete mode 100644 doc/com/angelbroking/smartapi/models/package-frame.html delete mode 100644 doc/com/angelbroking/smartapi/models/package-summary.html delete mode 100644 doc/com/angelbroking/smartapi/models/package-tree.html delete mode 100644 doc/com/angelbroking/smartapi/models/package-use.html delete mode 100644 doc/com/angelbroking/smartapi/package-frame.html delete mode 100644 doc/com/angelbroking/smartapi/package-summary.html delete mode 100644 doc/com/angelbroking/smartapi/package-tree.html delete mode 100644 doc/com/angelbroking/smartapi/package-use.html delete mode 100644 doc/com/angelbroking/smartapi/sample/Examples.html delete mode 100644 doc/com/angelbroking/smartapi/sample/Test.html delete mode 100644 doc/com/angelbroking/smartapi/sample/WSCodeTest.html delete mode 100644 doc/com/angelbroking/smartapi/sample/class-use/Examples.html delete mode 100644 doc/com/angelbroking/smartapi/sample/class-use/Test.html delete mode 100644 doc/com/angelbroking/smartapi/sample/class-use/WSCodeTest.html delete mode 100644 doc/com/angelbroking/smartapi/sample/package-frame.html delete mode 100644 doc/com/angelbroking/smartapi/sample/package-summary.html delete mode 100644 doc/com/angelbroking/smartapi/sample/package-tree.html delete mode 100644 doc/com/angelbroking/smartapi/sample/package-use.html delete mode 100644 doc/com/angelbroking/smartapi/ticker/OnConnect.html delete mode 100644 doc/com/angelbroking/smartapi/ticker/OnDisconnect.html delete mode 100644 doc/com/angelbroking/smartapi/ticker/OnError.html delete mode 100644 doc/com/angelbroking/smartapi/ticker/OnTicks.html delete mode 100644 doc/com/angelbroking/smartapi/ticker/SmartAPITicker.html delete mode 100644 doc/com/angelbroking/smartapi/ticker/class-use/OnConnect.html delete mode 100644 doc/com/angelbroking/smartapi/ticker/class-use/OnDisconnect.html delete mode 100644 doc/com/angelbroking/smartapi/ticker/class-use/OnError.html delete mode 100644 doc/com/angelbroking/smartapi/ticker/class-use/OnTicks.html delete mode 100644 doc/com/angelbroking/smartapi/ticker/class-use/SmartAPITicker.html delete mode 100644 doc/com/angelbroking/smartapi/ticker/package-frame.html delete mode 100644 doc/com/angelbroking/smartapi/ticker/package-summary.html delete mode 100644 doc/com/angelbroking/smartapi/ticker/package-tree.html delete mode 100644 doc/com/angelbroking/smartapi/ticker/package-use.html delete mode 100644 doc/com/angelbroking/smartapi/utils/Constants.html delete mode 100644 doc/com/angelbroking/smartapi/utils/NaiveSSLContext.html delete mode 100644 doc/com/angelbroking/smartapi/utils/class-use/Constants.html delete mode 100644 doc/com/angelbroking/smartapi/utils/class-use/NaiveSSLContext.html delete mode 100644 doc/com/angelbroking/smartapi/utils/package-frame.html delete mode 100644 doc/com/angelbroking/smartapi/utils/package-summary.html delete mode 100644 doc/com/angelbroking/smartapi/utils/package-tree.html delete mode 100644 doc/com/angelbroking/smartapi/utils/package-use.html delete mode 100644 doc/constant-values.html delete mode 100644 doc/deprecated-list.html delete mode 100644 doc/help-doc.html delete mode 100644 doc/index-files/index-1.html delete mode 100644 doc/index-files/index-10.html delete mode 100644 doc/index-files/index-11.html delete mode 100644 doc/index-files/index-12.html delete mode 100644 doc/index-files/index-13.html delete mode 100644 doc/index-files/index-14.html delete mode 100644 doc/index-files/index-15.html delete mode 100644 doc/index-files/index-16.html delete mode 100644 doc/index-files/index-17.html delete mode 100644 doc/index-files/index-18.html delete mode 100644 doc/index-files/index-19.html delete mode 100644 doc/index-files/index-2.html delete mode 100644 doc/index-files/index-20.html delete mode 100644 doc/index-files/index-21.html delete mode 100644 doc/index-files/index-3.html delete mode 100644 doc/index-files/index-4.html delete mode 100644 doc/index-files/index-5.html delete mode 100644 doc/index-files/index-6.html delete mode 100644 doc/index-files/index-7.html delete mode 100644 doc/index-files/index-8.html delete mode 100644 doc/index-files/index-9.html delete mode 100644 doc/index.html delete mode 100644 doc/overview-frame.html delete mode 100644 doc/overview-summary.html delete mode 100644 doc/overview-tree.html delete mode 100644 doc/package-list delete mode 100644 doc/script.js delete mode 100644 doc/serialized-form.html delete mode 100644 doc/stylesheet.css diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..14570b8 --- /dev/null +++ b/.gitignore @@ -0,0 +1,73 @@ +############################## +## Java +############################## +.mtj.tmp/ +*.class +*.war +*.ear +*.nar +hs_err_pid* + +############################## +## Maven +############################## +target/ +pom.xml.tag +pom.xml.releaseBackup +pom.xml.versionsBackup +pom.xml.next +pom.xml.bak +release.properties +dependency-reduced-pom.xml +buildNumber.properties +.mvn/timing.properties +.mvn/wrapper/maven-wrapper.jar + +############################## +## IntelliJ +############################## +out/ +.idea/ +.idea_modules/ +*.iml +*.ipr +*.iws + +############################## +## Eclipse +############################## +.settings/ +bin/ +tmp/ +.metadata +.classpath +.project +*.tmp +*.bak +*.swp +*~.nib +local.properties +.loadpath +.factorypath + +############################## +## NetBeans +############################## +nbproject/private/ +build/ +nbbuild/ +dist/ +nbdist/ +nbactions.xml +nb-configuration.xml + +############################## +## Visual Studio Code +############################## +.vscode/ +.code-workspace + +############################## +## OS X +############################## +.DS_Store diff --git a/.idea/workspace.xml b/.idea/workspace.xml index 29009de..10312a9 100644 --- a/.idea/workspace.xml +++ b/.idea/workspace.xml @@ -2,7 +2,136 @@ - + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + @@ -48,4 +182,15 @@ + + + \ No newline at end of file diff --git a/doc/allclasses-frame.html b/doc/allclasses-frame.html deleted file mode 100644 index c304ca9..0000000 --- a/doc/allclasses-frame.html +++ /dev/null @@ -1,51 +0,0 @@ - - - - - -All Classes - - - - - -

All Classes

-
- -
- - diff --git a/doc/allclasses-noframe.html b/doc/allclasses-noframe.html deleted file mode 100644 index 62184da..0000000 --- a/doc/allclasses-noframe.html +++ /dev/null @@ -1,51 +0,0 @@ - - - - - -All Classes - - - - - -

All Classes

-
- -
- - diff --git a/doc/com/angelbroking/smartapi/Routes.html b/doc/com/angelbroking/smartapi/Routes.html deleted file mode 100644 index 643ad22..0000000 --- a/doc/com/angelbroking/smartapi/Routes.html +++ /dev/null @@ -1,336 +0,0 @@ - - - - - -Routes - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi
-

Class Routes

-
-
- -
-
    -
  • -
    -
    -
    public class Routes
    -extends java.lang.Object
    -
    Generates end-points for all smart api calls. - - Here all the routes are translated into a Java Map.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      java.util.Map<java.lang.String,java.lang.String>routes 
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Routes() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.Stringget(java.lang.String key) 
      java.lang.StringgetLoginUrl() 
      java.lang.StringgetWsuri() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        routes

        -
        public java.util.Map<java.lang.String,java.lang.String> routes
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Routes

        -
        public Routes()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        get

        -
        public java.lang.String get(java.lang.String key)
        -
      • -
      - - - -
        -
      • -

        getLoginUrl

        -
        public java.lang.String getLoginUrl()
        -
      • -
      - - - -
        -
      • -

        getWsuri

        -
        public java.lang.String getWsuri()
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/SmartConnect.html b/doc/com/angelbroking/smartapi/SmartConnect.html deleted file mode 100644 index 0ad6603..0000000 --- a/doc/com/angelbroking/smartapi/SmartConnect.html +++ /dev/null @@ -1,972 +0,0 @@ - - - - - -SmartConnect - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi
-

Class SmartConnect

-
-
- -
-
    -
  • -
    -
    -
    public class SmartConnect
    -extends java.lang.Object
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      SmartConnect() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      OrdercancelOrder(java.lang.String orderId, - java.lang.String variety) -
      Cancels an order.
      -
      org.json.JSONObjectconvertPosition(org.json.JSONObject params) -
      Retrieves conversion.
      -
      UsergenerateSession(java.lang.String clientCode, - java.lang.String password) -
      Do the token exchange with the `request_token` obtained after the login flow, - and retrieve the `access_token` required for all subsequent requests.
      -
      java.lang.StringgetAccessToken() -
      Returns accessToken.
      -
      java.lang.StringgetApiKey() -
      Returns apiKey of the App.
      -
      org.json.JSONObjectgetHolding() -
      Retrieves Holding.
      -
      java.lang.StringgetLoginURL() -
      Retrieves login url
      -
      org.json.JSONObjectgetLTP(java.lang.String exchange, - java.lang.String tradingSymbol, - java.lang.String symboltoken) -
      Retrieves last price.
      -
      java.util.List<Order>getOrderHistory(java.lang.String clientId) -
      Returns list of different stages an order has gone through.
      -
      org.json.JSONObjectgetPosition() -
      Retrieves position.
      -
      UsergetProfile() -
      Get the profile details of the use.
      -
      java.lang.StringgetPublicToken() -
      Returns publicToken.
      -
      org.json.JSONObjectgetRMS() -
      Retrieves RMS.
      -
      java.util.List<Trade>getTrades() -
      Retrieves list of trades executed.
      -
      java.lang.StringgetUserId() -
      Returns userId.
      -
      org.json.JSONObjectlogout() -
      Logs out user by invalidating the access token.
      -
      OrdermodifyOrder(java.lang.String orderId, - OrderParams orderParams, - java.lang.String variety) -
      Modifies an open order.
      -
      OrderplaceOrder(OrderParams orderParams, - java.lang.String variety) -
      Places an order.
      -
      TokenSetrenewAccessToken(java.lang.String accessToken, - java.lang.String refreshToken) -
      Get a new access token using refresh token.
      -
      voidsetAccessToken(java.lang.String accessToken) -
      Set the accessToken received after a successful authentication.
      -
      voidsetApiKey(java.lang.String apiKey) 
      voidsetRefreshToken(java.lang.String refreshToken) -
      Set publicToken.
      -
      voidsetSessionExpiryHook(SessionExpiryHook hook) -
      Registers callback for session error.
      -
      voidsetUserId(java.lang.String id) -
      Set userId.
      -
      java.lang.Stringsha256Hex(java.lang.String str) -
      Hex encodes sha256 output for android support.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - - - - - -
        -
      • -

        ENABLE_LOGGING

        -
        public static boolean ENABLE_LOGGING
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        SmartConnect

        -
        public SmartConnect()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        setApiKey

        -
        public void setApiKey(java.lang.String apiKey)
        -
      • -
      - - - -
        -
      • -

        setSessionExpiryHook

        -
        public void setSessionExpiryHook(SessionExpiryHook hook)
        -
        Registers callback for session error.
        -
        -
        Parameters:
        -
        hook - can be set to get callback when session is expired.
        -
        -
      • -
      - - - -
        -
      • -

        getApiKey

        -
        public java.lang.String getApiKey()
        -                           throws java.lang.NullPointerException
        -
        Returns apiKey of the App.
        -
        -
        Returns:
        -
        String apiKey is returned.
        -
        Throws:
        -
        java.lang.NullPointerException - if _apiKey is not found.
        -
        -
      • -
      - - - -
        -
      • -

        getAccessToken

        -
        public java.lang.String getAccessToken()
        -                                throws java.lang.NullPointerException
        -
        Returns accessToken.
        -
        -
        Returns:
        -
        String access_token is returned.
        -
        Throws:
        -
        java.lang.NullPointerException - if accessToken is null.
        -
        -
      • -
      - - - -
        -
      • -

        getUserId

        -
        public java.lang.String getUserId()
        -                           throws java.lang.NullPointerException
        -
        Returns userId.
        -
        -
        Returns:
        -
        String userId is returned.
        -
        Throws:
        -
        java.lang.NullPointerException - if userId is null.
        -
        -
      • -
      - - - -
        -
      • -

        setUserId

        -
        public void setUserId(java.lang.String id)
        -
        Set userId.
        -
        -
        Parameters:
        -
        id - is user_id.
        -
        -
      • -
      - - - -
        -
      • -

        getPublicToken

        -
        public java.lang.String getPublicToken()
        -                                throws java.lang.NullPointerException
        -
        Returns publicToken.
        -
        -
        Returns:
        -
        String public token is returned.
        -
        Throws:
        -
        java.lang.NullPointerException - if publicToken is null.
        -
        -
      • -
      - - - -
        -
      • -

        setAccessToken

        -
        public void setAccessToken(java.lang.String accessToken)
        -
        Set the accessToken received after a successful authentication.
        -
        -
        Parameters:
        -
        accessToken - is the access token received after sending request token - and api secret.
        -
        -
      • -
      - - - -
        -
      • -

        setRefreshToken

        -
        public void setRefreshToken(java.lang.String refreshToken)
        -
        Set publicToken.
        -
        -
        Parameters:
        -
        publicToken - is the public token received after sending request token - and api secret.
        -
        -
      • -
      - - - -
        -
      • -

        getLoginURL

        -
        public java.lang.String getLoginURL()
        -                             throws java.lang.NullPointerException
        -
        Retrieves login url
        -
        -
        Returns:
        -
        String loginUrl is returned.
        -
        Throws:
        -
        java.lang.NullPointerException
        -
        -
      • -
      - - - -
        -
      • -

        generateSession

        -
        public User generateSession(java.lang.String clientCode,
        -                            java.lang.String password)
        -                     throws SmartAPIException,
        -                            org.json.JSONException,
        -                            java.io.IOException
        -
        Do the token exchange with the `request_token` obtained after the login flow, - and retrieve the `access_token` required for all subsequent requests.
        -
        -
        Parameters:
        -
        requestToken - received from login process.
        -
        apiSecret - which is unique for each aap.
        -
        Returns:
        -
        User is the user model which contains user and session details.
        -
        Throws:
        -
        SmartAPIException
        -
        SmartAPIException - is thrown for all SmartAPI trade related errors.
        -
        org.json.JSONException - is thrown when there is exception while parsing - response.
        -
        java.io.IOException - is thrown when there is connection error.
        -
        -
      • -
      - - - -
        -
      • -

        renewAccessToken

        -
        public TokenSet renewAccessToken(java.lang.String accessToken,
        -                                 java.lang.String refreshToken)
        -                          throws java.io.IOException,
        -                                 SmartAPIException,
        -                                 org.json.JSONException
        -
        Get a new access token using refresh token.
        -
        -
        Parameters:
        -
        refreshToken - is the refresh token obtained after generateSession.
        -
        apiSecret - is unique for each app.
        -
        Returns:
        -
        TokenSet contains user id, refresh token, api secret.
        -
        Throws:
        -
        java.io.IOException - is thrown when there is connection error.
        -
        SmartAPIException - is thrown for all SmartAPI trade related errors.
        -
        org.json.JSONException
        -
        -
      • -
      - - - -
        -
      • -

        sha256Hex

        -
        public java.lang.String sha256Hex(java.lang.String str)
        -
        Hex encodes sha256 output for android support.
        -
        -
        Parameters:
        -
        str - is the String that has to be encrypted.
        -
        Returns:
        -
        Hex encoded String.
        -
        -
      • -
      - - - -
        -
      • -

        getProfile

        -
        public User getProfile()
        -                throws java.io.IOException,
        -                       SmartAPIException,
        -                       org.json.JSONException
        -
        Get the profile details of the use.
        -
        -
        Returns:
        -
        Profile is a POJO which contains profile related data.
        -
        Throws:
        -
        java.io.IOException - is thrown when there is connection error.
        -
        SmartAPIException - is thrown for all SmartAPI trade related errors.
        -
        org.json.JSONException
        -
        -
      • -
      - - - -
        -
      • -

        placeOrder

        -
        public Order placeOrder(OrderParams orderParams,
        -                        java.lang.String variety)
        -                 throws SmartAPIException,
        -                        org.json.JSONException,
        -                        java.io.IOException
        -
        Places an order.
        -
        -
        Parameters:
        -
        orderParams - is Order params.
        -
        variety - variety="regular". Order variety can be bo, co, amo, - regular.
        -
        Returns:
        -
        Order contains only orderId.
        -
        Throws:
        -
        SmartAPIException - is thrown for all SmartAPI trade related errors.
        -
        org.json.JSONException - is thrown when there is exception while parsing - response.
        -
        java.io.IOException - is thrown when there is connection error.
        -
        -
      • -
      - - - -
        -
      • -

        modifyOrder

        -
        public Order modifyOrder(java.lang.String orderId,
        -                         OrderParams orderParams,
        -                         java.lang.String variety)
        -                  throws SmartAPIException,
        -                         org.json.JSONException,
        -                         java.io.IOException
        -
        Modifies an open order.
        -
        -
        Parameters:
        -
        orderParams - is Order params.
        -
        variety - variety="regular". Order variety can be bo, co, amo, - regular.
        -
        orderId - order id of the order being modified.
        -
        Returns:
        -
        Order object contains only orderId.
        -
        Throws:
        -
        SmartAPIException - is thrown for all SmartAPI trade related errors.
        -
        org.json.JSONException - is thrown when there is exception while parsing - response.
        -
        java.io.IOException - is thrown when there is connection error.
        -
        -
      • -
      - - - -
        -
      • -

        cancelOrder

        -
        public Order cancelOrder(java.lang.String orderId,
        -                         java.lang.String variety)
        -                  throws SmartAPIException,
        -                         org.json.JSONException,
        -                         java.io.IOException
        -
        Cancels an order.
        -
        -
        Parameters:
        -
        orderId - order id of the order to be cancelled.
        -
        variety - [variety="regular"]. Order variety can be bo, co, amo, - regular.
        -
        Returns:
        -
        Order object contains only orderId.
        -
        Throws:
        -
        SmartAPIException - is thrown for all Angel trade related errors.
        -
        org.json.JSONException - is thrown when there is exception while parsing - response.
        -
        java.io.IOException - is thrown when there is connection error.
        -
        -
      • -
      - - - -
        -
      • -

        getOrderHistory

        -
        public java.util.List<Order> getOrderHistory(java.lang.String clientId)
        -                                      throws SmartAPIException,
        -                                             java.io.IOException,
        -                                             org.json.JSONException
        -
        Returns list of different stages an order has gone through.
        -
        -
        Parameters:
        -
        orderId - is the order id which is obtained from orderbook.
        -
        Returns:
        -
        List of multiple stages an order has gone through in the system.
        -
        Throws:
        -
        SmartAPIException - is thrown for all Smart API trade related errors.
        -
        SmartAPIException - is thrown for all Smart API trade related errors.
        -
        java.io.IOException - is thrown when there is connection error.
        -
        org.json.JSONException
        -
        -
      • -
      - - - -
        -
      • -

        getLTP

        -
        public org.json.JSONObject getLTP(java.lang.String exchange,
        -                                  java.lang.String tradingSymbol,
        -                                  java.lang.String symboltoken)
        -                           throws SmartAPIException,
        -                                  java.io.IOException,
        -                                  org.json.JSONException
        -
        Retrieves last price. User can either pass exchange with tradingsymbol or - instrument token only. For example {NSE:NIFTY 50, BSE:SENSEX} or {256265, - 265}.
        -
        -
        Parameters:
        -
        instruments - is the array of tradingsymbol and exchange or instruments - token.
        -
        Returns:
        -
        Map of String and LTPQuote.
        -
        Throws:
        -
        SmartAPIException - is thrown for all Smart API trade related errors.
        -
        java.io.IOException - is thrown when there is connection related error.
        -
        org.json.JSONException
        -
        -
      • -
      - - - -
        -
      • -

        getTrades

        -
        public java.util.List<Trade> getTrades()
        -                                throws SmartAPIException,
        -                                       org.json.JSONException,
        -                                       java.io.IOException
        -
        Retrieves list of trades executed.
        -
        -
        Returns:
        -
        List of trades.
        -
        Throws:
        -
        SmartAPIException - is thrown for all Smart API trade related errors.
        -
        org.json.JSONException - is thrown when there is exception while parsing - response.
        -
        java.io.IOException - is thrown when there is connection error.
        -
        -
      • -
      - - - -
        -
      • -

        getRMS

        -
        public org.json.JSONObject getRMS()
        -                           throws org.json.JSONException,
        -                                  java.io.IOException,
        -                                  SmartAPIException
        -
        Retrieves RMS.
        -
        -
        Returns:
        -
        Object of RMS.
        -
        Throws:
        -
        SmartAPIException - is thrown for all Smart API trade related errors.
        -
        org.json.JSONException - is thrown when there is exception while parsing - response.
        -
        java.io.IOException - is thrown when there is connection error.
        -
        -
      • -
      - - - -
        -
      • -

        getHolding

        -
        public org.json.JSONObject getHolding()
        -                               throws org.json.JSONException,
        -                                      java.io.IOException,
        -                                      SmartAPIException
        -
        Retrieves Holding.
        -
        -
        Returns:
        -
        Object of Holding.
        -
        Throws:
        -
        SmartAPIException - is thrown for all Smart API trade related errors.
        -
        org.json.JSONException - is thrown when there is exception while parsing - response.
        -
        java.io.IOException - is thrown when there is connection error.
        -
        -
      • -
      - - - -
        -
      • -

        getPosition

        -
        public org.json.JSONObject getPosition()
        -                                throws org.json.JSONException,
        -                                       java.io.IOException,
        -                                       SmartAPIException
        -
        Retrieves position.
        -
        -
        Returns:
        -
        Object of position.
        -
        Throws:
        -
        SmartAPIException - is thrown for all Smart API trade related errors.
        -
        org.json.JSONException - is thrown when there is exception while parsing - response.
        -
        java.io.IOException - is thrown when there is connection error.
        -
        -
      • -
      - - - -
        -
      • -

        convertPosition

        -
        public org.json.JSONObject convertPosition(org.json.JSONObject params)
        -                                    throws SmartAPIException,
        -                                           java.io.IOException,
        -                                           org.json.JSONException
        -
        Retrieves conversion.
        -
        -
        Returns:
        -
        Object of conversion.
        -
        Throws:
        -
        SmartAPIException - is thrown for all Smart API trade related errors.
        -
        org.json.JSONException - is thrown when there is exception while parsing - response.
        -
        java.io.IOException - is thrown when there is connection error.
        -
        -
      • -
      - - - -
        -
      • -

        logout

        -
        public org.json.JSONObject logout()
        -                           throws SmartAPIException,
        -                                  java.io.IOException,
        -                                  org.json.JSONException
        -
        Logs out user by invalidating the access token.
        -
        -
        Returns:
        -
        JSONObject which contains status
        -
        Throws:
        -
        SmartAPIException - is thrown for all Smart API trade related errors.
        -
        java.io.IOException - is thrown when there is connection related error.
        -
        org.json.JSONException
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/class-use/Routes.html b/doc/com/angelbroking/smartapi/class-use/Routes.html deleted file mode 100644 index 36056e1..0000000 --- a/doc/com/angelbroking/smartapi/class-use/Routes.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class com.angelbroking.smartapi.Routes - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
com.angelbroking.smartapi.Routes

-
-
No usage of com.angelbroking.smartapi.Routes
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/class-use/SmartConnect.html b/doc/com/angelbroking/smartapi/class-use/SmartConnect.html deleted file mode 100644 index 71faf66..0000000 --- a/doc/com/angelbroking/smartapi/class-use/SmartConnect.html +++ /dev/null @@ -1,230 +0,0 @@ - - - - - -Uses of Class com.angelbroking.smartapi.SmartConnect - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
com.angelbroking.smartapi.SmartConnect

-
-
- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/http/SessionExpiryHook.html b/doc/com/angelbroking/smartapi/http/SessionExpiryHook.html deleted file mode 100644 index c50b137..0000000 --- a/doc/com/angelbroking/smartapi/http/SessionExpiryHook.html +++ /dev/null @@ -1,222 +0,0 @@ - - - - - -SessionExpiryHook - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi.http
-

Interface SessionExpiryHook

-
-
-
-
    -
  • -
    -
    -
    public interface SessionExpiryHook
    -
    A callback whenever there is a token expiry
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        sessionExpired

        -
        void sessionExpired()
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/http/SmartAPIRequestHandler.html b/doc/com/angelbroking/smartapi/http/SmartAPIRequestHandler.html deleted file mode 100644 index eb2cd21..0000000 --- a/doc/com/angelbroking/smartapi/http/SmartAPIRequestHandler.html +++ /dev/null @@ -1,712 +0,0 @@ - - - - - -SmartAPIRequestHandler - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi.http
-

Class SmartAPIRequestHandler

-
-
- -
-
    -
  • -
    -
    -
    public class SmartAPIRequestHandler
    -extends java.lang.Object
    -
    Request handler for all Http requests
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      SmartAPIRequestHandler(java.net.Proxy proxy) -
      Initialize request handler.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      okhttp3.RequestcreateDeleteRequest(java.lang.String url, - java.util.Map<java.lang.String,java.lang.Object> params, - java.lang.String apiKey, - java.lang.String accessToken) -
      Creates a DELETE request.
      -
      okhttp3.RequestcreateGetRequest(java.lang.String apiKey, - java.lang.String url, - java.lang.String accessToken) -
      Creates a GET request.
      -
      okhttp3.RequestcreateGetRequest(java.lang.String url, - java.lang.String commonKey, - java.lang.String[] values, - java.lang.String apiKey, - java.lang.String accessToken) -
      Creates a GET request.
      -
      okhttp3.RequestcreateJsonPostRequest(java.lang.String url, - org.json.JSONArray jsonArray, - java.lang.String apiKey, - java.lang.String accessToken) -
      Create a POST request with body type JSON.
      -
      okhttp3.RequestcreatePostRequest(java.lang.String apiKey, - java.lang.String url, - org.json.JSONObject params) -
      Creates a POST request.
      -
      okhttp3.RequestcreatePostRequest(java.lang.String apiKey, - java.lang.String url, - org.json.JSONObject params, - java.lang.String accessToken) -
      Creates a POST request.
      -
      okhttp3.RequestcreatePutRequest(java.lang.String url, - java.util.Map<java.lang.String,java.lang.Object> params, - java.lang.String apiKey, - java.lang.String accessToken) -
      Creates a PUT request.
      -
      org.json.JSONObjectdeleteRequest(java.lang.String url, - java.util.Map<java.lang.String,java.lang.Object> params, - java.lang.String apiKey, - java.lang.String accessToken) -
      Makes a DELETE request.
      -
      org.json.JSONObjectgetRequest(java.lang.String apiKey, - java.lang.String url, - java.lang.String accessToken) -
      Makes a GET request.
      -
      org.json.JSONObjectpostRequest(java.lang.String apiKey, - java.lang.String url, - org.json.JSONObject params) -
      Makes a POST request.
      -
      org.json.JSONObjectpostRequest(java.lang.String apiKey, - java.lang.String url, - org.json.JSONObject params, - java.lang.String accessToken) -
      Makes a POST request.
      -
      org.json.JSONObjectpostRequestJSON(java.lang.String url, - org.json.JSONArray jsonArray, - java.lang.String apiKey, - java.lang.String accessToken) -
      Make a JSON POST request.
      -
      org.json.JSONObjectputRequest(java.lang.String url, - java.util.Map<java.lang.String,java.lang.Object> params, - java.lang.String apiKey, - java.lang.String accessToken) -
      Makes a PUT request.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        SmartAPIRequestHandler

        -
        public SmartAPIRequestHandler(java.net.Proxy proxy)
        -
        Initialize request handler.
        -
        -
        Parameters:
        -
        proxy - to be set for making requests.
        -
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        postRequest

        -
        public org.json.JSONObject postRequest(java.lang.String apiKey,
        -                                       java.lang.String url,
        -                                       org.json.JSONObject params)
        -                                throws java.io.IOException,
        -                                       org.json.JSONException,
        -                                       SmartAPIException
        -
        Makes a POST request.
        -
        -
        Parameters:
        -
        url - is the endpoint to which request has to be sent.
        -
        accessToken - is the access token obtained after successful login - process.
        -
        params - is the map of params which has to be sent in the body.
        -
        Returns:
        -
        JSONObject which is received by Smart API.
        -
        Throws:
        -
        java.io.IOException - is thrown when there is a connection related error.
        -
        SmartAPIException - is thrown for all Smart API Trade related errors.
        -
        org.json.JSONException - is thrown for parsing errors.
        -
        -
      • -
      - - - -
        -
      • -

        postRequest

        -
        public org.json.JSONObject postRequest(java.lang.String apiKey,
        -                                       java.lang.String url,
        -                                       org.json.JSONObject params,
        -                                       java.lang.String accessToken)
        -                                throws java.io.IOException,
        -                                       SmartAPIException,
        -                                       org.json.JSONException
        -
        Makes a POST request.
        -
        -
        Parameters:
        -
        url - is the endpoint to which request has to be sent.
        -
        apiKey - is the api key of the Smart API Connect app.
        -
        accessToken - is the access token obtained after successful login - process.
        -
        params - is the map of params which has to be sent in the body.
        -
        Returns:
        -
        JSONObject which is received by Smart API Trade.
        -
        Throws:
        -
        java.io.IOException - is thrown when there is a connection related error.
        -
        SmartAPIException - is thrown for all Smart API Trade related errors.
        -
        org.json.JSONException - is thrown for parsing errors.
        -
        -
      • -
      - - - -
        -
      • -

        postRequestJSON

        -
        public org.json.JSONObject postRequestJSON(java.lang.String url,
        -                                           org.json.JSONArray jsonArray,
        -                                           java.lang.String apiKey,
        -                                           java.lang.String accessToken)
        -                                    throws java.io.IOException,
        -                                           SmartAPIException,
        -                                           org.json.JSONException
        -
        Make a JSON POST request.
        -
        -
        Parameters:
        -
        url - is the endpoint to which request has to be sent.
        -
        apiKey - is the api key of the Smart API Connect app.
        -
        accessToken - is the access token obtained after successful login - process.
        -
        jsonArray - is the JSON array of params which has to be sent in the - body.
        -
        Throws:
        -
        java.io.IOException - is thrown when there is a connection related error.
        -
        SmartAPIException - is thrown for all Smart API Trade related errors.
        -
        org.json.JSONException - is thrown for parsing errors.
        -
        -
      • -
      - - - -
        -
      • -

        putRequest

        -
        public org.json.JSONObject putRequest(java.lang.String url,
        -                                      java.util.Map<java.lang.String,java.lang.Object> params,
        -                                      java.lang.String apiKey,
        -                                      java.lang.String accessToken)
        -                               throws java.io.IOException,
        -                                      SmartAPIException,
        -                                      org.json.JSONException
        -
        Makes a PUT request.
        -
        -
        Parameters:
        -
        url - is the endpoint to which request has to be sent.
        -
        apiKey - is the api key of the Smart API Connect app.
        -
        accessToken - is the access token obtained after successful login - process.
        -
        params - is the map of params which has to be sent in the body.
        -
        Returns:
        -
        JSONObject which is received by Smart API Trade.
        -
        Throws:
        -
        java.io.IOException - is thrown when there is a connection related error.
        -
        SmartAPIException - is thrown for all Smart API Trade related errors.
        -
        org.json.JSONException - is thrown for parsing errors.
        -
        -
      • -
      - - - -
        -
      • -

        deleteRequest

        -
        public org.json.JSONObject deleteRequest(java.lang.String url,
        -                                         java.util.Map<java.lang.String,java.lang.Object> params,
        -                                         java.lang.String apiKey,
        -                                         java.lang.String accessToken)
        -                                  throws java.io.IOException,
        -                                         SmartAPIException,
        -                                         org.json.JSONException
        -
        Makes a DELETE request.
        -
        -
        Parameters:
        -
        url - is the endpoint to which request has to be sent.
        -
        apiKey - is the api key of the Smart API Connect app.
        -
        accessToken - is the access token obtained after successful login - process.
        -
        params - is the map of params which has to be sent in the query - params.
        -
        Returns:
        -
        JSONObject which is received by Smart API Trade.
        -
        Throws:
        -
        java.io.IOException - is thrown when there is a connection related error.
        -
        SmartAPIException - is thrown for all Smart API Trade related errors.
        -
        org.json.JSONException - is thrown for parsing errors.
        -
        -
      • -
      - - - -
        -
      • -

        getRequest

        -
        public org.json.JSONObject getRequest(java.lang.String apiKey,
        -                                      java.lang.String url,
        -                                      java.lang.String accessToken)
        -                               throws java.io.IOException,
        -                                      SmartAPIException,
        -                                      org.json.JSONException
        -
        Makes a GET request.
        -
        -
        Parameters:
        -
        url - is the endpoint to which request has to be sent.
        -
        apiKey - is the api key of the Smart API Connect app.
        -
        accessToken - is the access token obtained after successful login - process.
        -
        commonKey - is the key that has to be sent in query param for quote - calls.
        -
        values - is the values that has to be sent in query param like 265, - 256265, NSE:INFY.
        -
        Returns:
        -
        JSONObject which is received by Smart API Trade.
        -
        Throws:
        -
        java.io.IOException - is thrown when there is a connection related error.
        -
        SmartAPIException - is thrown for all Smart API Trade related errors.
        -
        org.json.JSONException - is thrown for parsing errors.
        -
        -
      • -
      - - - -
        -
      • -

        createGetRequest

        -
        public okhttp3.Request createGetRequest(java.lang.String apiKey,
        -                                        java.lang.String url,
        -                                        java.lang.String accessToken)
        -                                 throws java.io.IOException
        -
        Creates a GET request.
        -
        -
        Parameters:
        -
        url - is the endpoint to which request has to be done.
        -
        apiKey - is the api key of the Smart API Connect app.
        -
        accessToken - is the access token obtained after successful login - process.
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      - - - -
        -
      • -

        createGetRequest

        -
        public okhttp3.Request createGetRequest(java.lang.String url,
        -                                        java.lang.String commonKey,
        -                                        java.lang.String[] values,
        -                                        java.lang.String apiKey,
        -                                        java.lang.String accessToken)
        -
        Creates a GET request.
        -
        -
        Parameters:
        -
        url - is the endpoint to which request has to be done.
        -
        apiKey - is the api key of the Smart API Connect app.
        -
        accessToken - is the access token obtained after successful login - process.
        -
        commonKey - is the key that has to be sent in query param for quote - calls.
        -
        values - is the values that has to be sent in query param like 265, - 256265, NSE:INFY.
        -
        -
      • -
      - - - -
        -
      • -

        createPostRequest

        -
        public okhttp3.Request createPostRequest(java.lang.String apiKey,
        -                                         java.lang.String url,
        -                                         org.json.JSONObject params)
        -
        Creates a POST request.
        -
        -
        Parameters:
        -
        url - is the endpoint to which request has to be done.
        -
        apiKey - is the api key of the Smart API Connect app.
        -
        accessToken - is the access token obtained after successful login - process.
        -
        params - is the map of data that has to be sent in the body.
        -
        -
      • -
      - - - -
        -
      • -

        createPostRequest

        -
        public okhttp3.Request createPostRequest(java.lang.String apiKey,
        -                                         java.lang.String url,
        -                                         org.json.JSONObject params,
        -                                         java.lang.String accessToken)
        -
        Creates a POST request.
        -
        -
        Parameters:
        -
        url - is the endpoint to which request has to be done.
        -
        apiKey - is the api key of the Smart API Connect app.
        -
        accessToken - is the access token obtained after successful login - process.
        -
        params - is the map of data that has to be sent in the body.
        -
        -
      • -
      - - - -
        -
      • -

        createJsonPostRequest

        -
        public okhttp3.Request createJsonPostRequest(java.lang.String url,
        -                                             org.json.JSONArray jsonArray,
        -                                             java.lang.String apiKey,
        -                                             java.lang.String accessToken)
        -
        Create a POST request with body type JSON.
        -
        -
        Parameters:
        -
        url - is the endpoint to which request has to be done.
        -
        apiKey - is the api key of the Smart API Connect app.
        -
        accessToken - is the access token obtained after successful login - process.
        -
        jsonArray - is the JSONArray of data that has to be sent in the body.
        -
        -
      • -
      - - - -
        -
      • -

        createPutRequest

        -
        public okhttp3.Request createPutRequest(java.lang.String url,
        -                                        java.util.Map<java.lang.String,java.lang.Object> params,
        -                                        java.lang.String apiKey,
        -                                        java.lang.String accessToken)
        -
        Creates a PUT request.
        -
        -
        Parameters:
        -
        url - is the endpoint to which request has to be done.
        -
        apiKey - is the api key of the Smart API Connect app.
        -
        accessToken - is the access token obtained after successful login - process.
        -
        params - is the map of data that has to be sent in the body.
        -
        -
      • -
      - - - -
        -
      • -

        createDeleteRequest

        -
        public okhttp3.Request createDeleteRequest(java.lang.String url,
        -                                           java.util.Map<java.lang.String,java.lang.Object> params,
        -                                           java.lang.String apiKey,
        -                                           java.lang.String accessToken)
        -
        Creates a DELETE request.
        -
        -
        Parameters:
        -
        url - is the endpoint to which request has to be done.
        -
        apiKey - is the api key of the Smart API Connect app.
        -
        accessToken - is the access token obtained after successful login - process.
        -
        params - is the map of data that has to be sent in the query - params.
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/http/SmartAPIResponseHandler.html b/doc/com/angelbroking/smartapi/http/SmartAPIResponseHandler.html deleted file mode 100644 index c91068e..0000000 --- a/doc/com/angelbroking/smartapi/http/SmartAPIResponseHandler.html +++ /dev/null @@ -1,283 +0,0 @@ - - - - - -SmartAPIResponseHandler - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi.http
-

Class SmartAPIResponseHandler

-
-
- -
-
    -
  • -
    -
    -
    public class SmartAPIResponseHandler
    -extends java.lang.Object
    -
    Response handler for handling all the responses.
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      org.json.JSONObjecthandle(okhttp3.Response response, - java.lang.String body) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        SmartAPIResponseHandler

        -
        public SmartAPIResponseHandler()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        handle

        -
        public org.json.JSONObject handle(okhttp3.Response response,
        -                                  java.lang.String body)
        -                           throws java.io.IOException,
        -                                  SmartAPIException,
        -                                  org.json.JSONException
        -
        -
        Throws:
        -
        java.io.IOException
        -
        SmartAPIException
        -
        org.json.JSONException
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/http/class-use/SessionExpiryHook.html b/doc/com/angelbroking/smartapi/http/class-use/SessionExpiryHook.html deleted file mode 100644 index 1a20ede..0000000 --- a/doc/com/angelbroking/smartapi/http/class-use/SessionExpiryHook.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - -Uses of Interface com.angelbroking.smartapi.http.SessionExpiryHook - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Interface
com.angelbroking.smartapi.http.SessionExpiryHook

-
-
- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/http/class-use/SmartAPIRequestHandler.html b/doc/com/angelbroking/smartapi/http/class-use/SmartAPIRequestHandler.html deleted file mode 100644 index e5b8eff..0000000 --- a/doc/com/angelbroking/smartapi/http/class-use/SmartAPIRequestHandler.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class com.angelbroking.smartapi.http.SmartAPIRequestHandler - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
com.angelbroking.smartapi.http.SmartAPIRequestHandler

-
-
No usage of com.angelbroking.smartapi.http.SmartAPIRequestHandler
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/http/class-use/SmartAPIResponseHandler.html b/doc/com/angelbroking/smartapi/http/class-use/SmartAPIResponseHandler.html deleted file mode 100644 index 9f3e4a6..0000000 --- a/doc/com/angelbroking/smartapi/http/class-use/SmartAPIResponseHandler.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class com.angelbroking.smartapi.http.SmartAPIResponseHandler - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
com.angelbroking.smartapi.http.SmartAPIResponseHandler

-
-
No usage of com.angelbroking.smartapi.http.SmartAPIResponseHandler
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/http/exceptions/DataException.html b/doc/com/angelbroking/smartapi/http/exceptions/DataException.html deleted file mode 100644 index f262fe9..0000000 --- a/doc/com/angelbroking/smartapi/http/exceptions/DataException.html +++ /dev/null @@ -1,287 +0,0 @@ - - - - - -DataException - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi.http.exceptions
-

Class DataException

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable
    -
    -
    -
    -
    public class DataException
    -extends SmartAPIException
    -
    Exceptions raised when invalid data is returned from Smart API trade.
    -
    -
    See Also:
    -
    Serialized Form
    -
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      DataException(java.lang.String message, - java.lang.String code) 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - -
        -
      • - - -

        Methods inherited from class java.lang.Throwable

        -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        DataException

        -
        public DataException(java.lang.String message,
        -                     java.lang.String code)
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/http/exceptions/GeneralException.html b/doc/com/angelbroking/smartapi/http/exceptions/GeneralException.html deleted file mode 100644 index 713533d..0000000 --- a/doc/com/angelbroking/smartapi/http/exceptions/GeneralException.html +++ /dev/null @@ -1,287 +0,0 @@ - - - - - -GeneralException - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi.http.exceptions
-

Class GeneralException

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable
    -
    -
    -
    -
    public class GeneralException
    -extends SmartAPIException
    -
    An unclassified, general error. Default code is 500
    -
    -
    See Also:
    -
    Serialized Form
    -
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      GeneralException(java.lang.String message, - java.lang.String code) 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - -
        -
      • - - -

        Methods inherited from class java.lang.Throwable

        -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        GeneralException

        -
        public GeneralException(java.lang.String message,
        -                        java.lang.String code)
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/http/exceptions/InputException.html b/doc/com/angelbroking/smartapi/http/exceptions/InputException.html deleted file mode 100644 index 67e93fa..0000000 --- a/doc/com/angelbroking/smartapi/http/exceptions/InputException.html +++ /dev/null @@ -1,288 +0,0 @@ - - - - - -InputException - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi.http.exceptions
-

Class InputException

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable
    -
    -
    -
    -
    public class InputException
    -extends SmartAPIException
    -
    Represents user input errors such as missing and invalid parameters. - Default code is 400.
    -
    -
    See Also:
    -
    Serialized Form
    -
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      InputException(java.lang.String message, - java.lang.String code) 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - -
        -
      • - - -

        Methods inherited from class java.lang.Throwable

        -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        InputException

        -
        public InputException(java.lang.String message,
        -                      java.lang.String code)
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/http/exceptions/NetworkException.html b/doc/com/angelbroking/smartapi/http/exceptions/NetworkException.html deleted file mode 100644 index e0dbea3..0000000 --- a/doc/com/angelbroking/smartapi/http/exceptions/NetworkException.html +++ /dev/null @@ -1,288 +0,0 @@ - - - - - -NetworkException - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi.http.exceptions
-

Class NetworkException

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable
    -
    -
    -
    -
    public class NetworkException
    -extends SmartAPIException
    -
    Represents a network issue between Smart API and the backend Order Management System (OMS). - Default code is 503.
    -
    -
    See Also:
    -
    Serialized Form
    -
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      NetworkException(java.lang.String message, - java.lang.String code) 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - -
        -
      • - - -

        Methods inherited from class java.lang.Throwable

        -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        NetworkException

        -
        public NetworkException(java.lang.String message,
        -                        java.lang.String code)
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/http/exceptions/OrderException.html b/doc/com/angelbroking/smartapi/http/exceptions/OrderException.html deleted file mode 100644 index 34beccd..0000000 --- a/doc/com/angelbroking/smartapi/http/exceptions/OrderException.html +++ /dev/null @@ -1,288 +0,0 @@ - - - - - -OrderException - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi.http.exceptions
-

Class OrderException

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable
    -
    -
    -
    -
    public class OrderException
    -extends SmartAPIException
    -
    Represents all order placement and manipulation errors. - Default code is 500.
    -
    -
    See Also:
    -
    Serialized Form
    -
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      OrderException(java.lang.String message, - java.lang.String code) 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - -
        -
      • - - -

        Methods inherited from class java.lang.Throwable

        -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        OrderException

        -
        public OrderException(java.lang.String message,
        -                      java.lang.String code)
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/http/exceptions/PermissionException.html b/doc/com/angelbroking/smartapi/http/exceptions/PermissionException.html deleted file mode 100644 index 70db1ea..0000000 --- a/doc/com/angelbroking/smartapi/http/exceptions/PermissionException.html +++ /dev/null @@ -1,288 +0,0 @@ - - - - - -PermissionException - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi.http.exceptions
-

Class PermissionException

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable
    -
    -
    -
    -
    public class PermissionException
    -extends SmartAPIException
    -
    Represents permission denied exceptions for certain calls. - Default code is 403
    -
    -
    See Also:
    -
    Serialized Form
    -
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      PermissionException(java.lang.String message, - java.lang.String code) 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - -
        -
      • - - -

        Methods inherited from class java.lang.Throwable

        -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        PermissionException

        -
        public PermissionException(java.lang.String message,
        -                           java.lang.String code)
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/http/exceptions/SmartAPIException.html b/doc/com/angelbroking/smartapi/http/exceptions/SmartAPIException.html deleted file mode 100644 index 44b51e4..0000000 --- a/doc/com/angelbroking/smartapi/http/exceptions/SmartAPIException.html +++ /dev/null @@ -1,364 +0,0 @@ - - - - - -SmartAPIException - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi.http.exceptions
-

Class SmartAPIException

-
-
- -
- -
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      java.lang.Stringcode 
      java.lang.Stringmessage 
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - - - - -
      Constructors 
      Constructor and Description
      SmartAPIException(java.lang.String message) 
      SmartAPIException(java.lang.String message, - java.lang.String code) 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.StringtoString() 
      -
        -
      • - - -

        Methods inherited from class java.lang.Throwable

        -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        message

        -
        public java.lang.String message
        -
      • -
      - - - -
        -
      • -

        code

        -
        public java.lang.String code
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        SmartAPIException

        -
        public SmartAPIException(java.lang.String message,
        -                         java.lang.String code)
        -
      • -
      - - - -
        -
      • -

        SmartAPIException

        -
        public SmartAPIException(java.lang.String message)
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Throwable
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/http/exceptions/TokenException.html b/doc/com/angelbroking/smartapi/http/exceptions/TokenException.html deleted file mode 100644 index 8aeebca..0000000 --- a/doc/com/angelbroking/smartapi/http/exceptions/TokenException.html +++ /dev/null @@ -1,287 +0,0 @@ - - - - - -TokenException - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi.http.exceptions
-

Class TokenException

-
-
- -
-
    -
  • -
    -
    All Implemented Interfaces:
    -
    java.io.Serializable
    -
    -
    -
    -
    public class TokenException
    -extends SmartAPIException
    -
    Denotes session is expired.
    -
    -
    See Also:
    -
    Serialized Form
    -
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      TokenException(java.lang.String message, - java.lang.String code) 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - -
        -
      • - - -

        Methods inherited from class java.lang.Throwable

        -addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        TokenException

        -
        public TokenException(java.lang.String message,
        -                      java.lang.String code)
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/http/exceptions/class-use/DataException.html b/doc/com/angelbroking/smartapi/http/exceptions/class-use/DataException.html deleted file mode 100644 index 9f4cd34..0000000 --- a/doc/com/angelbroking/smartapi/http/exceptions/class-use/DataException.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class com.angelbroking.smartapi.http.exceptions.DataException - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
com.angelbroking.smartapi.http.exceptions.DataException

-
-
No usage of com.angelbroking.smartapi.http.exceptions.DataException
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/http/exceptions/class-use/GeneralException.html b/doc/com/angelbroking/smartapi/http/exceptions/class-use/GeneralException.html deleted file mode 100644 index be236c8..0000000 --- a/doc/com/angelbroking/smartapi/http/exceptions/class-use/GeneralException.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class com.angelbroking.smartapi.http.exceptions.GeneralException - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
com.angelbroking.smartapi.http.exceptions.GeneralException

-
-
No usage of com.angelbroking.smartapi.http.exceptions.GeneralException
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/http/exceptions/class-use/InputException.html b/doc/com/angelbroking/smartapi/http/exceptions/class-use/InputException.html deleted file mode 100644 index a173bfe..0000000 --- a/doc/com/angelbroking/smartapi/http/exceptions/class-use/InputException.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class com.angelbroking.smartapi.http.exceptions.InputException - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
com.angelbroking.smartapi.http.exceptions.InputException

-
-
No usage of com.angelbroking.smartapi.http.exceptions.InputException
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/http/exceptions/class-use/NetworkException.html b/doc/com/angelbroking/smartapi/http/exceptions/class-use/NetworkException.html deleted file mode 100644 index b2e2b02..0000000 --- a/doc/com/angelbroking/smartapi/http/exceptions/class-use/NetworkException.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class com.angelbroking.smartapi.http.exceptions.NetworkException - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
com.angelbroking.smartapi.http.exceptions.NetworkException

-
-
No usage of com.angelbroking.smartapi.http.exceptions.NetworkException
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/http/exceptions/class-use/OrderException.html b/doc/com/angelbroking/smartapi/http/exceptions/class-use/OrderException.html deleted file mode 100644 index 343539e..0000000 --- a/doc/com/angelbroking/smartapi/http/exceptions/class-use/OrderException.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class com.angelbroking.smartapi.http.exceptions.OrderException - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
com.angelbroking.smartapi.http.exceptions.OrderException

-
-
No usage of com.angelbroking.smartapi.http.exceptions.OrderException
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/http/exceptions/class-use/PermissionException.html b/doc/com/angelbroking/smartapi/http/exceptions/class-use/PermissionException.html deleted file mode 100644 index 2af8015..0000000 --- a/doc/com/angelbroking/smartapi/http/exceptions/class-use/PermissionException.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class com.angelbroking.smartapi.http.exceptions.PermissionException - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
com.angelbroking.smartapi.http.exceptions.PermissionException

-
-
No usage of com.angelbroking.smartapi.http.exceptions.PermissionException
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/http/exceptions/class-use/SmartAPIException.html b/doc/com/angelbroking/smartapi/http/exceptions/class-use/SmartAPIException.html deleted file mode 100644 index ce6ad13..0000000 --- a/doc/com/angelbroking/smartapi/http/exceptions/class-use/SmartAPIException.html +++ /dev/null @@ -1,528 +0,0 @@ - - - - - -Uses of Class com.angelbroking.smartapi.http.exceptions.SmartAPIException - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
com.angelbroking.smartapi.http.exceptions.SmartAPIException

-
-
- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/http/exceptions/class-use/TokenException.html b/doc/com/angelbroking/smartapi/http/exceptions/class-use/TokenException.html deleted file mode 100644 index ba5b901..0000000 --- a/doc/com/angelbroking/smartapi/http/exceptions/class-use/TokenException.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class com.angelbroking.smartapi.http.exceptions.TokenException - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
com.angelbroking.smartapi.http.exceptions.TokenException

-
-
No usage of com.angelbroking.smartapi.http.exceptions.TokenException
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/http/exceptions/package-frame.html b/doc/com/angelbroking/smartapi/http/exceptions/package-frame.html deleted file mode 100644 index 8632ccd..0000000 --- a/doc/com/angelbroking/smartapi/http/exceptions/package-frame.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - -com.angelbroking.smartapi.http.exceptions - - - - - -

com.angelbroking.smartapi.http.exceptions

-
-

Classes

- -
- - diff --git a/doc/com/angelbroking/smartapi/http/exceptions/package-summary.html b/doc/com/angelbroking/smartapi/http/exceptions/package-summary.html deleted file mode 100644 index c4ba8cd..0000000 --- a/doc/com/angelbroking/smartapi/http/exceptions/package-summary.html +++ /dev/null @@ -1,187 +0,0 @@ - - - - - -com.angelbroking.smartapi.http.exceptions - - - - - - - - -
- - - - - - - -
- - -
-

Package com.angelbroking.smartapi.http.exceptions

-
-
- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/http/exceptions/package-tree.html b/doc/com/angelbroking/smartapi/http/exceptions/package-tree.html deleted file mode 100644 index a9d892b..0000000 --- a/doc/com/angelbroking/smartapi/http/exceptions/package-tree.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - -com.angelbroking.smartapi.http.exceptions Class Hierarchy - - - - - - - - -
- - - - - - - -
- - -
-

Hierarchy For Package com.angelbroking.smartapi.http.exceptions

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/http/exceptions/package-use.html b/doc/com/angelbroking/smartapi/http/exceptions/package-use.html deleted file mode 100644 index aa10301..0000000 --- a/doc/com/angelbroking/smartapi/http/exceptions/package-use.html +++ /dev/null @@ -1,248 +0,0 @@ - - - - - -Uses of Package com.angelbroking.smartapi.http.exceptions - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Package
com.angelbroking.smartapi.http.exceptions

-
-
- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/http/package-frame.html b/doc/com/angelbroking/smartapi/http/package-frame.html deleted file mode 100644 index 0d003d9..0000000 --- a/doc/com/angelbroking/smartapi/http/package-frame.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - -com.angelbroking.smartapi.http - - - - - -

com.angelbroking.smartapi.http

-
-

Interfaces

- -

Classes

- -
- - diff --git a/doc/com/angelbroking/smartapi/http/package-summary.html b/doc/com/angelbroking/smartapi/http/package-summary.html deleted file mode 100644 index 32a8132..0000000 --- a/doc/com/angelbroking/smartapi/http/package-summary.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - - -com.angelbroking.smartapi.http - - - - - - - - -
- - - - - - - -
- - -
-

Package com.angelbroking.smartapi.http

-
-
- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/http/package-tree.html b/doc/com/angelbroking/smartapi/http/package-tree.html deleted file mode 100644 index eccead9..0000000 --- a/doc/com/angelbroking/smartapi/http/package-tree.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - -com.angelbroking.smartapi.http Class Hierarchy - - - - - - - - -
- - - - - - - -
- - -
-

Hierarchy For Package com.angelbroking.smartapi.http

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/http/package-use.html b/doc/com/angelbroking/smartapi/http/package-use.html deleted file mode 100644 index 08610ae..0000000 --- a/doc/com/angelbroking/smartapi/http/package-use.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - -Uses of Package com.angelbroking.smartapi.http - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Package
com.angelbroking.smartapi.http

-
-
- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/models/Depth.html b/doc/com/angelbroking/smartapi/models/Depth.html deleted file mode 100644 index 867852a..0000000 --- a/doc/com/angelbroking/smartapi/models/Depth.html +++ /dev/null @@ -1,337 +0,0 @@ - - - - - -Depth - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi.models
-

Class Depth

-
-
- -
-
    -
  • -
    -
    -
    public class Depth
    -extends java.lang.Object
    -
    A wrapper for market depth.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Depth() 
      -
    • -
    - - -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Depth

        -
        public Depth()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getQuantity

        -
        public int getQuantity()
        -
      • -
      - - - -
        -
      • -

        setQuantity

        -
        public void setQuantity(int quantity)
        -
      • -
      - - - -
        -
      • -

        getPrice

        -
        public double getPrice()
        -
      • -
      - - - -
        -
      • -

        setPrice

        -
        public void setPrice(double price)
        -
      • -
      - - - -
        -
      • -

        getOrders

        -
        public int getOrders()
        -
      • -
      - - - -
        -
      • -

        setOrders

        -
        public void setOrders(int orders)
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/models/Holdings.html b/doc/com/angelbroking/smartapi/models/Holdings.html deleted file mode 100644 index e0d1056..0000000 --- a/doc/com/angelbroking/smartapi/models/Holdings.html +++ /dev/null @@ -1,455 +0,0 @@ - - - - - -Holdings - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi.models
-

Class Holdings

-
-
- -
-
    -
  • -
    -
    -
    public class Holdings
    -extends java.lang.Object
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Holdings() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        product

        -
        public java.lang.String product
        -
      • -
      - - - -
        -
      • -

        lastPrice

        -
        public java.lang.String lastPrice
        -
      • -
      - - - -
        -
      • -

        price

        -
        public java.lang.String price
        -
      • -
      - - - -
        -
      • -

        tradingSymbol

        -
        public java.lang.String tradingSymbol
        -
      • -
      - - - -
        -
      • -

        t1Quantity

        -
        public java.lang.String t1Quantity
        -
      • -
      - - - -
        -
      • -

        collateralQuantity

        -
        public java.lang.String collateralQuantity
        -
      • -
      - - - -
        -
      • -

        collateraltype

        -
        public java.lang.String collateraltype
        -
      • -
      - - - -
        -
      • -

        accountId

        -
        public java.lang.String accountId
        -
      • -
      - - - -
        -
      • -

        isin

        -
        public java.lang.String isin
        -
      • -
      - - - -
        -
      • -

        pnl

        -
        public java.lang.String pnl
        -
      • -
      - - - -
        -
      • -

        quantity

        -
        public java.lang.String quantity
        -
      • -
      - - - -
        -
      • -

        realisedQuantity

        -
        public java.lang.String realisedQuantity
        -
      • -
      - - - -
        -
      • -

        averagePrice

        -
        public java.lang.String averagePrice
        -
      • -
      - - - -
        -
      • -

        exchange

        -
        public java.lang.String exchange
        -
      • -
      - - - -
        -
      • -

        instrumentToken

        -
        public java.lang.String instrumentToken
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Holdings

        -
        public Holdings()
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/models/Order.html b/doc/com/angelbroking/smartapi/models/Order.html deleted file mode 100644 index 06e4082..0000000 --- a/doc/com/angelbroking/smartapi/models/Order.html +++ /dev/null @@ -1,650 +0,0 @@ - - - - - -Order - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi.models
-

Class Order

-
-
- -
-
    -
  • -
    -
    -
    public class Order
    -extends java.lang.Object
    -
    A wrapper for order.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        exchangeOrderId

        -
        public java.lang.String exchangeOrderId
        -
      • -
      - - - -
        -
      • -

        disclosedQuantity

        -
        public java.lang.String disclosedQuantity
        -
      • -
      - - - -
        -
      • -

        validity

        -
        public java.lang.String validity
        -
      • -
      - - - -
        -
      • -

        tradingSymbol

        -
        public java.lang.String tradingSymbol
        -
      • -
      - - - -
        -
      • -

        orderVariety

        -
        public java.lang.String orderVariety
        -
      • -
      - - - -
        -
      • -

        userId

        -
        public java.lang.String userId
        -
      • -
      - - - -
        -
      • -

        orderType

        -
        public java.lang.String orderType
        -
      • -
      - - - -
        -
      • -

        triggerPrice

        -
        public java.lang.String triggerPrice
        -
      • -
      - - - -
        -
      • -

        statusMessage

        -
        public java.lang.String statusMessage
        -
      • -
      - - - -
        -
      • -

        price

        -
        public java.lang.String price
        -
      • -
      - - - -
        -
      • -

        status

        -
        public java.lang.String status
        -
      • -
      - - - -
        -
      • -

        product

        -
        public java.lang.String product
        -
      • -
      - - - -
        -
      • -

        accountId

        -
        public java.lang.String accountId
        -
      • -
      - - - -
        -
      • -

        exchange

        -
        public java.lang.String exchange
        -
      • -
      - - - -
        -
      • -

        orderId

        -
        public java.lang.String orderId
        -
      • -
      - - - -
        -
      • -

        symbol

        -
        public java.lang.String symbol
        -
      • -
      - - - -
        -
      • -

        pendingQuantity

        -
        public java.lang.String pendingQuantity
        -
      • -
      - - - -
        -
      • -

        orderTimestamp

        -
        public java.lang.String orderTimestamp
        -
      • -
      - - - -
        -
      • -

        exchangeTimestamp

        -
        public java.lang.String exchangeTimestamp
        -
      • -
      - - - -
        -
      • -

        exchangeUpdateTimestamp

        -
        public java.lang.String exchangeUpdateTimestamp
        -
      • -
      - - - -
        -
      • -

        averagePrice

        -
        public java.lang.String averagePrice
        -
      • -
      - - - -
        -
      • -

        transactionType

        -
        public java.lang.String transactionType
        -
      • -
      - - - -
        -
      • -

        filledQuantity

        -
        public java.lang.String filledQuantity
        -
      • -
      - - - -
        -
      • -

        quantity

        -
        public java.lang.String quantity
        -
      • -
      - - - -
        -
      • -

        parentOrderId

        -
        public java.lang.String parentOrderId
        -
      • -
      - - - -
        -
      • -

        tag

        -
        public java.lang.String tag
        -
      • -
      - - - -
        -
      • -

        guid

        -
        public java.lang.String guid
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Order

        -
        public Order()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/models/OrderParams.html b/doc/com/angelbroking/smartapi/models/OrderParams.html deleted file mode 100644 index 9260a36..0000000 --- a/doc/com/angelbroking/smartapi/models/OrderParams.html +++ /dev/null @@ -1,473 +0,0 @@ - - - - - -OrderParams - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi.models
-

Class OrderParams

-
-
- -
-
    -
  • -
    -
    -
    public class OrderParams
    -extends java.lang.Object
    -
    A wrapper for order params to be sent while placing an order.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      java.lang.Stringduration -
      Order duration (DAY, IOC).
      -
      java.lang.Stringexchange -
      Exchange in which instrument is listed (NSE, BSE, NFO, BFO, CDS, MCX).
      -
      java.lang.Stringorderid 
      java.lang.Stringordertype -
      Order type (LIMIT, SL, SL-M, MARKET).
      -
      java.lang.Doubleprice -
      Order Price
      -
      java.lang.Stringproducttype -
      producttype code (NRML, MIS, CNC).
      -
      java.lang.Integerquantity -
      Order quantity
      -
      java.lang.Stringsquareoff 
      java.lang.Stringstoploss 
      java.lang.Stringsymboltoken 
      java.lang.StringsymbolToken -
      symboltoken of the instrument.
      -
      java.lang.Stringtradingsymbol -
      Order duration (DAY, IOC).
      -
      java.lang.Stringtransactiontype -
      Transaction type (BUY or SELL).
      -
      java.lang.Stringvariety -
      variety
      -
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      OrderParams() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        orderid

        -
        public java.lang.String orderid
        -
      • -
      - - - -
        -
      • -

        exchange

        -
        public java.lang.String exchange
        -
        Exchange in which instrument is listed (NSE, BSE, NFO, BFO, CDS, MCX).
        -
      • -
      - - - -
        -
      • -

        symbolToken

        -
        public java.lang.String symbolToken
        -
        symboltoken of the instrument.
        -
      • -
      - - - -
        -
      • -

        transactiontype

        -
        public java.lang.String transactiontype
        -
        Transaction type (BUY or SELL).
        -
      • -
      - - - -
        -
      • -

        quantity

        -
        public java.lang.Integer quantity
        -
        Order quantity
        -
      • -
      - - - -
        -
      • -

        price

        -
        public java.lang.Double price
        -
        Order Price
        -
      • -
      - - - -
        -
      • -

        producttype

        -
        public java.lang.String producttype
        -
        producttype code (NRML, MIS, CNC).
        -
      • -
      - - - -
        -
      • -

        ordertype

        -
        public java.lang.String ordertype
        -
        Order type (LIMIT, SL, SL-M, MARKET).
        -
      • -
      - - - -
        -
      • -

        duration

        -
        public java.lang.String duration
        -
        Order duration (DAY, IOC).
        -
      • -
      - - - -
        -
      • -

        variety

        -
        public java.lang.String variety
        -
        variety
        -
      • -
      - - - -
        -
      • -

        tradingsymbol

        -
        public java.lang.String tradingsymbol
        -
        Order duration (DAY, IOC).
        -
      • -
      - - - -
        -
      • -

        squareoff

        -
        public java.lang.String squareoff
        -
      • -
      - - - -
        -
      • -

        stoploss

        -
        public java.lang.String stoploss
        -
      • -
      - - - -
        -
      • -

        symboltoken

        -
        public java.lang.String symboltoken
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        OrderParams

        -
        public OrderParams()
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/models/Position.html b/doc/com/angelbroking/smartapi/models/Position.html deleted file mode 100644 index 89d356d..0000000 --- a/doc/com/angelbroking/smartapi/models/Position.html +++ /dev/null @@ -1,650 +0,0 @@ - - - - - -Position - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi.models
-

Class Position

-
-
- -
-
    -
  • -
    -
    -
    public class Position
    -extends java.lang.Object
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        product

        -
        public java.lang.String product
        -
      • -
      - - - -
        -
      • -

        exchange

        -
        public java.lang.String exchange
        -
      • -
      - - - -
        -
      • -

        sellValue

        -
        public java.lang.Double sellValue
        -
      • -
      - - - -
        -
      • -

        lastPrice

        -
        public java.lang.Double lastPrice
        -
      • -
      - - - -
        -
      • -

        unrealised

        -
        public java.lang.Double unrealised
        -
      • -
      - - - -
        -
      • -

        buyPrice

        -
        public java.lang.Double buyPrice
        -
      • -
      - - - -
        -
      • -

        sellPrice

        -
        public java.lang.Double sellPrice
        -
      • -
      - - - -
        -
      • -

        m2m

        -
        public java.lang.Double m2m
        -
      • -
      - - - -
        -
      • -

        tradingSymbol

        -
        public java.lang.String tradingSymbol
        -
      • -
      - - - -
        -
      • -

        netQuantity

        -
        public int netQuantity
        -
      • -
      - - - -
        -
      • -

        sellQuantity

        -
        public int sellQuantity
        -
      • -
      - - - -
        -
      • -

        realised

        -
        public java.lang.Double realised
        -
      • -
      - - - -
        -
      • -

        buyQuantity

        -
        public int buyQuantity
        -
      • -
      - - - -
        -
      • -

        netValue

        -
        public java.lang.Double netValue
        -
      • -
      - - - -
        -
      • -

        buyValue

        -
        public java.lang.Double buyValue
        -
      • -
      - - - -
        -
      • -

        multiplier

        -
        public java.lang.Double multiplier
        -
      • -
      - - - -
        -
      • -

        instrumentToken

        -
        public java.lang.String instrumentToken
        -
      • -
      - - - -
        -
      • -

        closePrice

        -
        public java.lang.Double closePrice
        -
      • -
      - - - -
        -
      • -

        pnl

        -
        public java.lang.Double pnl
        -
      • -
      - - - -
        -
      • -

        overnightQuantity

        -
        public int overnightQuantity
        -
      • -
      - - - -
        -
      • -

        buym2m

        -
        public double buym2m
        -
      • -
      - - - -
        -
      • -

        sellm2m

        -
        public double sellm2m
        -
      • -
      - - - -
        -
      • -

        dayBuyQuantity

        -
        public double dayBuyQuantity
        -
      • -
      - - - -
        -
      • -

        daySellQuantity

        -
        public double daySellQuantity
        -
      • -
      - - - -
        -
      • -

        dayBuyPrice

        -
        public double dayBuyPrice
        -
      • -
      - - - -
        -
      • -

        daySellPrice

        -
        public double daySellPrice
        -
      • -
      - - - -
        -
      • -

        dayBuyValue

        -
        public double dayBuyValue
        -
      • -
      - - - -
        -
      • -

        daySellValue

        -
        public double daySellValue
        -
      • -
      - - - -
        -
      • -

        value

        -
        public double value
        -
      • -
      - - - -
        -
      • -

        averagePrice

        -
        public double averagePrice
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Position

        -
        public Position()
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/models/Profile.html b/doc/com/angelbroking/smartapi/models/Profile.html deleted file mode 100644 index 0f99d2f..0000000 --- a/doc/com/angelbroking/smartapi/models/Profile.html +++ /dev/null @@ -1,477 +0,0 @@ - - - - - -Profile - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi.models
-

Class Profile

-
-
- -
-
    -
  • -
    -
    -
    public class Profile
    -extends java.lang.Object
    -
    A wrapper for profile response.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      java.lang.Stringbroker 
      java.lang.Stringemail 
      java.lang.String[]exchanges 
      java.lang.String[]products 
      java.lang.StringuserName 
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Profile() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      java.lang.StringgetBroker() 
      java.lang.StringgetEmail() 
      java.lang.String[]getExchanges() 
      java.lang.String[]getProducts() 
      java.lang.StringgetUserName() 
      voidsetBroker(java.lang.String broker) 
      voidsetEmail(java.lang.String email) 
      voidsetExchanges(java.lang.String[] exchanges) 
      voidsetProducts(java.lang.String[] products) 
      voidsetUserName(java.lang.String userName) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        email

        -
        public java.lang.String email
        -
      • -
      - - - -
        -
      • -

        userName

        -
        public java.lang.String userName
        -
      • -
      - - - -
        -
      • -

        broker

        -
        public java.lang.String broker
        -
      • -
      - - - -
        -
      • -

        exchanges

        -
        public java.lang.String[] exchanges
        -
      • -
      - - - -
        -
      • -

        products

        -
        public java.lang.String[] products
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Profile

        -
        public Profile()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getEmail

        -
        public java.lang.String getEmail()
        -
      • -
      - - - -
        -
      • -

        setEmail

        -
        public void setEmail(java.lang.String email)
        -
      • -
      - - - -
        -
      • -

        getUserName

        -
        public java.lang.String getUserName()
        -
      • -
      - - - -
        -
      • -

        setUserName

        -
        public void setUserName(java.lang.String userName)
        -
      • -
      - - - -
        -
      • -

        getBroker

        -
        public java.lang.String getBroker()
        -
      • -
      - - - -
        -
      • -

        setBroker

        -
        public void setBroker(java.lang.String broker)
        -
      • -
      - - - -
        -
      • -

        getExchanges

        -
        public java.lang.String[] getExchanges()
        -
      • -
      - - - -
        -
      • -

        setExchanges

        -
        public void setExchanges(java.lang.String[] exchanges)
        -
      • -
      - - - -
        -
      • -

        getProducts

        -
        public java.lang.String[] getProducts()
        -
      • -
      - - - -
        -
      • -

        setProducts

        -
        public void setProducts(java.lang.String[] products)
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/models/Tick.html b/doc/com/angelbroking/smartapi/models/Tick.html deleted file mode 100644 index 63d9bca..0000000 --- a/doc/com/angelbroking/smartapi/models/Tick.html +++ /dev/null @@ -1,778 +0,0 @@ - - - - - -Tick - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi.models
-

Class Tick

-
-
- -
-
    -
  • -
    -
    -
    public class Tick
    -extends java.lang.Object
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Tick

        -
        public Tick()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getLastTradedTime

        -
        public java.util.Date getLastTradedTime()
        -
      • -
      - - - -
        -
      • -

        setLastTradedTime

        -
        public void setLastTradedTime(java.util.Date lastTradedTime)
        -
      • -
      - - - -
        -
      • -

        getOi

        -
        public double getOi()
        -
      • -
      - - - -
        -
      • -

        setOi

        -
        public void setOi(double oi)
        -
      • -
      - - - -
        -
      • -

        getOpenInterestDayHigh

        -
        public double getOpenInterestDayHigh()
        -
      • -
      - - - -
        -
      • -

        setOpenInterestDayHigh

        -
        public void setOpenInterestDayHigh(double dayHighOpenInterest)
        -
      • -
      - - - -
        -
      • -

        getOpenInterestDayLow

        -
        public double getOpenInterestDayLow()
        -
      • -
      - - - -
        -
      • -

        setOpenInterestDayLow

        -
        public void setOpenInterestDayLow(double dayLowOpenInterest)
        -
      • -
      - - - -
        -
      • -

        getTickTimestamp

        -
        public java.util.Date getTickTimestamp()
        -
      • -
      - - - -
        -
      • -

        setTickTimestamp

        -
        public void setTickTimestamp(java.util.Date tickTimestamp)
        -
      • -
      - - - -
        -
      • -

        getMode

        -
        public java.lang.String getMode()
        -
      • -
      - - - -
        -
      • -

        setMode

        -
        public void setMode(java.lang.String mode)
        -
      • -
      - - - -
        -
      • -

        isTradable

        -
        public boolean isTradable()
        -
      • -
      - - - -
        -
      • -

        setTradable

        -
        public void setTradable(boolean tradable)
        -
      • -
      - - - -
        -
      • -

        getInstrumentToken

        -
        public long getInstrumentToken()
        -
      • -
      - - - -
        -
      • -

        setInstrumentToken

        -
        public void setInstrumentToken(long token)
        -
      • -
      - - - -
        -
      • -

        getLastTradedPrice

        -
        public double getLastTradedPrice()
        -
      • -
      - - - -
        -
      • -

        setLastTradedPrice

        -
        public void setLastTradedPrice(double lastTradedPrice)
        -
      • -
      - - - -
        -
      • -

        getHighPrice

        -
        public double getHighPrice()
        -
      • -
      - - - -
        -
      • -

        setHighPrice

        -
        public void setHighPrice(double highPrice)
        -
      • -
      - - - -
        -
      • -

        getLowPrice

        -
        public double getLowPrice()
        -
      • -
      - - - -
        -
      • -

        setLowPrice

        -
        public void setLowPrice(double lowPrice)
        -
      • -
      - - - -
        -
      • -

        getOpenPrice

        -
        public double getOpenPrice()
        -
      • -
      - - - -
        -
      • -

        setOpenPrice

        -
        public void setOpenPrice(double openPrice)
        -
      • -
      - - - -
        -
      • -

        getClosePrice

        -
        public double getClosePrice()
        -
      • -
      - - - -
        -
      • -

        setClosePrice

        -
        public void setClosePrice(double closePrice)
        -
      • -
      - - - -
        -
      • -

        getChange

        -
        public double getChange()
        -
      • -
      - - - -
        -
      • -

        setNetPriceChangeFromClosingPrice

        -
        public void setNetPriceChangeFromClosingPrice(double netPriceChangeFromClosingPrice)
        -
      • -
      - - - -
        -
      • -

        getLastTradedQuantity

        -
        public double getLastTradedQuantity()
        -
      • -
      - - - -
        -
      • -

        setLastTradedQuantity

        -
        public void setLastTradedQuantity(double lastTradedQuantity)
        -
      • -
      - - - -
        -
      • -

        getAverageTradePrice

        -
        public double getAverageTradePrice()
        -
      • -
      - - - -
        -
      • -

        setAverageTradePrice

        -
        public void setAverageTradePrice(double averageTradePrice)
        -
      • -
      - - - -
        -
      • -

        getVolumeTradedToday

        -
        public double getVolumeTradedToday()
        -
      • -
      - - - -
        -
      • -

        setVolumeTradedToday

        -
        public void setVolumeTradedToday(double volumeTradedToday)
        -
      • -
      - - - -
        -
      • -

        getTotalBuyQuantity

        -
        public double getTotalBuyQuantity()
        -
      • -
      - - - -
        -
      • -

        setTotalBuyQuantity

        -
        public void setTotalBuyQuantity(double totalBuyQuantity)
        -
      • -
      - - - -
        -
      • -

        getTotalSellQuantity

        -
        public double getTotalSellQuantity()
        -
      • -
      - - - -
        -
      • -

        setTotalSellQuantity

        -
        public void setTotalSellQuantity(double totalSellQuantity)
        -
      • -
      - - - -
        -
      • -

        getMarketDepth

        -
        public java.util.Map<java.lang.String,java.util.ArrayList<Depth>> getMarketDepth()
        -
      • -
      - - - -
        -
      • -

        setMarketDepth

        -
        public void setMarketDepth(java.util.Map<java.lang.String,java.util.ArrayList<Depth>> marketDepth)
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/models/TokenSet.html b/doc/com/angelbroking/smartapi/models/TokenSet.html deleted file mode 100644 index 208bda0..0000000 --- a/doc/com/angelbroking/smartapi/models/TokenSet.html +++ /dev/null @@ -1,399 +0,0 @@ - - - - - -TokenSet - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi.models
-

Class TokenSet

-
-
- -
-
    -
  • -
    -
    -
    public class TokenSet
    -extends java.lang.Object
    -
    A wrapper for user id, access token, refresh token.
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Summary

      - - - - - - - - - - - - - - - - - - -
      Fields 
      Modifier and TypeField and Description
      java.lang.StringaccessToken 
      java.lang.StringrefreshToken 
      java.lang.StringuserId 
      -
    • -
    - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      TokenSet() 
      -
    • -
    - - -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        userId

        -
        public java.lang.String userId
        -
      • -
      - - - -
        -
      • -

        accessToken

        -
        public java.lang.String accessToken
        -
      • -
      - - - -
        -
      • -

        refreshToken

        -
        public java.lang.String refreshToken
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        TokenSet

        -
        public TokenSet()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getUserId

        -
        public java.lang.String getUserId()
        -
      • -
      - - - -
        -
      • -

        setUserId

        -
        public void setUserId(java.lang.String userId)
        -
      • -
      - - - -
        -
      • -

        getAccessToken

        -
        public java.lang.String getAccessToken()
        -
      • -
      - - - -
        -
      • -

        setAccessToken

        -
        public void setAccessToken(java.lang.String accessToken)
        -
      • -
      - - - -
        -
      • -

        getRefreshToken

        -
        public java.lang.String getRefreshToken()
        -
      • -
      - - - -
        -
      • -

        setRefreshToken

        -
        public void setRefreshToken(java.lang.String refreshToken)
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/models/Trade.html b/doc/com/angelbroking/smartapi/models/Trade.html deleted file mode 100644 index 2a6a261..0000000 --- a/doc/com/angelbroking/smartapi/models/Trade.html +++ /dev/null @@ -1,416 +0,0 @@ - - - - - -Trade - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi.models
-

Class Trade

-
-
- -
-
    -
  • -
    -
    -
    public class Trade
    -extends java.lang.Object
    -
  • -
-
-
-
    -
  • - - - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Trade() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        tradeId

        -
        public java.lang.String tradeId
        -
      • -
      - - - -
        -
      • -

        orderId

        -
        public java.lang.String orderId
        -
      • -
      - - - -
        -
      • -

        exchangeOrderId

        -
        public java.lang.String exchangeOrderId
        -
      • -
      - - - -
        -
      • -

        tradingSymbol

        -
        public java.lang.String tradingSymbol
        -
      • -
      - - - -
        -
      • -

        exchange

        -
        public java.lang.String exchange
        -
      • -
      - - - -
        -
      • -

        instrumentToken

        -
        public java.lang.String instrumentToken
        -
      • -
      - - - -
        -
      • -

        product

        -
        public java.lang.String product
        -
      • -
      - - - -
        -
      • -

        averagePrice

        -
        public java.lang.String averagePrice
        -
      • -
      - - - -
        -
      • -

        quantity

        -
        public java.lang.String quantity
        -
      • -
      - - - -
        -
      • -

        fillTimestamp

        -
        public java.util.Date fillTimestamp
        -
      • -
      - - - -
        -
      • -

        exchangeTimestamp

        -
        public java.util.Date exchangeTimestamp
        -
      • -
      - - - -
        -
      • -

        transactionType

        -
        public java.lang.String transactionType
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Trade

        -
        public Trade()
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/models/User.html b/doc/com/angelbroking/smartapi/models/User.html deleted file mode 100644 index b334fe7..0000000 --- a/doc/com/angelbroking/smartapi/models/User.html +++ /dev/null @@ -1,781 +0,0 @@ - - - - - -User - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi.models
-

Class User

-
-
- -
-
    -
  • -
    -
    -
    public class User
    -extends java.lang.Object
    -
    A wrapper for user and session details.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        userName

        -
        public java.lang.String userName
        -
      • -
      - - - -
        -
      • -

        userId

        -
        public java.lang.String userId
        -
      • -
      - - - -
        -
      • -

        mobileNo

        -
        public java.lang.String mobileNo
        -
      • -
      - - - -
        -
      • -

        brokerName

        -
        public java.lang.String brokerName
        -
      • -
      - - - -
        -
      • -

        email

        -
        public java.lang.String email
        -
      • -
      - - - -
        -
      • -

        lastLoginTime

        -
        public java.util.Date lastLoginTime
        -
      • -
      - - - -
        -
      • -

        accessToken

        -
        public java.lang.String accessToken
        -
      • -
      - - - -
        -
      • -

        refreshToken

        -
        public java.lang.String refreshToken
        -
      • -
      - - - -
        -
      • -

        products

        -
        public java.lang.String[] products
        -
      • -
      - - - -
        -
      • -

        exchanges

        -
        public java.lang.String[] exchanges
        -
      • -
      - - - -
        -
      • -

        feedToken

        -
        public java.lang.String feedToken
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        User

        -
        public User()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        parseResponse

        -
        public User parseResponse(org.json.JSONObject response)
        -                   throws org.json.JSONException
        -
        Parses user details response from server.
        -
        -
        Parameters:
        -
        response - is the json response from server.
        -
        Returns:
        -
        User is the parsed data.
        -
        Throws:
        -
        org.json.JSONException - is thrown when there is error while parsing response.
        -
        -
      • -
      - - - -
        -
      • -

        parseArray

        -
        public User parseArray(User user,
        -                       org.json.JSONObject response)
        -                throws org.json.JSONException
        -
        Parses array details of product, exchange and order_type from json response.
        -
        -
        Parameters:
        -
        response - is the json response from server.
        -
        user - is the object to which data is copied to from json response.
        -
        Returns:
        -
        User is the pojo of parsed data.
        -
        Throws:
        -
        org.json.JSONException
        -
        -
      • -
      - - - -
        -
      • -

        getUserName

        -
        public java.lang.String getUserName()
        -
      • -
      - - - -
        -
      • -

        setUserName

        -
        public void setUserName(java.lang.String userName)
        -
      • -
      - - - -
        -
      • -

        getUserId

        -
        public java.lang.String getUserId()
        -
      • -
      - - - -
        -
      • -

        setUserId

        -
        public void setUserId(java.lang.String userId)
        -
      • -
      - - - -
        -
      • -

        getMobileNo

        -
        public java.lang.String getMobileNo()
        -
      • -
      - - - -
        -
      • -

        setMobileNo

        -
        public void setMobileNo(java.lang.String mobileNo)
        -
      • -
      - - - -
        -
      • -

        getBrokerName

        -
        public java.lang.String getBrokerName()
        -
      • -
      - - - -
        -
      • -

        setBrokerName

        -
        public void setBrokerName(java.lang.String brokerName)
        -
      • -
      - - - -
        -
      • -

        getEmail

        -
        public java.lang.String getEmail()
        -
      • -
      - - - -
        -
      • -

        setEmail

        -
        public void setEmail(java.lang.String email)
        -
      • -
      - - - -
        -
      • -

        getLastLoginTime

        -
        public java.util.Date getLastLoginTime()
        -
      • -
      - - - -
        -
      • -

        setLastLoginTime

        -
        public void setLastLoginTime(java.util.Date lastLoginTime)
        -
      • -
      - - - -
        -
      • -

        getAccessToken

        -
        public java.lang.String getAccessToken()
        -
      • -
      - - - -
        -
      • -

        setAccessToken

        -
        public void setAccessToken(java.lang.String accessToken)
        -
      • -
      - - - -
        -
      • -

        getRefreshToken

        -
        public java.lang.String getRefreshToken()
        -
      • -
      - - - -
        -
      • -

        setRefreshToken

        -
        public void setRefreshToken(java.lang.String refreshToken)
        -
      • -
      - - - -
        -
      • -

        getProducts

        -
        public java.lang.String[] getProducts()
        -
      • -
      - - - -
        -
      • -

        setProducts

        -
        public void setProducts(java.lang.String[] products)
        -
      • -
      - - - -
        -
      • -

        getExchanges

        -
        public java.lang.String[] getExchanges()
        -
      • -
      - - - -
        -
      • -

        setExchanges

        -
        public void setExchanges(java.lang.String[] exchanges)
        -
      • -
      - - - -
        -
      • -

        getFeedToken

        -
        public java.lang.String getFeedToken()
        -
      • -
      - - - -
        -
      • -

        setFeedToken

        -
        public void setFeedToken(java.lang.String feedToken)
        -
      • -
      - - - -
        -
      • -

        toString

        -
        public java.lang.String toString()
        -
        -
        Overrides:
        -
        toString in class java.lang.Object
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/models/class-use/Depth.html b/doc/com/angelbroking/smartapi/models/class-use/Depth.html deleted file mode 100644 index 4ba7948..0000000 --- a/doc/com/angelbroking/smartapi/models/class-use/Depth.html +++ /dev/null @@ -1,177 +0,0 @@ - - - - - -Uses of Class com.angelbroking.smartapi.models.Depth - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
com.angelbroking.smartapi.models.Depth

-
-
- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/models/class-use/Holdings.html b/doc/com/angelbroking/smartapi/models/class-use/Holdings.html deleted file mode 100644 index 63c249f..0000000 --- a/doc/com/angelbroking/smartapi/models/class-use/Holdings.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class com.angelbroking.smartapi.models.Holdings - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
com.angelbroking.smartapi.models.Holdings

-
-
No usage of com.angelbroking.smartapi.models.Holdings
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/models/class-use/Order.html b/doc/com/angelbroking/smartapi/models/class-use/Order.html deleted file mode 100644 index 3732d56..0000000 --- a/doc/com/angelbroking/smartapi/models/class-use/Order.html +++ /dev/null @@ -1,197 +0,0 @@ - - - - - -Uses of Class com.angelbroking.smartapi.models.Order - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
com.angelbroking.smartapi.models.Order

-
-
- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/models/class-use/OrderParams.html b/doc/com/angelbroking/smartapi/models/class-use/OrderParams.html deleted file mode 100644 index d7d38af..0000000 --- a/doc/com/angelbroking/smartapi/models/class-use/OrderParams.html +++ /dev/null @@ -1,175 +0,0 @@ - - - - - -Uses of Class com.angelbroking.smartapi.models.OrderParams - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
com.angelbroking.smartapi.models.OrderParams

-
-
- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/models/class-use/Position.html b/doc/com/angelbroking/smartapi/models/class-use/Position.html deleted file mode 100644 index 2774667..0000000 --- a/doc/com/angelbroking/smartapi/models/class-use/Position.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class com.angelbroking.smartapi.models.Position - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
com.angelbroking.smartapi.models.Position

-
-
No usage of com.angelbroking.smartapi.models.Position
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/models/class-use/Profile.html b/doc/com/angelbroking/smartapi/models/class-use/Profile.html deleted file mode 100644 index 8d94757..0000000 --- a/doc/com/angelbroking/smartapi/models/class-use/Profile.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class com.angelbroking.smartapi.models.Profile - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
com.angelbroking.smartapi.models.Profile

-
-
No usage of com.angelbroking.smartapi.models.Profile
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/models/class-use/Tick.html b/doc/com/angelbroking/smartapi/models/class-use/Tick.html deleted file mode 100644 index e4b5dc0..0000000 --- a/doc/com/angelbroking/smartapi/models/class-use/Tick.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class com.angelbroking.smartapi.models.Tick - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
com.angelbroking.smartapi.models.Tick

-
-
No usage of com.angelbroking.smartapi.models.Tick
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/models/class-use/TokenSet.html b/doc/com/angelbroking/smartapi/models/class-use/TokenSet.html deleted file mode 100644 index 89b887e..0000000 --- a/doc/com/angelbroking/smartapi/models/class-use/TokenSet.html +++ /dev/null @@ -1,167 +0,0 @@ - - - - - -Uses of Class com.angelbroking.smartapi.models.TokenSet - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
com.angelbroking.smartapi.models.TokenSet

-
-
- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/models/class-use/Trade.html b/doc/com/angelbroking/smartapi/models/class-use/Trade.html deleted file mode 100644 index f24e4ae..0000000 --- a/doc/com/angelbroking/smartapi/models/class-use/Trade.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - - -Uses of Class com.angelbroking.smartapi.models.Trade - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
com.angelbroking.smartapi.models.Trade

-
-
- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/models/class-use/User.html b/doc/com/angelbroking/smartapi/models/class-use/User.html deleted file mode 100644 index f7c93ee..0000000 --- a/doc/com/angelbroking/smartapi/models/class-use/User.html +++ /dev/null @@ -1,221 +0,0 @@ - - - - - -Uses of Class com.angelbroking.smartapi.models.User - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
com.angelbroking.smartapi.models.User

-
-
- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/models/package-frame.html b/doc/com/angelbroking/smartapi/models/package-frame.html deleted file mode 100644 index 75c5d2c..0000000 --- a/doc/com/angelbroking/smartapi/models/package-frame.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - -com.angelbroking.smartapi.models - - - - - -

com.angelbroking.smartapi.models

-
-

Classes

- -
- - diff --git a/doc/com/angelbroking/smartapi/models/package-summary.html b/doc/com/angelbroking/smartapi/models/package-summary.html deleted file mode 100644 index 818414c..0000000 --- a/doc/com/angelbroking/smartapi/models/package-summary.html +++ /dev/null @@ -1,190 +0,0 @@ - - - - - -com.angelbroking.smartapi.models - - - - - - - - -
- - - - - - - -
- - -
-

Package com.angelbroking.smartapi.models

-
-
- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/models/package-tree.html b/doc/com/angelbroking/smartapi/models/package-tree.html deleted file mode 100644 index 695e6fe..0000000 --- a/doc/com/angelbroking/smartapi/models/package-tree.html +++ /dev/null @@ -1,146 +0,0 @@ - - - - - -com.angelbroking.smartapi.models Class Hierarchy - - - - - - - - -
- - - - - - - -
- - -
-

Hierarchy For Package com.angelbroking.smartapi.models

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/models/package-use.html b/doc/com/angelbroking/smartapi/models/package-use.html deleted file mode 100644 index 12acceb..0000000 --- a/doc/com/angelbroking/smartapi/models/package-use.html +++ /dev/null @@ -1,203 +0,0 @@ - - - - - -Uses of Package com.angelbroking.smartapi.models - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Package
com.angelbroking.smartapi.models

-
-
- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/package-frame.html b/doc/com/angelbroking/smartapi/package-frame.html deleted file mode 100644 index 7867367..0000000 --- a/doc/com/angelbroking/smartapi/package-frame.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - -com.angelbroking.smartapi - - - - - -

com.angelbroking.smartapi

-
-

Classes

- -
- - diff --git a/doc/com/angelbroking/smartapi/package-summary.html b/doc/com/angelbroking/smartapi/package-summary.html deleted file mode 100644 index 18a1945..0000000 --- a/doc/com/angelbroking/smartapi/package-summary.html +++ /dev/null @@ -1,148 +0,0 @@ - - - - - -com.angelbroking.smartapi - - - - - - - - -
- - - - - - - -
- - -
-

Package com.angelbroking.smartapi

-
-
- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/package-tree.html b/doc/com/angelbroking/smartapi/package-tree.html deleted file mode 100644 index 59b0766..0000000 --- a/doc/com/angelbroking/smartapi/package-tree.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - -com.angelbroking.smartapi Class Hierarchy - - - - - - - - -
- - - - - - - -
- - -
-

Hierarchy For Package com.angelbroking.smartapi

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/package-use.html b/doc/com/angelbroking/smartapi/package-use.html deleted file mode 100644 index 732b25a..0000000 --- a/doc/com/angelbroking/smartapi/package-use.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - -Uses of Package com.angelbroking.smartapi - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Package
com.angelbroking.smartapi

-
-
- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/sample/Examples.html b/doc/com/angelbroking/smartapi/sample/Examples.html deleted file mode 100644 index 1256c82..0000000 --- a/doc/com/angelbroking/smartapi/sample/Examples.html +++ /dev/null @@ -1,555 +0,0 @@ - - - - - -Examples - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi.sample
-

Class Examples

-
-
- -
-
    -
  • -
    -
    -
    public class Examples
    -extends java.lang.Object
    -
  • -
-
-
- -
-
- -
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/sample/Test.html b/doc/com/angelbroking/smartapi/sample/Test.html deleted file mode 100644 index deaaccd..0000000 --- a/doc/com/angelbroking/smartapi/sample/Test.html +++ /dev/null @@ -1,276 +0,0 @@ - - - - - -Test - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi.sample
-

Class Test

-
-
- -
-
    -
  • -
    -
    -
    public class Test
    -extends java.lang.Object
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      Test() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static voidmain(java.lang.String[] args) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
- -
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/sample/WSCodeTest.html b/doc/com/angelbroking/smartapi/sample/WSCodeTest.html deleted file mode 100644 index 2d185a9..0000000 --- a/doc/com/angelbroking/smartapi/sample/WSCodeTest.html +++ /dev/null @@ -1,271 +0,0 @@ - - - - - -WSCodeTest - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi.sample
-

Class WSCodeTest

-
-
- -
-
    -
  • -
    -
    -
    public class WSCodeTest
    -extends java.lang.Object
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      WSCodeTest() 
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static voidmain(java.lang.String[] args) 
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        WSCodeTest

        -
        public WSCodeTest()
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        main

        -
        public static void main(java.lang.String[] args)
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/sample/class-use/Examples.html b/doc/com/angelbroking/smartapi/sample/class-use/Examples.html deleted file mode 100644 index 3fb7ed1..0000000 --- a/doc/com/angelbroking/smartapi/sample/class-use/Examples.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class com.angelbroking.smartapi.sample.Examples - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
com.angelbroking.smartapi.sample.Examples

-
-
No usage of com.angelbroking.smartapi.sample.Examples
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/sample/class-use/Test.html b/doc/com/angelbroking/smartapi/sample/class-use/Test.html deleted file mode 100644 index 1ca84cd..0000000 --- a/doc/com/angelbroking/smartapi/sample/class-use/Test.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class com.angelbroking.smartapi.sample.Test - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
com.angelbroking.smartapi.sample.Test

-
-
No usage of com.angelbroking.smartapi.sample.Test
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/sample/class-use/WSCodeTest.html b/doc/com/angelbroking/smartapi/sample/class-use/WSCodeTest.html deleted file mode 100644 index 415b013..0000000 --- a/doc/com/angelbroking/smartapi/sample/class-use/WSCodeTest.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class com.angelbroking.smartapi.sample.WSCodeTest - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
com.angelbroking.smartapi.sample.WSCodeTest

-
-
No usage of com.angelbroking.smartapi.sample.WSCodeTest
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/sample/package-frame.html b/doc/com/angelbroking/smartapi/sample/package-frame.html deleted file mode 100644 index 41bf107..0000000 --- a/doc/com/angelbroking/smartapi/sample/package-frame.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - -com.angelbroking.smartapi.sample - - - - - -

com.angelbroking.smartapi.sample

-
-

Classes

- -
- - diff --git a/doc/com/angelbroking/smartapi/sample/package-summary.html b/doc/com/angelbroking/smartapi/sample/package-summary.html deleted file mode 100644 index 3d2d83a..0000000 --- a/doc/com/angelbroking/smartapi/sample/package-summary.html +++ /dev/null @@ -1,150 +0,0 @@ - - - - - -com.angelbroking.smartapi.sample - - - - - - - - -
- - - - - - - -
- - -
-

Package com.angelbroking.smartapi.sample

-
-
- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/sample/package-tree.html b/doc/com/angelbroking/smartapi/sample/package-tree.html deleted file mode 100644 index f6b42ee..0000000 --- a/doc/com/angelbroking/smartapi/sample/package-tree.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - -com.angelbroking.smartapi.sample Class Hierarchy - - - - - - - - -
- - - - - - - -
- - -
-

Hierarchy For Package com.angelbroking.smartapi.sample

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/sample/package-use.html b/doc/com/angelbroking/smartapi/sample/package-use.html deleted file mode 100644 index 61bba8e..0000000 --- a/doc/com/angelbroking/smartapi/sample/package-use.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Package com.angelbroking.smartapi.sample - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Package
com.angelbroking.smartapi.sample

-
-
No usage of com.angelbroking.smartapi.sample
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/ticker/OnConnect.html b/doc/com/angelbroking/smartapi/ticker/OnConnect.html deleted file mode 100644 index 6a19be5..0000000 --- a/doc/com/angelbroking/smartapi/ticker/OnConnect.html +++ /dev/null @@ -1,221 +0,0 @@ - - - - - -OnConnect - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi.ticker
-

Interface OnConnect

-
-
-
-
    -
  • -
    -
    -
    public interface OnConnect
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        onConnected

        -
        void onConnected()
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/ticker/OnDisconnect.html b/doc/com/angelbroking/smartapi/ticker/OnDisconnect.html deleted file mode 100644 index 32123ad..0000000 --- a/doc/com/angelbroking/smartapi/ticker/OnDisconnect.html +++ /dev/null @@ -1,221 +0,0 @@ - - - - - -OnDisconnect - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi.ticker
-

Interface OnDisconnect

-
-
-
-
    -
  • -
    -
    -
    public interface OnDisconnect
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        onDisconnected

        -
        void onDisconnected()
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/ticker/OnError.html b/doc/com/angelbroking/smartapi/ticker/OnError.html deleted file mode 100644 index 8316e3a..0000000 --- a/doc/com/angelbroking/smartapi/ticker/OnError.html +++ /dev/null @@ -1,247 +0,0 @@ - - - - - -OnError - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi.ticker
-

Interface OnError

-
-
-
-
    -
  • -
    -
    -
    public interface OnError
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        onError

        -
        void onError(java.lang.Exception exception)
        -
      • -
      - - - - - - - -
        -
      • -

        onError

        -
        void onError(java.lang.String error)
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/ticker/OnTicks.html b/doc/com/angelbroking/smartapi/ticker/OnTicks.html deleted file mode 100644 index 7f82d2f..0000000 --- a/doc/com/angelbroking/smartapi/ticker/OnTicks.html +++ /dev/null @@ -1,221 +0,0 @@ - - - - - -OnTicks - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi.ticker
-

Interface OnTicks

-
-
-
-
    -
  • -
    -
    -
    public interface OnTicks
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        onTicks

        -
        void onTicks(org.json.JSONArray ticks)
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/ticker/SmartAPITicker.html b/doc/com/angelbroking/smartapi/ticker/SmartAPITicker.html deleted file mode 100644 index ca454b8..0000000 --- a/doc/com/angelbroking/smartapi/ticker/SmartAPITicker.html +++ /dev/null @@ -1,530 +0,0 @@ - - - - - -SmartAPITicker - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi.ticker
-

Class SmartAPITicker

-
-
- -
-
    -
  • -
    -
    -
    public class SmartAPITicker
    -extends java.lang.Object
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Summary

      - - - - - - - - -
      Constructors 
      Constructor and Description
      SmartAPITicker(java.lang.String clientId, - java.lang.String feedToken) -
      Initialize SmartAPITicker.
      -
      -
    • -
    - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and TypeMethod and Description
      voidconnect() -
      Establishes a web socket connection.
      -
      static byte[]decompress(byte[] compressedTxt) 
      voiddisconnect() -
      Disconnects websocket connection.
      -
      voiddoReconnect() -
      Performs reconnection after a particular interval if count is less than - maximum retries.
      -
      com.neovisionaries.ws.client.WebSocketAdaptergetWebsocketAdapter() -
      Returns a WebSocketAdapter to listen to ticker related events.
      -
      booleanisConnectionOpen() -
      Returns true if websocket connection is open.
      -
      voidsetMaximumRetries(int maxRetries) -
      Set max number of retries for reconnection, for infinite retries set value as - -1.
      -
      voidsetMaximumRetryInterval(int interval) 
      voidsetOnConnectedListener(OnConnect listener) -
      Set listener for on connection established.
      -
      voidsetOnDisconnectedListener(OnDisconnect listener) -
      Set listener for on connection is disconnected.
      -
      voidsetOnErrorListener(OnError listener) -
      Set error listener.
      -
      voidsetOnTickerArrivalListener(OnTicks onTickerArrivalListener) -
      Set listener for listening to ticks.
      -
      voidsetTryReconnection(boolean retry) -
      Set tryReconnection, to instruct SmartAPITicker that it has to reconnect, if - com.angelbroking.smartapi.ticker is disconnected.
      -
      voidsubscribe(java.lang.String script) -
      Subscribes script.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        SmartAPITicker

        -
        public SmartAPITicker(java.lang.String clientId,
        -                      java.lang.String feedToken)
        -
        Initialize SmartAPITicker.
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        doReconnect

        -
        public void doReconnect()
        -
        Performs reconnection after a particular interval if count is less than - maximum retries.
        -
      • -
      - - - -
        -
      • -

        setTryReconnection

        -
        public void setTryReconnection(boolean retry)
        -
        Set tryReconnection, to instruct SmartAPITicker that it has to reconnect, if - com.angelbroking.smartapi.ticker is disconnected.
        -
        -
        Parameters:
        -
        retry - will denote whether reconnection should be tried or not.
        -
        -
      • -
      - - - -
        -
      • -

        setOnErrorListener

        -
        public void setOnErrorListener(OnError listener)
        -
        Set error listener.
        -
        -
        Parameters:
        -
        listener - of type OnError which listens to all the type of errors that - may arise in SmartAPITicker class.
        -
        -
      • -
      - - - -
        -
      • -

        setMaximumRetries

        -
        public void setMaximumRetries(int maxRetries)
        -                       throws SmartAPIException
        -
        Set max number of retries for reconnection, for infinite retries set value as - -1.
        -
        -
        Parameters:
        -
        maxRetries - denotes maximum number of retries that the - com.angelbroking.smartapi.ticker can perform.
        -
        Throws:
        -
        SmartAPIException - when maximum retries is less than 0.
        -
        -
      • -
      - - - - - - - -
        -
      • -

        setOnTickerArrivalListener

        -
        public void setOnTickerArrivalListener(OnTicks onTickerArrivalListener)
        -
        Set listener for listening to ticks.
        -
        -
        Parameters:
        -
        onTickerArrivalListener - is listener which listens for each tick.
        -
        -
      • -
      - - - -
        -
      • -

        setOnConnectedListener

        -
        public void setOnConnectedListener(OnConnect listener)
        -
        Set listener for on connection established.
        -
        -
        Parameters:
        -
        listener - is used to listen to onConnected event.
        -
        -
      • -
      - - - -
        -
      • -

        setOnDisconnectedListener

        -
        public void setOnDisconnectedListener(OnDisconnect listener)
        -
        Set listener for on connection is disconnected.
        -
        -
        Parameters:
        -
        listener - is used to listen to onDisconnected event.
        -
        -
      • -
      - - - -
        -
      • -

        connect

        -
        public void connect()
        -
        Establishes a web socket connection.
        -
      • -
      - - - -
        -
      • -

        getWebsocketAdapter

        -
        public com.neovisionaries.ws.client.WebSocketAdapter getWebsocketAdapter()
        -
        Returns a WebSocketAdapter to listen to ticker related events.
        -
      • -
      - - - -
        -
      • -

        disconnect

        -
        public void disconnect()
        -
        Disconnects websocket connection.
        -
      • -
      - - - -
        -
      • -

        isConnectionOpen

        -
        public boolean isConnectionOpen()
        -
        Returns true if websocket connection is open.
        -
        -
        Returns:
        -
        boolean
        -
        -
      • -
      - - - -
        -
      • -

        subscribe

        -
        public void subscribe(java.lang.String script)
        -
        Subscribes script.
        -
      • -
      - - - -
        -
      • -

        decompress

        -
        public static byte[] decompress(byte[] compressedTxt)
        -                         throws java.io.IOException
        -
        -
        Throws:
        -
        java.io.IOException
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/ticker/class-use/OnConnect.html b/doc/com/angelbroking/smartapi/ticker/class-use/OnConnect.html deleted file mode 100644 index 12461ed..0000000 --- a/doc/com/angelbroking/smartapi/ticker/class-use/OnConnect.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - - -Uses of Interface com.angelbroking.smartapi.ticker.OnConnect - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Interface
com.angelbroking.smartapi.ticker.OnConnect

-
-
- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/ticker/class-use/OnDisconnect.html b/doc/com/angelbroking/smartapi/ticker/class-use/OnDisconnect.html deleted file mode 100644 index f17e9b7..0000000 --- a/doc/com/angelbroking/smartapi/ticker/class-use/OnDisconnect.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - - -Uses of Interface com.angelbroking.smartapi.ticker.OnDisconnect - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Interface
com.angelbroking.smartapi.ticker.OnDisconnect

-
-
- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/ticker/class-use/OnError.html b/doc/com/angelbroking/smartapi/ticker/class-use/OnError.html deleted file mode 100644 index b9e96a2..0000000 --- a/doc/com/angelbroking/smartapi/ticker/class-use/OnError.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - - -Uses of Interface com.angelbroking.smartapi.ticker.OnError - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Interface
com.angelbroking.smartapi.ticker.OnError

-
-
- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/ticker/class-use/OnTicks.html b/doc/com/angelbroking/smartapi/ticker/class-use/OnTicks.html deleted file mode 100644 index 771d7ad..0000000 --- a/doc/com/angelbroking/smartapi/ticker/class-use/OnTicks.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - - -Uses of Interface com.angelbroking.smartapi.ticker.OnTicks - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Interface
com.angelbroking.smartapi.ticker.OnTicks

-
-
- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/ticker/class-use/SmartAPITicker.html b/doc/com/angelbroking/smartapi/ticker/class-use/SmartAPITicker.html deleted file mode 100644 index 6eba87b..0000000 --- a/doc/com/angelbroking/smartapi/ticker/class-use/SmartAPITicker.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class com.angelbroking.smartapi.ticker.SmartAPITicker - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
com.angelbroking.smartapi.ticker.SmartAPITicker

-
-
No usage of com.angelbroking.smartapi.ticker.SmartAPITicker
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/ticker/package-frame.html b/doc/com/angelbroking/smartapi/ticker/package-frame.html deleted file mode 100644 index b4c5925..0000000 --- a/doc/com/angelbroking/smartapi/ticker/package-frame.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - -com.angelbroking.smartapi.ticker - - - - - -

com.angelbroking.smartapi.ticker

-
-

Interfaces

- -

Classes

- -
- - diff --git a/doc/com/angelbroking/smartapi/ticker/package-summary.html b/doc/com/angelbroking/smartapi/ticker/package-summary.html deleted file mode 100644 index d108540..0000000 --- a/doc/com/angelbroking/smartapi/ticker/package-summary.html +++ /dev/null @@ -1,169 +0,0 @@ - - - - - -com.angelbroking.smartapi.ticker - - - - - - - - -
- - - - - - - -
- - -
-

Package com.angelbroking.smartapi.ticker

-
-
- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/ticker/package-tree.html b/doc/com/angelbroking/smartapi/ticker/package-tree.html deleted file mode 100644 index a434aa9..0000000 --- a/doc/com/angelbroking/smartapi/ticker/package-tree.html +++ /dev/null @@ -1,144 +0,0 @@ - - - - - -com.angelbroking.smartapi.ticker Class Hierarchy - - - - - - - - -
- - - - - - - -
- - -
-

Hierarchy For Package com.angelbroking.smartapi.ticker

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/ticker/package-use.html b/doc/com/angelbroking/smartapi/ticker/package-use.html deleted file mode 100644 index 645f4bd..0000000 --- a/doc/com/angelbroking/smartapi/ticker/package-use.html +++ /dev/null @@ -1,166 +0,0 @@ - - - - - -Uses of Package com.angelbroking.smartapi.ticker - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Package
com.angelbroking.smartapi.ticker

-
-
- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/utils/Constants.html b/doc/com/angelbroking/smartapi/utils/Constants.html deleted file mode 100644 index 9a99aa9..0000000 --- a/doc/com/angelbroking/smartapi/utils/Constants.html +++ /dev/null @@ -1,808 +0,0 @@ - - - - - -Constants - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi.utils
-

Class Constants

-
-
- -
-
    -
  • -
    -
    -
    public class Constants
    -extends java.lang.Object
    -
    Contains all the Strings that are being used in the Smart API Connect library.
    -
  • -
-
-
- -
-
-
    -
  • - -
      -
    • - - -

      Field Detail

      - - - -
        -
      • -

        PRODUCT_MIS

        -
        public static java.lang.String PRODUCT_MIS
        -
        Product types.
        -
      • -
      - - - -
        -
      • -

        PRODUCT_CNC

        -
        public static java.lang.String PRODUCT_CNC
        -
      • -
      - - - -
        -
      • -

        PRODUCT_NRML

        -
        public static java.lang.String PRODUCT_NRML
        -
      • -
      - - - -
        -
      • -

        PRODUCT_DELIVERY

        -
        public static java.lang.String PRODUCT_DELIVERY
        -
      • -
      - - - -
        -
      • -

        PRODUCT_INTRADAY

        -
        public static java.lang.String PRODUCT_INTRADAY
        -
      • -
      - - - -
        -
      • -

        ORDER_TYPE_MARKET

        -
        public static java.lang.String ORDER_TYPE_MARKET
        -
        Order types.
        -
      • -
      - - - -
        -
      • -

        ORDER_TYPE_LIMIT

        -
        public static java.lang.String ORDER_TYPE_LIMIT
        -
      • -
      - - - -
        -
      • -

        ORDER_TYPE_SL

        -
        public static java.lang.String ORDER_TYPE_SL
        -
      • -
      - - - -
        -
      • -

        ORDER_TYPE_SLM

        -
        public static java.lang.String ORDER_TYPE_SLM
        -
      • -
      - - - -
        -
      • -

        VARIETY_REGULAR

        -
        public static java.lang.String VARIETY_REGULAR
        -
        Variety types.
        -
      • -
      - - - -
        -
      • -

        VARIETY_BO

        -
        public static java.lang.String VARIETY_BO
        -
      • -
      - - - -
        -
      • -

        VARIETY_CO

        -
        public static java.lang.String VARIETY_CO
        -
      • -
      - - - -
        -
      • -

        VARIETY_AMO

        -
        public static java.lang.String VARIETY_AMO
        -
      • -
      - - - -
        -
      • -

        TRANSACTION_TYPE_BUY

        -
        public static java.lang.String TRANSACTION_TYPE_BUY
        -
        Transaction types.
        -
      • -
      - - - -
        -
      • -

        TRANSACTION_TYPE_SELL

        -
        public static java.lang.String TRANSACTION_TYPE_SELL
        -
      • -
      - - - -
        -
      • -

        POSITION_DAY

        -
        public static java.lang.String POSITION_DAY
        -
        Position types.
        -
      • -
      - - - -
        -
      • -

        POSITION_OVERNIGHT

        -
        public static java.lang.String POSITION_OVERNIGHT
        -
      • -
      - - - -
        -
      • -

        VALIDITY_DAY

        -
        public static java.lang.String VALIDITY_DAY
        -
        Validity types.
        -
      • -
      - - - -
        -
      • -

        VALIDITY_IOC

        -
        public static java.lang.String VALIDITY_IOC
        -
      • -
      - - - -
        -
      • -

        EXCHANGE_NSE

        -
        public static java.lang.String EXCHANGE_NSE
        -
        Exchanges.
        -
      • -
      - - - -
        -
      • -

        EXCHANGE_BSE

        -
        public static java.lang.String EXCHANGE_BSE
        -
      • -
      - - - -
        -
      • -

        EXCHANGE_NFO

        -
        public static java.lang.String EXCHANGE_NFO
        -
      • -
      - - - -
        -
      • -

        EXCHANGE_BFO

        -
        public static java.lang.String EXCHANGE_BFO
        -
      • -
      - - - -
        -
      • -

        EXCHANGE_MCX

        -
        public static java.lang.String EXCHANGE_MCX
        -
      • -
      - - - -
        -
      • -

        EXCHANGE_CDS

        -
        public static java.lang.String EXCHANGE_CDS
        -
      • -
      - - - -
        -
      • -

        MARGIN_EQUITY

        -
        public static java.lang.String MARGIN_EQUITY
        -
        Margin segments.
        -
      • -
      - - - -
        -
      • -

        MARGIN_COMMODITY

        -
        public static java.lang.String MARGIN_COMMODITY
        -
      • -
      - - - -
        -
      • -

        INSTRUMENTS_SEGMENTS_EQUITY

        -
        public static java.lang.String INSTRUMENTS_SEGMENTS_EQUITY
        -
        Instruments segments.
        -
      • -
      - - - -
        -
      • -

        INSTRUMENTS_SEGMENTS_COMMODITY

        -
        public static java.lang.String INSTRUMENTS_SEGMENTS_COMMODITY
        -
      • -
      - - - -
        -
      • -

        INSTRUMENTS_SEGMENTS_FUTURES

        -
        public static java.lang.String INSTRUMENTS_SEGMENTS_FUTURES
        -
      • -
      - - - -
        -
      • -

        INSTRUMENTS_SEGMENTS_CURRENCY

        -
        public static java.lang.String INSTRUMENTS_SEGMENTS_CURRENCY
        -
      • -
      - - - -
        -
      • -

        ACTIVE

        -
        public static java.lang.String ACTIVE
        -
      • -
      - - - -
        -
      • -

        TRIGGERED

        -
        public static java.lang.String TRIGGERED
        -
      • -
      - - - -
        -
      • -

        DISABLED

        -
        public static java.lang.String DISABLED
        -
      • -
      - - - -
        -
      • -

        EXPIRED

        -
        public static java.lang.String EXPIRED
        -
      • -
      - - - -
        -
      • -

        CANCELLED

        -
        public static java.lang.String CANCELLED
        -
      • -
      - - - -
        -
      • -

        REJECTED

        -
        public static java.lang.String REJECTED
        -
      • -
      - - - -
        -
      • -

        DELETED

        -
        public static java.lang.String DELETED
        -
      • -
      - - - -
        -
      • -

        OCO

        -
        public static java.lang.String OCO
        -
      • -
      - - - -
        -
      • -

        SINGLE

        -
        public static java.lang.String SINGLE
        -
      • -
      -
    • -
    - -
      -
    • - - -

      Constructor Detail

      - - - -
        -
      • -

        Constants

        -
        public Constants()
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/utils/NaiveSSLContext.html b/doc/com/angelbroking/smartapi/utils/NaiveSSLContext.html deleted file mode 100644 index 2edac4e..0000000 --- a/doc/com/angelbroking/smartapi/utils/NaiveSSLContext.html +++ /dev/null @@ -1,316 +0,0 @@ - - - - - -NaiveSSLContext - - - - - - - - -
- - - - - - - -
- - - -
-
com.angelbroking.smartapi.utils
-

Class NaiveSSLContext

-
-
- -
-
    -
  • -
    -
    -
    public class NaiveSSLContext
    -extends java.lang.Object
    -
    A factory class which creates an SSLContext that naively accepts all - certificates without verification. - -
    - // Create an SSL context that naively accepts all certificates.
    - SSLContext context = NaiveSSLContext.getInstance("TLS");
    -
    - // Create a socket factory from the SSL context.
    - SSLSocketFactory factory = context.getSocketFactory();
    -
    - // Create a socket from the socket factory.
    - SSLSocket socket = factory.createSocket("www.example.com", 443);
    - 
    -
    -
    Author:
    -
    Takahiko Kawasaki
    -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Summary

      - - - - - - - - - - - - - - - - - - -
      All Methods Static Methods Concrete Methods 
      Modifier and TypeMethod and Description
      static javax.net.ssl.SSLContextgetInstance(java.lang.String protocol) -
      Get an SSLContext that implements the specified secure socket protocol and - naively accepts all certificates without verification.
      -
      static javax.net.ssl.SSLContextgetInstance(java.lang.String protocol, - java.security.Provider provider) -
      Get an SSLContext that implements the specified secure socket protocol and - naively accepts all certificates without verification.
      -
      static javax.net.ssl.SSLContextgetInstance(java.lang.String protocol, - java.lang.String provider) -
      Get an SSLContext that implements the specified secure socket protocol and - naively accepts all certificates without verification.
      -
      -
        -
      • - - -

        Methods inherited from class java.lang.Object

        -equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • -
      -
    • -
    -
  • -
-
-
-
    -
  • - -
      -
    • - - -

      Method Detail

      - - - -
        -
      • -

        getInstance

        -
        public static javax.net.ssl.SSLContext getInstance(java.lang.String protocol)
        -                                            throws java.security.NoSuchAlgorithmException
        -
        Get an SSLContext that implements the specified secure socket protocol and - naively accepts all certificates without verification.
        -
        -
        Throws:
        -
        java.security.NoSuchAlgorithmException
        -
        -
      • -
      - - - -
        -
      • -

        getInstance

        -
        public static javax.net.ssl.SSLContext getInstance(java.lang.String protocol,
        -                                                   java.security.Provider provider)
        -                                            throws java.security.NoSuchAlgorithmException
        -
        Get an SSLContext that implements the specified secure socket protocol and - naively accepts all certificates without verification.
        -
        -
        Throws:
        -
        java.security.NoSuchAlgorithmException
        -
        -
      • -
      - - - -
        -
      • -

        getInstance

        -
        public static javax.net.ssl.SSLContext getInstance(java.lang.String protocol,
        -                                                   java.lang.String provider)
        -                                            throws java.security.NoSuchAlgorithmException,
        -                                                   java.security.NoSuchProviderException
        -
        Get an SSLContext that implements the specified secure socket protocol and - naively accepts all certificates without verification.
        -
        -
        Throws:
        -
        java.security.NoSuchAlgorithmException
        -
        java.security.NoSuchProviderException
        -
        -
      • -
      -
    • -
    -
  • -
-
-
- - -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/utils/class-use/Constants.html b/doc/com/angelbroking/smartapi/utils/class-use/Constants.html deleted file mode 100644 index f8743db..0000000 --- a/doc/com/angelbroking/smartapi/utils/class-use/Constants.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class com.angelbroking.smartapi.utils.Constants - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
com.angelbroking.smartapi.utils.Constants

-
-
No usage of com.angelbroking.smartapi.utils.Constants
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/utils/class-use/NaiveSSLContext.html b/doc/com/angelbroking/smartapi/utils/class-use/NaiveSSLContext.html deleted file mode 100644 index 879e505..0000000 --- a/doc/com/angelbroking/smartapi/utils/class-use/NaiveSSLContext.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Class com.angelbroking.smartapi.utils.NaiveSSLContext - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Class
com.angelbroking.smartapi.utils.NaiveSSLContext

-
-
No usage of com.angelbroking.smartapi.utils.NaiveSSLContext
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/utils/package-frame.html b/doc/com/angelbroking/smartapi/utils/package-frame.html deleted file mode 100644 index fd18ae0..0000000 --- a/doc/com/angelbroking/smartapi/utils/package-frame.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - -com.angelbroking.smartapi.utils - - - - - -

com.angelbroking.smartapi.utils

-
-

Classes

- -
- - diff --git a/doc/com/angelbroking/smartapi/utils/package-summary.html b/doc/com/angelbroking/smartapi/utils/package-summary.html deleted file mode 100644 index 27e5997..0000000 --- a/doc/com/angelbroking/smartapi/utils/package-summary.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - -com.angelbroking.smartapi.utils - - - - - - - - -
- - - - - - - -
- - -
-

Package com.angelbroking.smartapi.utils

-
-
- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/utils/package-tree.html b/doc/com/angelbroking/smartapi/utils/package-tree.html deleted file mode 100644 index 59c6bc7..0000000 --- a/doc/com/angelbroking/smartapi/utils/package-tree.html +++ /dev/null @@ -1,138 +0,0 @@ - - - - - -com.angelbroking.smartapi.utils Class Hierarchy - - - - - - - - -
- - - - - - - -
- - -
-

Hierarchy For Package com.angelbroking.smartapi.utils

-Package Hierarchies: - -
-
-

Class Hierarchy

- -
- -
- - - - - - - -
- - - - diff --git a/doc/com/angelbroking/smartapi/utils/package-use.html b/doc/com/angelbroking/smartapi/utils/package-use.html deleted file mode 100644 index 966212b..0000000 --- a/doc/com/angelbroking/smartapi/utils/package-use.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Uses of Package com.angelbroking.smartapi.utils - - - - - - - - -
- - - - - - - -
- - -
-

Uses of Package
com.angelbroking.smartapi.utils

-
-
No usage of com.angelbroking.smartapi.utils
- -
- - - - - - - -
- - - - diff --git a/doc/constant-values.html b/doc/constant-values.html deleted file mode 100644 index 6d4b09e..0000000 --- a/doc/constant-values.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Constant Field Values - - - - - - - - -
- - - - - - - -
- - -
-

Constant Field Values

-

Contents

-
- -
- - - - - - - -
- - - - diff --git a/doc/deprecated-list.html b/doc/deprecated-list.html deleted file mode 100644 index e92d81b..0000000 --- a/doc/deprecated-list.html +++ /dev/null @@ -1,124 +0,0 @@ - - - - - -Deprecated List - - - - - - - - -
- - - - - - - -
- - -
-

Deprecated API

-

Contents

-
- -
- - - - - - - -
- - - - diff --git a/doc/help-doc.html b/doc/help-doc.html deleted file mode 100644 index 6c7e75c..0000000 --- a/doc/help-doc.html +++ /dev/null @@ -1,229 +0,0 @@ - - - - - -API Help - - - - - - - - -
- - - - - - - -
- - -
-

How This API Document Is Organized

-
This API (Application Programming Interface) document has pages corresponding to the items in the navigation bar, described as follows.
-
-
- -This help file applies to API documentation generated using the standard doclet.
- -
- - - - - - - -
- - - - diff --git a/doc/index-files/index-1.html b/doc/index-files/index-1.html deleted file mode 100644 index f10cec4..0000000 --- a/doc/index-files/index-1.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - -A-Index - - - - - - - - -
- - - - - - - -
- - -
A B C D E F G H I L M N O P Q R S T U V W  - - -

A

-
-
accessToken - Variable in class com.angelbroking.smartapi.models.TokenSet
-
 
-
accessToken - Variable in class com.angelbroking.smartapi.models.User
-
 
-
accountId - Variable in class com.angelbroking.smartapi.models.Holdings
-
 
-
accountId - Variable in class com.angelbroking.smartapi.models.Order
-
 
-
ACTIVE - Static variable in class com.angelbroking.smartapi.utils.Constants
-
 
-
averagePrice - Variable in class com.angelbroking.smartapi.models.Holdings
-
 
-
averagePrice - Variable in class com.angelbroking.smartapi.models.Order
-
 
-
averagePrice - Variable in class com.angelbroking.smartapi.models.Position
-
 
-
averagePrice - Variable in class com.angelbroking.smartapi.models.Trade
-
 
-
-A B C D E F G H I L M N O P Q R S T U V W 
- -
- - - - - - - -
- - - - diff --git a/doc/index-files/index-10.html b/doc/index-files/index-10.html deleted file mode 100644 index ccef261..0000000 --- a/doc/index-files/index-10.html +++ /dev/null @@ -1,141 +0,0 @@ - - - - - -L-Index - - - - - - - - -
- - - - - - - -
- - -
A B C D E F G H I L M N O P Q R S T U V W  - - -

L

-
-
lastLoginTime - Variable in class com.angelbroking.smartapi.models.User
-
 
-
lastPrice - Variable in class com.angelbroking.smartapi.models.Holdings
-
 
-
lastPrice - Variable in class com.angelbroking.smartapi.models.Position
-
 
-
logout(SmartConnect) - Method in class com.angelbroking.smartapi.sample.Examples
-
-
Logout user.
-
-
logout() - Method in class com.angelbroking.smartapi.SmartConnect
-
-
Logs out user by invalidating the access token.
-
-
-A B C D E F G H I L M N O P Q R S T U V W 
- -
- - - - - - - -
- - - - diff --git a/doc/index-files/index-11.html b/doc/index-files/index-11.html deleted file mode 100644 index a3ec7e4..0000000 --- a/doc/index-files/index-11.html +++ /dev/null @@ -1,153 +0,0 @@ - - - - - -M-Index - - - - - - - - -
- - - - - - - -
- - -
A B C D E F G H I L M N O P Q R S T U V W  - - -

M

-
-
m2m - Variable in class com.angelbroking.smartapi.models.Position
-
 
-
main(String[]) - Static method in class com.angelbroking.smartapi.sample.Test
-
 
-
main(String[]) - Static method in class com.angelbroking.smartapi.sample.WSCodeTest
-
 
-
MARGIN_COMMODITY - Static variable in class com.angelbroking.smartapi.utils.Constants
-
 
-
MARGIN_EQUITY - Static variable in class com.angelbroking.smartapi.utils.Constants
-
-
Margin segments.
-
-
message - Variable in class com.angelbroking.smartapi.http.exceptions.SmartAPIException
-
 
-
mobileNo - Variable in class com.angelbroking.smartapi.models.User
-
 
-
modifyOrder(SmartConnect) - Method in class com.angelbroking.smartapi.sample.Examples
-
-
Modify order.
-
-
modifyOrder(String, OrderParams, String) - Method in class com.angelbroking.smartapi.SmartConnect
-
-
Modifies an open order.
-
-
multiplier - Variable in class com.angelbroking.smartapi.models.Position
-
 
-
-A B C D E F G H I L M N O P Q R S T U V W 
- -
- - - - - - - -
- - - - diff --git a/doc/index-files/index-12.html b/doc/index-files/index-12.html deleted file mode 100644 index 4ae0fbd..0000000 --- a/doc/index-files/index-12.html +++ /dev/null @@ -1,142 +0,0 @@ - - - - - -N-Index - - - - - - - - -
- - - - - - - -
- - -
A B C D E F G H I L M N O P Q R S T U V W  - - -

N

-
-
NaiveSSLContext - Class in com.angelbroking.smartapi.utils
-
-
A factory class which creates an SSLContext that naively accepts all - certificates without verification.
-
-
netQuantity - Variable in class com.angelbroking.smartapi.models.Position
-
 
-
netValue - Variable in class com.angelbroking.smartapi.models.Position
-
 
-
NetworkException - Class in com.angelbroking.smartapi.http.exceptions
-
-
Represents a network issue between Smart API and the backend Order Management System (OMS).
-
-
NetworkException(String, String) - Constructor for class com.angelbroking.smartapi.http.exceptions.NetworkException
-
 
-
-A B C D E F G H I L M N O P Q R S T U V W 
- -
- - - - - - - -
- - - - diff --git a/doc/index-files/index-13.html b/doc/index-files/index-13.html deleted file mode 100644 index 1472f3f..0000000 --- a/doc/index-files/index-13.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - -O-Index - - - - - - - - -
- - - - - - - -
- - -
A B C D E F G H I L M N O P Q R S T U V W  - - -

O

-
-
OCO - Static variable in class com.angelbroking.smartapi.utils.Constants
-
 
-
OnConnect - Interface in com.angelbroking.smartapi.ticker
-
 
-
onConnected() - Method in interface com.angelbroking.smartapi.ticker.OnConnect
-
 
-
OnDisconnect - Interface in com.angelbroking.smartapi.ticker
-
 
-
onDisconnected() - Method in interface com.angelbroking.smartapi.ticker.OnDisconnect
-
 
-
OnError - Interface in com.angelbroking.smartapi.ticker
-
 
-
onError(Exception) - Method in interface com.angelbroking.smartapi.ticker.OnError
-
 
-
onError(SmartAPIException) - Method in interface com.angelbroking.smartapi.ticker.OnError
-
 
-
onError(String) - Method in interface com.angelbroking.smartapi.ticker.OnError
-
 
-
OnTicks - Interface in com.angelbroking.smartapi.ticker
-
 
-
onTicks(JSONArray) - Method in interface com.angelbroking.smartapi.ticker.OnTicks
-
 
-
Order - Class in com.angelbroking.smartapi.models
-
-
A wrapper for order.
-
-
Order() - Constructor for class com.angelbroking.smartapi.models.Order
-
 
-
ORDER_TYPE_LIMIT - Static variable in class com.angelbroking.smartapi.utils.Constants
-
 
-
ORDER_TYPE_MARKET - Static variable in class com.angelbroking.smartapi.utils.Constants
-
-
Order types.
-
-
ORDER_TYPE_SL - Static variable in class com.angelbroking.smartapi.utils.Constants
-
 
-
ORDER_TYPE_SLM - Static variable in class com.angelbroking.smartapi.utils.Constants
-
 
-
OrderException - Class in com.angelbroking.smartapi.http.exceptions
-
-
Represents all order placement and manipulation errors.
-
-
OrderException(String, String) - Constructor for class com.angelbroking.smartapi.http.exceptions.OrderException
-
 
-
orderId - Variable in class com.angelbroking.smartapi.models.Order
-
 
-
orderid - Variable in class com.angelbroking.smartapi.models.OrderParams
-
 
-
orderId - Variable in class com.angelbroking.smartapi.models.Trade
-
 
-
OrderParams - Class in com.angelbroking.smartapi.models
-
-
A wrapper for order params to be sent while placing an order.
-
-
OrderParams() - Constructor for class com.angelbroking.smartapi.models.OrderParams
-
 
-
orderTimestamp - Variable in class com.angelbroking.smartapi.models.Order
-
 
-
orderType - Variable in class com.angelbroking.smartapi.models.Order
-
 
-
ordertype - Variable in class com.angelbroking.smartapi.models.OrderParams
-
-
Order type (LIMIT, SL, SL-M, MARKET).
-
-
orderVariety - Variable in class com.angelbroking.smartapi.models.Order
-
 
-
overnightQuantity - Variable in class com.angelbroking.smartapi.models.Position
-
 
-
-A B C D E F G H I L M N O P Q R S T U V W 
- -
- - - - - - - -
- - - - diff --git a/doc/index-files/index-14.html b/doc/index-files/index-14.html deleted file mode 100644 index 598508c..0000000 --- a/doc/index-files/index-14.html +++ /dev/null @@ -1,225 +0,0 @@ - - - - - -P-Index - - - - - - - - -
- - - - - - - -
- - -
A B C D E F G H I L M N O P Q R S T U V W  - - -

P

-
-
parentOrderId - Variable in class com.angelbroking.smartapi.models.Order
-
 
-
parseArray(User, JSONObject) - Method in class com.angelbroking.smartapi.models.User
-
-
Parses array details of product, exchange and order_type from json response.
-
-
parseResponse(JSONObject) - Method in class com.angelbroking.smartapi.models.User
-
-
Parses user details response from server.
-
-
pendingQuantity - Variable in class com.angelbroking.smartapi.models.Order
-
 
-
PermissionException - Class in com.angelbroking.smartapi.http.exceptions
-
-
Represents permission denied exceptions for certain calls.
-
-
PermissionException(String, String) - Constructor for class com.angelbroking.smartapi.http.exceptions.PermissionException
-
 
-
placeOrder(SmartConnect) - Method in class com.angelbroking.smartapi.sample.Examples
-
-
Place order.
-
-
placeOrder(OrderParams, String) - Method in class com.angelbroking.smartapi.SmartConnect
-
-
Places an order.
-
-
pnl - Variable in class com.angelbroking.smartapi.models.Holdings
-
 
-
pnl - Variable in class com.angelbroking.smartapi.models.Position
-
 
-
Position - Class in com.angelbroking.smartapi.models
-
 
-
Position() - Constructor for class com.angelbroking.smartapi.models.Position
-
 
-
POSITION_DAY - Static variable in class com.angelbroking.smartapi.utils.Constants
-
-
Position types.
-
-
POSITION_OVERNIGHT - Static variable in class com.angelbroking.smartapi.utils.Constants
-
 
-
postRequest(String, String, JSONObject) - Method in class com.angelbroking.smartapi.http.SmartAPIRequestHandler
-
-
Makes a POST request.
-
-
postRequest(String, String, JSONObject, String) - Method in class com.angelbroking.smartapi.http.SmartAPIRequestHandler
-
-
Makes a POST request.
-
-
postRequestJSON(String, JSONArray, String, String) - Method in class com.angelbroking.smartapi.http.SmartAPIRequestHandler
-
-
Make a JSON POST request.
-
-
price - Variable in class com.angelbroking.smartapi.models.Holdings
-
 
-
price - Variable in class com.angelbroking.smartapi.models.Order
-
 
-
price - Variable in class com.angelbroking.smartapi.models.OrderParams
-
-
Order Price
-
-
product - Variable in class com.angelbroking.smartapi.models.Holdings
-
 
-
product - Variable in class com.angelbroking.smartapi.models.Order
-
 
-
product - Variable in class com.angelbroking.smartapi.models.Position
-
 
-
product - Variable in class com.angelbroking.smartapi.models.Trade
-
 
-
PRODUCT_CNC - Static variable in class com.angelbroking.smartapi.utils.Constants
-
 
-
PRODUCT_DELIVERY - Static variable in class com.angelbroking.smartapi.utils.Constants
-
 
-
PRODUCT_INTRADAY - Static variable in class com.angelbroking.smartapi.utils.Constants
-
 
-
PRODUCT_MIS - Static variable in class com.angelbroking.smartapi.utils.Constants
-
-
Product types.
-
-
PRODUCT_NRML - Static variable in class com.angelbroking.smartapi.utils.Constants
-
 
-
products - Variable in class com.angelbroking.smartapi.models.Profile
-
 
-
products - Variable in class com.angelbroking.smartapi.models.User
-
 
-
producttype - Variable in class com.angelbroking.smartapi.models.OrderParams
-
-
producttype code (NRML, MIS, CNC).
-
-
Profile - Class in com.angelbroking.smartapi.models
-
-
A wrapper for profile response.
-
-
Profile() - Constructor for class com.angelbroking.smartapi.models.Profile
-
 
-
putRequest(String, Map<String, Object>, String, String) - Method in class com.angelbroking.smartapi.http.SmartAPIRequestHandler
-
-
Makes a PUT request.
-
-
-A B C D E F G H I L M N O P Q R S T U V W 
- -
- - - - - - - -
- - - - diff --git a/doc/index-files/index-15.html b/doc/index-files/index-15.html deleted file mode 100644 index fe51a12..0000000 --- a/doc/index-files/index-15.html +++ /dev/null @@ -1,137 +0,0 @@ - - - - - -Q-Index - - - - - - - - -
- - - - - - - -
- - -
A B C D E F G H I L M N O P Q R S T U V W  - - -

Q

-
-
quantity - Variable in class com.angelbroking.smartapi.models.Holdings
-
 
-
quantity - Variable in class com.angelbroking.smartapi.models.Order
-
 
-
quantity - Variable in class com.angelbroking.smartapi.models.OrderParams
-
-
Order quantity
-
-
quantity - Variable in class com.angelbroking.smartapi.models.Trade
-
 
-
-A B C D E F G H I L M N O P Q R S T U V W 
- -
- - - - - - - -
- - - - diff --git a/doc/index-files/index-16.html b/doc/index-files/index-16.html deleted file mode 100644 index 4533402..0000000 --- a/doc/index-files/index-16.html +++ /dev/null @@ -1,149 +0,0 @@ - - - - - -R-Index - - - - - - - - -
- - - - - - - -
- - -
A B C D E F G H I L M N O P Q R S T U V W  - - -

R

-
-
realised - Variable in class com.angelbroking.smartapi.models.Position
-
 
-
realisedQuantity - Variable in class com.angelbroking.smartapi.models.Holdings
-
 
-
refreshToken - Variable in class com.angelbroking.smartapi.models.TokenSet
-
 
-
refreshToken - Variable in class com.angelbroking.smartapi.models.User
-
 
-
REJECTED - Static variable in class com.angelbroking.smartapi.utils.Constants
-
 
-
renewAccessToken(String, String) - Method in class com.angelbroking.smartapi.SmartConnect
-
-
Get a new access token using refresh token.
-
-
Routes - Class in com.angelbroking.smartapi
-
-
Generates end-points for all smart api calls.
-
-
Routes() - Constructor for class com.angelbroking.smartapi.Routes
-
 
-
routes - Variable in class com.angelbroking.smartapi.Routes
-
 
-
-A B C D E F G H I L M N O P Q R S T U V W 
- -
- - - - - - - -
- - - - diff --git a/doc/index-files/index-17.html b/doc/index-files/index-17.html deleted file mode 100644 index 8677a12..0000000 --- a/doc/index-files/index-17.html +++ /dev/null @@ -1,332 +0,0 @@ - - - - - -S-Index - - - - - - - - -
- - - - - - - -
- - -
A B C D E F G H I L M N O P Q R S T U V W  - - -

S

-
-
sellm2m - Variable in class com.angelbroking.smartapi.models.Position
-
 
-
sellPrice - Variable in class com.angelbroking.smartapi.models.Position
-
 
-
sellQuantity - Variable in class com.angelbroking.smartapi.models.Position
-
 
-
sellValue - Variable in class com.angelbroking.smartapi.models.Position
-
 
-
sessionExpired() - Method in interface com.angelbroking.smartapi.http.SessionExpiryHook
-
 
-
SessionExpiryHook - Interface in com.angelbroking.smartapi.http
-
-
A callback whenever there is a token expiry
-
-
sessionExpiryHook - Static variable in class com.angelbroking.smartapi.SmartConnect
-
 
-
setAccessToken(String) - Method in class com.angelbroking.smartapi.models.TokenSet
-
 
-
setAccessToken(String) - Method in class com.angelbroking.smartapi.models.User
-
 
-
setAccessToken(String) - Method in class com.angelbroking.smartapi.SmartConnect
-
-
Set the accessToken received after a successful authentication.
-
-
setApiKey(String) - Method in class com.angelbroking.smartapi.SmartConnect
-
 
-
setAverageTradePrice(double) - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
setBroker(String) - Method in class com.angelbroking.smartapi.models.Profile
-
 
-
setBrokerName(String) - Method in class com.angelbroking.smartapi.models.User
-
 
-
setClosePrice(double) - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
setEmail(String) - Method in class com.angelbroking.smartapi.models.Profile
-
 
-
setEmail(String) - Method in class com.angelbroking.smartapi.models.User
-
 
-
setExchanges(String[]) - Method in class com.angelbroking.smartapi.models.Profile
-
 
-
setExchanges(String[]) - Method in class com.angelbroking.smartapi.models.User
-
 
-
setFeedToken(String) - Method in class com.angelbroking.smartapi.models.User
-
 
-
setHighPrice(double) - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
setInstrumentToken(long) - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
setLastLoginTime(Date) - Method in class com.angelbroking.smartapi.models.User
-
 
-
setLastTradedPrice(double) - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
setLastTradedQuantity(double) - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
setLastTradedTime(Date) - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
setLowPrice(double) - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
setMarketDepth(Map<String, ArrayList<Depth>>) - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
setMaximumRetries(int) - Method in class com.angelbroking.smartapi.ticker.SmartAPITicker
-
-
Set max number of retries for reconnection, for infinite retries set value as - -1.
-
-
setMaximumRetryInterval(int) - Method in class com.angelbroking.smartapi.ticker.SmartAPITicker
-
 
-
setMobileNo(String) - Method in class com.angelbroking.smartapi.models.User
-
 
-
setMode(String) - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
setNetPriceChangeFromClosingPrice(double) - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
setOi(double) - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
setOnConnectedListener(OnConnect) - Method in class com.angelbroking.smartapi.ticker.SmartAPITicker
-
-
Set listener for on connection established.
-
-
setOnDisconnectedListener(OnDisconnect) - Method in class com.angelbroking.smartapi.ticker.SmartAPITicker
-
-
Set listener for on connection is disconnected.
-
-
setOnErrorListener(OnError) - Method in class com.angelbroking.smartapi.ticker.SmartAPITicker
-
-
Set error listener.
-
-
setOnTickerArrivalListener(OnTicks) - Method in class com.angelbroking.smartapi.ticker.SmartAPITicker
-
-
Set listener for listening to ticks.
-
-
setOpenInterestDayHigh(double) - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
setOpenInterestDayLow(double) - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
setOpenPrice(double) - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
setOrders(int) - Method in class com.angelbroking.smartapi.models.Depth
-
 
-
setPrice(double) - Method in class com.angelbroking.smartapi.models.Depth
-
 
-
setProducts(String[]) - Method in class com.angelbroking.smartapi.models.Profile
-
 
-
setProducts(String[]) - Method in class com.angelbroking.smartapi.models.User
-
 
-
setQuantity(int) - Method in class com.angelbroking.smartapi.models.Depth
-
 
-
setRefreshToken(String) - Method in class com.angelbroking.smartapi.models.TokenSet
-
 
-
setRefreshToken(String) - Method in class com.angelbroking.smartapi.models.User
-
 
-
setRefreshToken(String) - Method in class com.angelbroking.smartapi.SmartConnect
-
-
Set publicToken.
-
-
setSessionExpiryHook(SessionExpiryHook) - Method in class com.angelbroking.smartapi.SmartConnect
-
-
Registers callback for session error.
-
-
setTickTimestamp(Date) - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
setTotalBuyQuantity(double) - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
setTotalSellQuantity(double) - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
setTradable(boolean) - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
setTryReconnection(boolean) - Method in class com.angelbroking.smartapi.ticker.SmartAPITicker
-
-
Set tryReconnection, to instruct SmartAPITicker that it has to reconnect, if - com.angelbroking.smartapi.ticker is disconnected.
-
-
setUserId(String) - Method in class com.angelbroking.smartapi.models.TokenSet
-
 
-
setUserId(String) - Method in class com.angelbroking.smartapi.models.User
-
 
-
setUserId(String) - Method in class com.angelbroking.smartapi.SmartConnect
-
-
Set userId.
-
-
setUserName(String) - Method in class com.angelbroking.smartapi.models.Profile
-
 
-
setUserName(String) - Method in class com.angelbroking.smartapi.models.User
-
 
-
setVolumeTradedToday(double) - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
sha256Hex(String) - Method in class com.angelbroking.smartapi.SmartConnect
-
-
Hex encodes sha256 output for android support.
-
-
SINGLE - Static variable in class com.angelbroking.smartapi.utils.Constants
-
 
-
SmartAPIException - Class in com.angelbroking.smartapi.http.exceptions
-
-
This is the base exception class which has a publicly accessible message and - code that is received from Angel Connect api.
-
-
SmartAPIException(String, String) - Constructor for class com.angelbroking.smartapi.http.exceptions.SmartAPIException
-
 
-
SmartAPIException(String) - Constructor for class com.angelbroking.smartapi.http.exceptions.SmartAPIException
-
 
-
SmartAPIRequestHandler - Class in com.angelbroking.smartapi.http
-
-
Request handler for all Http requests
-
-
SmartAPIRequestHandler(Proxy) - Constructor for class com.angelbroking.smartapi.http.SmartAPIRequestHandler
-
-
Initialize request handler.
-
-
SmartAPIResponseHandler - Class in com.angelbroking.smartapi.http
-
-
Response handler for handling all the responses.
-
-
SmartAPIResponseHandler() - Constructor for class com.angelbroking.smartapi.http.SmartAPIResponseHandler
-
 
-
SmartAPITicker - Class in com.angelbroking.smartapi.ticker
-
 
-
SmartAPITicker(String, String) - Constructor for class com.angelbroking.smartapi.ticker.SmartAPITicker
-
-
Initialize SmartAPITicker.
-
-
SmartConnect - Class in com.angelbroking.smartapi
-
 
-
SmartConnect() - Constructor for class com.angelbroking.smartapi.SmartConnect
-
 
-
squareoff - Variable in class com.angelbroking.smartapi.models.OrderParams
-
 
-
status - Variable in class com.angelbroking.smartapi.models.Order
-
 
-
statusMessage - Variable in class com.angelbroking.smartapi.models.Order
-
 
-
stoploss - Variable in class com.angelbroking.smartapi.models.OrderParams
-
 
-
subscribe(String) - Method in class com.angelbroking.smartapi.ticker.SmartAPITicker
-
-
Subscribes script.
-
-
symbol - Variable in class com.angelbroking.smartapi.models.Order
-
 
-
symbolToken - Variable in class com.angelbroking.smartapi.models.OrderParams
-
-
symboltoken of the instrument.
-
-
symboltoken - Variable in class com.angelbroking.smartapi.models.OrderParams
-
 
-
-A B C D E F G H I L M N O P Q R S T U V W 
- -
- - - - - - - -
- - - - diff --git a/doc/index-files/index-18.html b/doc/index-files/index-18.html deleted file mode 100644 index d1aa531..0000000 --- a/doc/index-files/index-18.html +++ /dev/null @@ -1,195 +0,0 @@ - - - - - -T-Index - - - - - - - - -
- - - - - - - -
- - -
A B C D E F G H I L M N O P Q R S T U V W  - - -

T

-
-
t1Quantity - Variable in class com.angelbroking.smartapi.models.Holdings
-
 
-
tag - Variable in class com.angelbroking.smartapi.models.Order
-
 
-
Test - Class in com.angelbroking.smartapi.sample
-
 
-
Test() - Constructor for class com.angelbroking.smartapi.sample.Test
-
 
-
Tick - Class in com.angelbroking.smartapi.models
-
 
-
Tick() - Constructor for class com.angelbroking.smartapi.models.Tick
-
 
-
tickerUsage(String, String, String) - Method in class com.angelbroking.smartapi.sample.Examples
-
 
-
TokenException - Class in com.angelbroking.smartapi.http.exceptions
-
-
Denotes session is expired.
-
-
TokenException(String, String) - Constructor for class com.angelbroking.smartapi.http.exceptions.TokenException
-
 
-
TokenSet - Class in com.angelbroking.smartapi.models
-
-
A wrapper for user id, access token, refresh token.
-
-
TokenSet() - Constructor for class com.angelbroking.smartapi.models.TokenSet
-
 
-
toString() - Method in class com.angelbroking.smartapi.http.exceptions.SmartAPIException
-
 
-
toString() - Method in class com.angelbroking.smartapi.models.Order
-
 
-
toString() - Method in class com.angelbroking.smartapi.models.User
-
 
-
Trade - Class in com.angelbroking.smartapi.models
-
 
-
Trade() - Constructor for class com.angelbroking.smartapi.models.Trade
-
 
-
tradeId - Variable in class com.angelbroking.smartapi.models.Trade
-
 
-
tradingSymbol - Variable in class com.angelbroking.smartapi.models.Holdings
-
 
-
tradingSymbol - Variable in class com.angelbroking.smartapi.models.Order
-
 
-
tradingsymbol - Variable in class com.angelbroking.smartapi.models.OrderParams
-
-
Order duration (DAY, IOC).
-
-
tradingSymbol - Variable in class com.angelbroking.smartapi.models.Position
-
 
-
tradingSymbol - Variable in class com.angelbroking.smartapi.models.Trade
-
 
-
TRANSACTION_TYPE_BUY - Static variable in class com.angelbroking.smartapi.utils.Constants
-
-
Transaction types.
-
-
TRANSACTION_TYPE_SELL - Static variable in class com.angelbroking.smartapi.utils.Constants
-
 
-
transactionType - Variable in class com.angelbroking.smartapi.models.Order
-
 
-
transactiontype - Variable in class com.angelbroking.smartapi.models.OrderParams
-
-
Transaction type (BUY or SELL).
-
-
transactionType - Variable in class com.angelbroking.smartapi.models.Trade
-
 
-
TRIGGERED - Static variable in class com.angelbroking.smartapi.utils.Constants
-
 
-
triggerPrice - Variable in class com.angelbroking.smartapi.models.Order
-
 
-
-A B C D E F G H I L M N O P Q R S T U V W 
- -
- - - - - - - -
- - - - diff --git a/doc/index-files/index-19.html b/doc/index-files/index-19.html deleted file mode 100644 index 0fc002a..0000000 --- a/doc/index-files/index-19.html +++ /dev/null @@ -1,145 +0,0 @@ - - - - - -U-Index - - - - - - - - -
- - - - - - - -
- - -
A B C D E F G H I L M N O P Q R S T U V W  - - -

U

-
-
unrealised - Variable in class com.angelbroking.smartapi.models.Position
-
 
-
User - Class in com.angelbroking.smartapi.models
-
-
A wrapper for user and session details.
-
-
User() - Constructor for class com.angelbroking.smartapi.models.User
-
 
-
userId - Variable in class com.angelbroking.smartapi.models.Order
-
 
-
userId - Variable in class com.angelbroking.smartapi.models.TokenSet
-
 
-
userId - Variable in class com.angelbroking.smartapi.models.User
-
 
-
userName - Variable in class com.angelbroking.smartapi.models.Profile
-
 
-
userName - Variable in class com.angelbroking.smartapi.models.User
-
 
-
-A B C D E F G H I L M N O P Q R S T U V W 
- -
- - - - - - - -
- - - - diff --git a/doc/index-files/index-2.html b/doc/index-files/index-2.html deleted file mode 100644 index 131ed84..0000000 --- a/doc/index-files/index-2.html +++ /dev/null @@ -1,139 +0,0 @@ - - - - - -B-Index - - - - - - - - -
- - - - - - - -
- - -
A B C D E F G H I L M N O P Q R S T U V W  - - -

B

-
-
broker - Variable in class com.angelbroking.smartapi.models.Profile
-
 
-
brokerName - Variable in class com.angelbroking.smartapi.models.User
-
 
-
buym2m - Variable in class com.angelbroking.smartapi.models.Position
-
 
-
buyPrice - Variable in class com.angelbroking.smartapi.models.Position
-
 
-
buyQuantity - Variable in class com.angelbroking.smartapi.models.Position
-
 
-
buyValue - Variable in class com.angelbroking.smartapi.models.Position
-
 
-
-A B C D E F G H I L M N O P Q R S T U V W 
- -
- - - - - - - -
- - - - diff --git a/doc/index-files/index-20.html b/doc/index-files/index-20.html deleted file mode 100644 index edd4371..0000000 --- a/doc/index-files/index-20.html +++ /dev/null @@ -1,151 +0,0 @@ - - - - - -V-Index - - - - - - - - -
- - - - - - - -
- - -
A B C D E F G H I L M N O P Q R S T U V W  - - -

V

-
-
validity - Variable in class com.angelbroking.smartapi.models.Order
-
 
-
VALIDITY_DAY - Static variable in class com.angelbroking.smartapi.utils.Constants
-
-
Validity types.
-
-
VALIDITY_IOC - Static variable in class com.angelbroking.smartapi.utils.Constants
-
 
-
value - Variable in class com.angelbroking.smartapi.models.Position
-
 
-
variety - Variable in class com.angelbroking.smartapi.models.OrderParams
-
-
variety
-
-
VARIETY_AMO - Static variable in class com.angelbroking.smartapi.utils.Constants
-
 
-
VARIETY_BO - Static variable in class com.angelbroking.smartapi.utils.Constants
-
 
-
VARIETY_CO - Static variable in class com.angelbroking.smartapi.utils.Constants
-
 
-
VARIETY_REGULAR - Static variable in class com.angelbroking.smartapi.utils.Constants
-
-
Variety types.
-
-
-A B C D E F G H I L M N O P Q R S T U V W 
- -
- - - - - - - -
- - - - diff --git a/doc/index-files/index-21.html b/doc/index-files/index-21.html deleted file mode 100644 index cf62c07..0000000 --- a/doc/index-files/index-21.html +++ /dev/null @@ -1,131 +0,0 @@ - - - - - -W-Index - - - - - - - - -
- - - - - - - -
- - -
A B C D E F G H I L M N O P Q R S T U V W  - - -

W

-
-
WSCodeTest - Class in com.angelbroking.smartapi.sample
-
 
-
WSCodeTest() - Constructor for class com.angelbroking.smartapi.sample.WSCodeTest
-
 
-
-A B C D E F G H I L M N O P Q R S T U V W 
- -
- - - - - - - -
- - - - diff --git a/doc/index-files/index-3.html b/doc/index-files/index-3.html deleted file mode 100644 index 123555d..0000000 --- a/doc/index-files/index-3.html +++ /dev/null @@ -1,203 +0,0 @@ - - - - - -C-Index - - - - - - - - -
- - - - - - - -
- - -
A B C D E F G H I L M N O P Q R S T U V W  - - -

C

-
-
CANCELLED - Static variable in class com.angelbroking.smartapi.utils.Constants
-
 
-
cancelOrder(SmartConnect) - Method in class com.angelbroking.smartapi.sample.Examples
-
-
Cancel an order
-
-
cancelOrder(String, String) - Method in class com.angelbroking.smartapi.SmartConnect
-
-
Cancels an order.
-
-
closePrice - Variable in class com.angelbroking.smartapi.models.Position
-
 
-
code - Variable in class com.angelbroking.smartapi.http.exceptions.SmartAPIException
-
 
-
collateralQuantity - Variable in class com.angelbroking.smartapi.models.Holdings
-
 
-
collateraltype - Variable in class com.angelbroking.smartapi.models.Holdings
-
 
-
com.angelbroking.smartapi.http - package com.angelbroking.smartapi.http
-
 
-
com.angelbroking.smartapi.http.exceptions - package com.angelbroking.smartapi.http.exceptions
-
 
-
com.angelbroking.smartapi.models - package com.angelbroking.smartapi.models
-
 
-
com.angelbroking.smartapi.sample - package com.angelbroking.smartapi.sample
-
 
-
com.angelbroking.smartapi.ticker - package com.angelbroking.smartapi.ticker
-
 
-
com.angelbroking.smartapi.utils - package com.angelbroking.smartapi.utils
-
 
-
connect() - Method in class com.angelbroking.smartapi.ticker.SmartAPITicker
-
-
Establishes a web socket connection.
-
-
Constants - Class in com.angelbroking.smartapi.utils
-
-
Contains all the Strings that are being used in the Smart API Connect library.
-
-
Constants() - Constructor for class com.angelbroking.smartapi.utils.Constants
-
 
-
convertPosition(SmartConnect) - Method in class com.angelbroking.smartapi.sample.Examples
-
-
convert Position
-
-
convertPosition(JSONObject) - Method in class com.angelbroking.smartapi.SmartConnect
-
-
Retrieves conversion.
-
-
createDeleteRequest(String, Map<String, Object>, String, String) - Method in class com.angelbroking.smartapi.http.SmartAPIRequestHandler
-
-
Creates a DELETE request.
-
-
createGetRequest(String, String, String) - Method in class com.angelbroking.smartapi.http.SmartAPIRequestHandler
-
-
Creates a GET request.
-
-
createGetRequest(String, String, String[], String, String) - Method in class com.angelbroking.smartapi.http.SmartAPIRequestHandler
-
-
Creates a GET request.
-
-
createJsonPostRequest(String, JSONArray, String, String) - Method in class com.angelbroking.smartapi.http.SmartAPIRequestHandler
-
-
Create a POST request with body type JSON.
-
-
createPostRequest(String, String, JSONObject) - Method in class com.angelbroking.smartapi.http.SmartAPIRequestHandler
-
-
Creates a POST request.
-
-
createPostRequest(String, String, JSONObject, String) - Method in class com.angelbroking.smartapi.http.SmartAPIRequestHandler
-
-
Creates a POST request.
-
-
createPutRequest(String, Map<String, Object>, String, String) - Method in class com.angelbroking.smartapi.http.SmartAPIRequestHandler
-
-
Creates a PUT request.
-
-
-A B C D E F G H I L M N O P Q R S T U V W 
- -
- - - - - - - -
- - - - diff --git a/doc/index-files/index-4.html b/doc/index-files/index-4.html deleted file mode 100644 index a980153..0000000 --- a/doc/index-files/index-4.html +++ /dev/null @@ -1,176 +0,0 @@ - - - - - -D-Index - - - - - - - - -
- - - - - - - -
- - -
A B C D E F G H I L M N O P Q R S T U V W  - - -

D

-
-
DataException - Class in com.angelbroking.smartapi.http.exceptions
-
-
Exceptions raised when invalid data is returned from Smart API trade.
-
-
DataException(String, String) - Constructor for class com.angelbroking.smartapi.http.exceptions.DataException
-
 
-
dayBuyPrice - Variable in class com.angelbroking.smartapi.models.Position
-
 
-
dayBuyQuantity - Variable in class com.angelbroking.smartapi.models.Position
-
 
-
dayBuyValue - Variable in class com.angelbroking.smartapi.models.Position
-
 
-
daySellPrice - Variable in class com.angelbroking.smartapi.models.Position
-
 
-
daySellQuantity - Variable in class com.angelbroking.smartapi.models.Position
-
 
-
daySellValue - Variable in class com.angelbroking.smartapi.models.Position
-
 
-
decompress(byte[]) - Static method in class com.angelbroking.smartapi.ticker.SmartAPITicker
-
 
-
DELETED - Static variable in class com.angelbroking.smartapi.utils.Constants
-
 
-
deleteRequest(String, Map<String, Object>, String, String) - Method in class com.angelbroking.smartapi.http.SmartAPIRequestHandler
-
-
Makes a DELETE request.
-
-
Depth - Class in com.angelbroking.smartapi.models
-
-
A wrapper for market depth.
-
-
Depth() - Constructor for class com.angelbroking.smartapi.models.Depth
-
 
-
DISABLED - Static variable in class com.angelbroking.smartapi.utils.Constants
-
 
-
disclosedQuantity - Variable in class com.angelbroking.smartapi.models.Order
-
 
-
disconnect() - Method in class com.angelbroking.smartapi.ticker.SmartAPITicker
-
-
Disconnects websocket connection.
-
-
doReconnect() - Method in class com.angelbroking.smartapi.ticker.SmartAPITicker
-
-
Performs reconnection after a particular interval if count is less than - maximum retries.
-
-
duration - Variable in class com.angelbroking.smartapi.models.OrderParams
-
-
Order duration (DAY, IOC).
-
-
-A B C D E F G H I L M N O P Q R S T U V W 
- -
- - - - - - - -
- - - - diff --git a/doc/index-files/index-5.html b/doc/index-files/index-5.html deleted file mode 100644 index fa48a36..0000000 --- a/doc/index-files/index-5.html +++ /dev/null @@ -1,179 +0,0 @@ - - - - - -E-Index - - - - - - - - -
- - - - - - - -
- - -
A B C D E F G H I L M N O P Q R S T U V W  - - -

E

-
-
email - Variable in class com.angelbroking.smartapi.models.Profile
-
 
-
email - Variable in class com.angelbroking.smartapi.models.User
-
 
-
ENABLE_LOGGING - Static variable in class com.angelbroking.smartapi.SmartConnect
-
 
-
Examples - Class in com.angelbroking.smartapi.sample
-
 
-
Examples() - Constructor for class com.angelbroking.smartapi.sample.Examples
-
 
-
exchange - Variable in class com.angelbroking.smartapi.models.Holdings
-
 
-
exchange - Variable in class com.angelbroking.smartapi.models.Order
-
 
-
exchange - Variable in class com.angelbroking.smartapi.models.OrderParams
-
-
Exchange in which instrument is listed (NSE, BSE, NFO, BFO, CDS, MCX).
-
-
exchange - Variable in class com.angelbroking.smartapi.models.Position
-
 
-
exchange - Variable in class com.angelbroking.smartapi.models.Trade
-
 
-
EXCHANGE_BFO - Static variable in class com.angelbroking.smartapi.utils.Constants
-
 
-
EXCHANGE_BSE - Static variable in class com.angelbroking.smartapi.utils.Constants
-
 
-
EXCHANGE_CDS - Static variable in class com.angelbroking.smartapi.utils.Constants
-
 
-
EXCHANGE_MCX - Static variable in class com.angelbroking.smartapi.utils.Constants
-
 
-
EXCHANGE_NFO - Static variable in class com.angelbroking.smartapi.utils.Constants
-
 
-
EXCHANGE_NSE - Static variable in class com.angelbroking.smartapi.utils.Constants
-
-
Exchanges.
-
-
exchangeOrderId - Variable in class com.angelbroking.smartapi.models.Order
-
 
-
exchangeOrderId - Variable in class com.angelbroking.smartapi.models.Trade
-
 
-
exchanges - Variable in class com.angelbroking.smartapi.models.Profile
-
 
-
exchanges - Variable in class com.angelbroking.smartapi.models.User
-
 
-
exchangeTimestamp - Variable in class com.angelbroking.smartapi.models.Order
-
 
-
exchangeTimestamp - Variable in class com.angelbroking.smartapi.models.Trade
-
 
-
exchangeUpdateTimestamp - Variable in class com.angelbroking.smartapi.models.Order
-
 
-
EXPIRED - Static variable in class com.angelbroking.smartapi.utils.Constants
-
 
-
-A B C D E F G H I L M N O P Q R S T U V W 
- -
- - - - - - - -
- - - - diff --git a/doc/index-files/index-6.html b/doc/index-files/index-6.html deleted file mode 100644 index a4e2221..0000000 --- a/doc/index-files/index-6.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - -F-Index - - - - - - - - -
- - - - - - - -
- - -
A B C D E F G H I L M N O P Q R S T U V W  - - -

F

-
-
feedToken - Variable in class com.angelbroking.smartapi.models.User
-
 
-
filledQuantity - Variable in class com.angelbroking.smartapi.models.Order
-
 
-
fillTimestamp - Variable in class com.angelbroking.smartapi.models.Trade
-
 
-
-A B C D E F G H I L M N O P Q R S T U V W 
- -
- - - - - - - -
- - - - diff --git a/doc/index-files/index-7.html b/doc/index-files/index-7.html deleted file mode 100644 index a725a8f..0000000 --- a/doc/index-files/index-7.html +++ /dev/null @@ -1,325 +0,0 @@ - - - - - -G-Index - - - - - - - - -
- - - - - - - -
- - -
A B C D E F G H I L M N O P Q R S T U V W  - - -

G

-
-
GeneralException - Class in com.angelbroking.smartapi.http.exceptions
-
-
An unclassified, general error.
-
-
GeneralException(String, String) - Constructor for class com.angelbroking.smartapi.http.exceptions.GeneralException
-
 
-
generateSession(String, String) - Method in class com.angelbroking.smartapi.SmartConnect
-
-
Do the token exchange with the `request_token` obtained after the login flow, - and retrieve the `access_token` required for all subsequent requests.
-
-
get(String) - Method in class com.angelbroking.smartapi.Routes
-
 
-
getAccessToken() - Method in class com.angelbroking.smartapi.models.TokenSet
-
 
-
getAccessToken() - Method in class com.angelbroking.smartapi.models.User
-
 
-
getAccessToken() - Method in class com.angelbroking.smartapi.SmartConnect
-
-
Returns accessToken.
-
-
getApiKey() - Method in class com.angelbroking.smartapi.SmartConnect
-
-
Returns apiKey of the App.
-
-
getAverageTradePrice() - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
getBroker() - Method in class com.angelbroking.smartapi.models.Profile
-
 
-
getBrokerName() - Method in class com.angelbroking.smartapi.models.User
-
 
-
getChange() - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
getClosePrice() - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
getEmail() - Method in class com.angelbroking.smartapi.models.Profile
-
 
-
getEmail() - Method in class com.angelbroking.smartapi.models.User
-
 
-
getExchanges() - Method in class com.angelbroking.smartapi.models.Profile
-
 
-
getExchanges() - Method in class com.angelbroking.smartapi.models.User
-
 
-
getFeedToken() - Method in class com.angelbroking.smartapi.models.User
-
 
-
getHighPrice() - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
getHolding(SmartConnect) - Method in class com.angelbroking.smartapi.sample.Examples
-
-
Get Holdings
-
-
getHolding() - Method in class com.angelbroking.smartapi.SmartConnect
-
-
Retrieves Holding.
-
-
getInstance(String) - Static method in class com.angelbroking.smartapi.utils.NaiveSSLContext
-
-
Get an SSLContext that implements the specified secure socket protocol and - naively accepts all certificates without verification.
-
-
getInstance(String, Provider) - Static method in class com.angelbroking.smartapi.utils.NaiveSSLContext
-
-
Get an SSLContext that implements the specified secure socket protocol and - naively accepts all certificates without verification.
-
-
getInstance(String, String) - Static method in class com.angelbroking.smartapi.utils.NaiveSSLContext
-
-
Get an SSLContext that implements the specified secure socket protocol and - naively accepts all certificates without verification.
-
-
getInstrumentToken() - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
getLastLoginTime() - Method in class com.angelbroking.smartapi.models.User
-
 
-
getLastTradedPrice() - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
getLastTradedQuantity() - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
getLastTradedTime() - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
getLoginUrl() - Method in class com.angelbroking.smartapi.Routes
-
 
-
getLoginURL() - Method in class com.angelbroking.smartapi.SmartConnect
-
-
Retrieves login url
-
-
getLowPrice() - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
getLTP(SmartConnect) - Method in class com.angelbroking.smartapi.sample.Examples
-
-
Get last price for multiple instruments at once.
-
-
getLTP(String, String, String) - Method in class com.angelbroking.smartapi.SmartConnect
-
-
Retrieves last price.
-
-
getMarketDepth() - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
getMobileNo() - Method in class com.angelbroking.smartapi.models.User
-
 
-
getMode() - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
getOi() - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
getOpenInterestDayHigh() - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
getOpenInterestDayLow() - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
getOpenPrice() - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
getOrder(SmartConnect) - Method in class com.angelbroking.smartapi.sample.Examples
-
-
Get order details
-
-
getOrderHistory(String) - Method in class com.angelbroking.smartapi.SmartConnect
-
-
Returns list of different stages an order has gone through.
-
-
getOrders() - Method in class com.angelbroking.smartapi.models.Depth
-
 
-
getPosition(SmartConnect) - Method in class com.angelbroking.smartapi.sample.Examples
-
-
Get Position
-
-
getPosition() - Method in class com.angelbroking.smartapi.SmartConnect
-
-
Retrieves position.
-
-
getPrice() - Method in class com.angelbroking.smartapi.models.Depth
-
 
-
getProducts() - Method in class com.angelbroking.smartapi.models.Profile
-
 
-
getProducts() - Method in class com.angelbroking.smartapi.models.User
-
 
-
getProfile(SmartConnect) - Method in class com.angelbroking.smartapi.sample.Examples
-
 
-
getProfile() - Method in class com.angelbroking.smartapi.SmartConnect
-
-
Get the profile details of the use.
-
-
getPublicToken() - Method in class com.angelbroking.smartapi.SmartConnect
-
-
Returns publicToken.
-
-
getQuantity() - Method in class com.angelbroking.smartapi.models.Depth
-
 
-
getRefreshToken() - Method in class com.angelbroking.smartapi.models.TokenSet
-
 
-
getRefreshToken() - Method in class com.angelbroking.smartapi.models.User
-
 
-
getRequest(String, String, String) - Method in class com.angelbroking.smartapi.http.SmartAPIRequestHandler
-
-
Makes a GET request.
-
-
getRMS(SmartConnect) - Method in class com.angelbroking.smartapi.sample.Examples
-
-
Get RMS
-
-
getRMS() - Method in class com.angelbroking.smartapi.SmartConnect
-
-
Retrieves RMS.
-
-
getTickTimestamp() - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
getTotalBuyQuantity() - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
getTotalSellQuantity() - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
getTrades(SmartConnect) - Method in class com.angelbroking.smartapi.sample.Examples
-
-
Get tradebook
-
-
getTrades() - Method in class com.angelbroking.smartapi.SmartConnect
-
-
Retrieves list of trades executed.
-
-
getUserId() - Method in class com.angelbroking.smartapi.models.TokenSet
-
 
-
getUserId() - Method in class com.angelbroking.smartapi.models.User
-
 
-
getUserId() - Method in class com.angelbroking.smartapi.SmartConnect
-
-
Returns userId.
-
-
getUserName() - Method in class com.angelbroking.smartapi.models.Profile
-
 
-
getUserName() - Method in class com.angelbroking.smartapi.models.User
-
 
-
getVolumeTradedToday() - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
getWebsocketAdapter() - Method in class com.angelbroking.smartapi.ticker.SmartAPITicker
-
-
Returns a WebSocketAdapter to listen to ticker related events.
-
-
getWsuri() - Method in class com.angelbroking.smartapi.Routes
-
 
-
guid - Variable in class com.angelbroking.smartapi.models.Order
-
 
-
-A B C D E F G H I L M N O P Q R S T U V W 
- -
- - - - - - - -
- - - - diff --git a/doc/index-files/index-8.html b/doc/index-files/index-8.html deleted file mode 100644 index b707ff6..0000000 --- a/doc/index-files/index-8.html +++ /dev/null @@ -1,133 +0,0 @@ - - - - - -H-Index - - - - - - - - -
- - - - - - - -
- - -
A B C D E F G H I L M N O P Q R S T U V W  - - -

H

-
-
handle(Response, String) - Method in class com.angelbroking.smartapi.http.SmartAPIResponseHandler
-
 
-
Holdings - Class in com.angelbroking.smartapi.models
-
 
-
Holdings() - Constructor for class com.angelbroking.smartapi.models.Holdings
-
 
-
-A B C D E F G H I L M N O P Q R S T U V W 
- -
- - - - - - - -
- - - - diff --git a/doc/index-files/index-9.html b/doc/index-files/index-9.html deleted file mode 100644 index 3b5de91..0000000 --- a/doc/index-files/index-9.html +++ /dev/null @@ -1,157 +0,0 @@ - - - - - -I-Index - - - - - - - - -
- - - - - - - -
- - -
A B C D E F G H I L M N O P Q R S T U V W  - - -

I

-
-
InputException - Class in com.angelbroking.smartapi.http.exceptions
-
-
Represents user input errors such as missing and invalid parameters.
-
-
InputException(String, String) - Constructor for class com.angelbroking.smartapi.http.exceptions.InputException
-
 
-
INSTRUMENTS_SEGMENTS_COMMODITY - Static variable in class com.angelbroking.smartapi.utils.Constants
-
 
-
INSTRUMENTS_SEGMENTS_CURRENCY - Static variable in class com.angelbroking.smartapi.utils.Constants
-
 
-
INSTRUMENTS_SEGMENTS_EQUITY - Static variable in class com.angelbroking.smartapi.utils.Constants
-
-
Instruments segments.
-
-
INSTRUMENTS_SEGMENTS_FUTURES - Static variable in class com.angelbroking.smartapi.utils.Constants
-
 
-
instrumentToken - Variable in class com.angelbroking.smartapi.models.Holdings
-
 
-
instrumentToken - Variable in class com.angelbroking.smartapi.models.Position
-
 
-
instrumentToken - Variable in class com.angelbroking.smartapi.models.Trade
-
 
-
isConnectionOpen() - Method in class com.angelbroking.smartapi.ticker.SmartAPITicker
-
-
Returns true if websocket connection is open.
-
-
isin - Variable in class com.angelbroking.smartapi.models.Holdings
-
 
-
isTradable() - Method in class com.angelbroking.smartapi.models.Tick
-
 
-
-A B C D E F G H I L M N O P Q R S T U V W 
- -
- - - - - - - -
- - - - diff --git a/doc/index.html b/doc/index.html deleted file mode 100644 index 8c7d8b0..0000000 --- a/doc/index.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - - -Generated Documentation (Untitled) - - - - - - - - - -<noscript> -<div>JavaScript is disabled on your browser.</div> -</noscript> -<h2>Frame Alert</h2> -<p>This document is designed to be viewed using the frames feature. If you see this message, you are using a non-frame-capable web client. Link to <a href="overview-summary.html">Non-frame version</a>.</p> - - - diff --git a/doc/overview-frame.html b/doc/overview-frame.html deleted file mode 100644 index 9bf494d..0000000 --- a/doc/overview-frame.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - -Overview List - - - - - -
All Classes
-
-

Packages

- -
-

 

- - diff --git a/doc/overview-summary.html b/doc/overview-summary.html deleted file mode 100644 index d3f331d..0000000 --- a/doc/overview-summary.html +++ /dev/null @@ -1,159 +0,0 @@ - - - - - -Overview - - - - - - - - -
- - - - - - - -
- - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Packages 
PackageDescription
com.angelbroking.smartapi 
com.angelbroking.smartapi.http 
com.angelbroking.smartapi.http.exceptions 
com.angelbroking.smartapi.models 
com.angelbroking.smartapi.sample 
com.angelbroking.smartapi.ticker 
com.angelbroking.smartapi.utils 
-
- -
- - - - - - - -
- - - - diff --git a/doc/overview-tree.html b/doc/overview-tree.html deleted file mode 100644 index 3b20d2c..0000000 --- a/doc/overview-tree.html +++ /dev/null @@ -1,185 +0,0 @@ - - - - - -Class Hierarchy - - - - - - - - -
- - - - - - - -
- - -
-

Hierarchy For All Packages

-Package Hierarchies: - -
-
-

Class Hierarchy

- -

Interface Hierarchy

- -
- -
- - - - - - - -
- - - - diff --git a/doc/package-list b/doc/package-list deleted file mode 100644 index 9db2333..0000000 --- a/doc/package-list +++ /dev/null @@ -1,7 +0,0 @@ -com.angelbroking.smartapi -com.angelbroking.smartapi.http -com.angelbroking.smartapi.http.exceptions -com.angelbroking.smartapi.models -com.angelbroking.smartapi.sample -com.angelbroking.smartapi.ticker -com.angelbroking.smartapi.utils diff --git a/doc/script.js b/doc/script.js deleted file mode 100644 index c3a1cae..0000000 --- a/doc/script.js +++ /dev/null @@ -1,30 +0,0 @@ -function show(type) -{ - count = 0; - for (var key in methods) { - var row = document.getElementById(key); - if ((methods[key] & type) != 0) { - row.style.display = ''; - row.className = (count++ % 2) ? rowColor : altColor; - } - else - row.style.display = 'none'; - } - updateTabs(type); -} - -function updateTabs(type) -{ - for (var value in tabs) { - var sNode = document.getElementById(tabs[value][0]); - var spanNode = sNode.firstChild; - if (value == type) { - sNode.className = activeTableTab; - spanNode.innerHTML = tabs[value][1]; - } - else { - sNode.className = tableTab; - spanNode.innerHTML = "" + tabs[value][1] + ""; - } - } -} diff --git a/doc/serialized-form.html b/doc/serialized-form.html deleted file mode 100644 index 825c465..0000000 --- a/doc/serialized-form.html +++ /dev/null @@ -1,211 +0,0 @@ - - - - - -Serialized Form - - - - - - - - -
- - - - - - - -
- - -
-

Serialized Form

-
-
- -
- -
- - - - - - - -
- - - - diff --git a/doc/stylesheet.css b/doc/stylesheet.css deleted file mode 100644 index b8dad08..0000000 --- a/doc/stylesheet.css +++ /dev/null @@ -1,574 +0,0 @@ -/* Javadoc style sheet */ -/* -Overall document style -*/ - -@import url('resources/fonts/dejavu.css'); - -body { - background-color:#ffffff; - color:#353833; - font-family:'DejaVu Sans', Arial, Helvetica, sans-serif; - font-size:14px; - margin:0; -} -a:link, a:visited { - text-decoration:none; - color:#4A6782; -} -a:hover, a:focus { - text-decoration:none; - color:#bb7a2a; -} -a:active { - text-decoration:none; - color:#4A6782; -} -a[name] { - color:#353833; -} -a[name]:hover { - text-decoration:none; - color:#353833; -} -pre { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; -} -h1 { - font-size:20px; -} -h2 { - font-size:18px; -} -h3 { - font-size:16px; - font-style:italic; -} -h4 { - font-size:13px; -} -h5 { - font-size:12px; -} -h6 { - font-size:11px; -} -ul { - list-style-type:disc; -} -code, tt { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; - margin-top:8px; - line-height:1.4em; -} -dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - padding-top:4px; -} -table tr td dt code { - font-family:'DejaVu Sans Mono', monospace; - font-size:14px; - vertical-align:top; - padding-top:4px; -} -sup { - font-size:8px; -} -/* -Document title and Copyright styles -*/ -.clear { - clear:both; - height:0px; - overflow:hidden; -} -.aboutLanguage { - float:right; - padding:0px 21px; - font-size:11px; - z-index:200; - margin-top:-9px; -} -.legalCopy { - margin-left:.5em; -} -.bar a, .bar a:link, .bar a:visited, .bar a:active { - color:#FFFFFF; - text-decoration:none; -} -.bar a:hover, .bar a:focus { - color:#bb7a2a; -} -.tab { - background-color:#0066FF; - color:#ffffff; - padding:8px; - width:5em; - font-weight:bold; -} -/* -Navigation bar styles -*/ -.bar { - background-color:#4D7A97; - color:#FFFFFF; - padding:.8em .5em .4em .8em; - height:auto;/*height:1.8em;*/ - font-size:11px; - margin:0; -} -.topNav { - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.bottomNav { - margin-top:10px; - background-color:#4D7A97; - color:#FFFFFF; - float:left; - padding:0; - width:100%; - clear:right; - height:2.8em; - padding-top:10px; - overflow:hidden; - font-size:12px; -} -.subNav { - background-color:#dee3e9; - float:left; - width:100%; - overflow:hidden; - font-size:12px; -} -.subNav div { - clear:left; - float:left; - padding:0 0 5px 6px; - text-transform:uppercase; -} -ul.navList, ul.subNavList { - float:left; - margin:0 25px 0 0; - padding:0; -} -ul.navList li{ - list-style:none; - float:left; - padding: 5px 6px; - text-transform:uppercase; -} -ul.subNavList li{ - list-style:none; - float:left; -} -.topNav a:link, .topNav a:active, .topNav a:visited, .bottomNav a:link, .bottomNav a:active, .bottomNav a:visited { - color:#FFFFFF; - text-decoration:none; - text-transform:uppercase; -} -.topNav a:hover, .bottomNav a:hover { - text-decoration:none; - color:#bb7a2a; - text-transform:uppercase; -} -.navBarCell1Rev { - background-color:#F8981D; - color:#253441; - margin: auto 5px; -} -.skipNav { - position:absolute; - top:auto; - left:-9999px; - overflow:hidden; -} -/* -Page header and footer styles -*/ -.header, .footer { - clear:both; - margin:0 20px; - padding:5px 0 0 0; -} -.indexHeader { - margin:10px; - position:relative; -} -.indexHeader span{ - margin-right:15px; -} -.indexHeader h1 { - font-size:13px; -} -.title { - color:#2c4557; - margin:10px 0; -} -.subTitle { - margin:5px 0 0 0; -} -.header ul { - margin:0 0 15px 0; - padding:0; -} -.footer ul { - margin:20px 0 5px 0; -} -.header ul li, .footer ul li { - list-style:none; - font-size:13px; -} -/* -Heading styles -*/ -div.details ul.blockList ul.blockList ul.blockList li.blockList h4, div.details ul.blockList ul.blockList ul.blockListLast li.blockList h4 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList ul.blockList li.blockList h3 { - background-color:#dee3e9; - border:1px solid #d0d9e0; - margin:0 0 6px -8px; - padding:7px 5px; -} -ul.blockList ul.blockList li.blockList h3 { - padding:0; - margin:15px 0; -} -ul.blockList li.blockList h2 { - padding:0px 0 20px 0; -} -/* -Page layout container styles -*/ -.contentContainer, .sourceContainer, .classUseContainer, .serializedFormContainer, .constantValuesContainer { - clear:both; - padding:10px 20px; - position:relative; -} -.indexContainer { - margin:10px; - position:relative; - font-size:12px; -} -.indexContainer h2 { - font-size:13px; - padding:0 0 3px 0; -} -.indexContainer ul { - margin:0; - padding:0; -} -.indexContainer ul li { - list-style:none; - padding-top:2px; -} -.contentContainer .description dl dt, .contentContainer .details dl dt, .serializedFormContainer dl dt { - font-size:12px; - font-weight:bold; - margin:10px 0 0 0; - color:#4E4E4E; -} -.contentContainer .description dl dd, .contentContainer .details dl dd, .serializedFormContainer dl dd { - margin:5px 0 10px 0px; - font-size:14px; - font-family:'DejaVu Sans Mono',monospace; -} -.serializedFormContainer dl.nameValue dt { - margin-left:1px; - font-size:1.1em; - display:inline; - font-weight:bold; -} -.serializedFormContainer dl.nameValue dd { - margin:0 0 0 1px; - font-size:1.1em; - display:inline; -} -/* -List styles -*/ -ul.horizontal li { - display:inline; - font-size:0.9em; -} -ul.inheritance { - margin:0; - padding:0; -} -ul.inheritance li { - display:inline; - list-style:none; -} -ul.inheritance li ul.inheritance { - margin-left:15px; - padding-left:15px; - padding-top:1px; -} -ul.blockList, ul.blockListLast { - margin:10px 0 10px 0; - padding:0; -} -ul.blockList li.blockList, ul.blockListLast li.blockList { - list-style:none; - margin-bottom:15px; - line-height:1.4; -} -ul.blockList ul.blockList li.blockList, ul.blockList ul.blockListLast li.blockList { - padding:0px 20px 5px 10px; - border:1px solid #ededed; - background-color:#f8f8f8; -} -ul.blockList ul.blockList ul.blockList li.blockList, ul.blockList ul.blockList ul.blockListLast li.blockList { - padding:0 0 5px 8px; - background-color:#ffffff; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockList { - margin-left:0; - padding-left:0; - padding-bottom:15px; - border:none; -} -ul.blockList ul.blockList ul.blockList ul.blockList li.blockListLast { - list-style:none; - border-bottom:none; - padding-bottom:0; -} -table tr td dl, table tr td dl dt, table tr td dl dd { - margin-top:0; - margin-bottom:1px; -} -/* -Table styles -*/ -.overviewSummary, .memberSummary, .typeSummary, .useSummary, .constantsSummary, .deprecatedSummary { - width:100%; - border-left:1px solid #EEE; - border-right:1px solid #EEE; - border-bottom:1px solid #EEE; -} -.overviewSummary, .memberSummary { - padding:0px; -} -.overviewSummary caption, .memberSummary caption, .typeSummary caption, -.useSummary caption, .constantsSummary caption, .deprecatedSummary caption { - position:relative; - text-align:left; - background-repeat:no-repeat; - color:#253441; - font-weight:bold; - clear:none; - overflow:hidden; - padding:0px; - padding-top:10px; - padding-left:1px; - margin:0px; - white-space:pre; -} -.overviewSummary caption a:link, .memberSummary caption a:link, .typeSummary caption a:link, -.useSummary caption a:link, .constantsSummary caption a:link, .deprecatedSummary caption a:link, -.overviewSummary caption a:hover, .memberSummary caption a:hover, .typeSummary caption a:hover, -.useSummary caption a:hover, .constantsSummary caption a:hover, .deprecatedSummary caption a:hover, -.overviewSummary caption a:active, .memberSummary caption a:active, .typeSummary caption a:active, -.useSummary caption a:active, .constantsSummary caption a:active, .deprecatedSummary caption a:active, -.overviewSummary caption a:visited, .memberSummary caption a:visited, .typeSummary caption a:visited, -.useSummary caption a:visited, .constantsSummary caption a:visited, .deprecatedSummary caption a:visited { - color:#FFFFFF; -} -.overviewSummary caption span, .memberSummary caption span, .typeSummary caption span, -.useSummary caption span, .constantsSummary caption span, .deprecatedSummary caption span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - padding-bottom:7px; - display:inline-block; - float:left; - background-color:#F8981D; - border: none; - height:16px; -} -.memberSummary caption span.activeTableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#F8981D; - height:16px; -} -.memberSummary caption span.tableTab span { - white-space:nowrap; - padding-top:5px; - padding-left:12px; - padding-right:12px; - margin-right:3px; - display:inline-block; - float:left; - background-color:#4D7A97; - height:16px; -} -.memberSummary caption span.tableTab, .memberSummary caption span.activeTableTab { - padding-top:0px; - padding-left:0px; - padding-right:0px; - background-image:none; - float:none; - display:inline; -} -.overviewSummary .tabEnd, .memberSummary .tabEnd, .typeSummary .tabEnd, -.useSummary .tabEnd, .constantsSummary .tabEnd, .deprecatedSummary .tabEnd { - display:none; - width:5px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .activeTableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - float:left; - background-color:#F8981D; -} -.memberSummary .tableTab .tabEnd { - display:none; - width:5px; - margin-right:3px; - position:relative; - background-color:#4D7A97; - float:left; - -} -.overviewSummary td, .memberSummary td, .typeSummary td, -.useSummary td, .constantsSummary td, .deprecatedSummary td { - text-align:left; - padding:0px 0px 12px 10px; -} -th.colOne, th.colFirst, th.colLast, .useSummary th, .constantsSummary th, -td.colOne, td.colFirst, td.colLast, .useSummary td, .constantsSummary td{ - vertical-align:top; - padding-right:0px; - padding-top:8px; - padding-bottom:3px; -} -th.colFirst, th.colLast, th.colOne, .constantsSummary th { - background:#dee3e9; - text-align:left; - padding:8px 3px 3px 7px; -} -td.colFirst, th.colFirst { - white-space:nowrap; - font-size:13px; -} -td.colLast, th.colLast { - font-size:13px; -} -td.colOne, th.colOne { - font-size:13px; -} -.overviewSummary td.colFirst, .overviewSummary th.colFirst, -.useSummary td.colFirst, .useSummary th.colFirst, -.overviewSummary td.colOne, .overviewSummary th.colOne, -.memberSummary td.colFirst, .memberSummary th.colFirst, -.memberSummary td.colOne, .memberSummary th.colOne, -.typeSummary td.colFirst{ - width:25%; - vertical-align:top; -} -td.colOne a:link, td.colOne a:active, td.colOne a:visited, td.colOne a:hover, td.colFirst a:link, td.colFirst a:active, td.colFirst a:visited, td.colFirst a:hover, td.colLast a:link, td.colLast a:active, td.colLast a:visited, td.colLast a:hover, .constantValuesContainer td a:link, .constantValuesContainer td a:active, .constantValuesContainer td a:visited, .constantValuesContainer td a:hover { - font-weight:bold; -} -.tableSubHeadingColor { - background-color:#EEEEFF; -} -.altColor { - background-color:#FFFFFF; -} -.rowColor { - background-color:#EEEEEF; -} -/* -Content styles -*/ -.description pre { - margin-top:0; -} -.deprecatedContent { - margin:0; - padding:10px 0; -} -.docSummary { - padding:0; -} - -ul.blockList ul.blockList ul.blockList li.blockList h3 { - font-style:normal; -} - -div.block { - font-size:14px; - font-family:'DejaVu Serif', Georgia, "Times New Roman", Times, serif; -} - -td.colLast div { - padding-top:0px; -} - - -td.colLast a { - padding-bottom:3px; -} -/* -Formatting effect styles -*/ -.sourceLineNo { - color:green; - padding:0 30px 0 0; -} -h1.hidden { - visibility:hidden; - overflow:hidden; - font-size:10px; -} -.block { - display:block; - margin:3px 10px 2px 0px; - color:#474747; -} -.deprecatedLabel, .descfrmTypeLabel, .memberNameLabel, .memberNameLink, -.overrideSpecifyLabel, .packageHierarchyLabel, .paramLabel, .returnLabel, -.seeLabel, .simpleTagLabel, .throwsLabel, .typeNameLabel, .typeNameLink { - font-weight:bold; -} -.deprecationComment, .emphasizedPhrase, .interfaceName { - font-style:italic; -} - -div.block div.block span.deprecationComment, div.block div.block span.emphasizedPhrase, -div.block div.block span.interfaceName { - font-style:normal; -} - -div.contentContainer ul.blockList li.blockList h2{ - padding-bottom:0px; -}