-
How to place trailing stop loss order through api
-
How much margin is required or how to calculate margin requirement
Basically I want to place trailing stop loss order
How to place trailing stop loss order through api
How much margin is required or how to calculate margin requirement
Basically I want to place trailing stop loss order
Static IP cannot remain same always.
Many times internet line is down due to various reasons so ISP change its provider or we change from broadband to mobile or some other network.
In this case static IP can not remain same.
In case of network failure we cannot switch to another network. It can cause trade loss during that period.
Since static ip we are not able to change location. We must stick to only one location. This is not fair.
Retail investors price of static ip and multiple static ip could be high.
If you dont want retail investors to survive then please let us know, we retail investors will try to do some other business.
I didnt find any solution.
I think these people want to end algo trading for retailers. Retailers cant have profit without algo trading and these people dont want small investors to have any kind of profit. very sad. No option they dont think about small investors.
@admin Please let us know any progress on this
@admin
Hello admin,
I was reading through notice PDF, I couldn't find they have mentioned REST based API should show popup. Please check and reconsider this decision to block trading of such scrips. It is important for algo trading.
please reply
Please do something regarding this issue otherwise all algo traders are ruined. This decision will ruin algo trade industry.
We need to find another country where monkeys are not controlling stock market decisions.
this is like sword in monkey's hand
@admin Consent can be automated with one more call, or additional fields with
CONCENT=Y
Please consider this suggestions. its very important for us
Please do something for this. We are algo traders, we know what we are doing and we are responsible for our trades. We are aware of profit and loss consequences.
Algo trade means not interactive, then please consider removing this restriction for algo trades.
This thing is harming our business. please do something.
I am facing this issue. I am using samples provided by angel. I am running test and login is working ticker is not working
Logged in user: MY USER NAME
15:53:40.873 [main] INFO com.angelbroking.smartapi.smartstream.ticker.SmartStreamTicker - connected to uri: wss://smartapisocket.angelone.in/smart-stream
15:53:40.927 [ReadingThread] INFO com.angelbroking.smartapi.smartstream.SmartStreamListenerImpl - subscriptionMode: SNAP_QUOTE exchangeType: NSE_CM token: NSE_CM-26000 sequenceNumber: 15855280 ltp: 22198.35 lastTradedQty: 0 avgTradedPrice: 0.00 volumeTradedToday: 0 totalBuyQty: 0.00 totalSellQty: 0.00 open: 0.00 high: 0.00 low: 0.00 close: 22122.05 lastTradedTimestamp: 0 openInterest: 1287514.50 openInterestChangePerc: 407.69 bestFiveBuyData: [SmartApiBBSInfo(buySellFlag=1, quantity=0, price=0, numberOfOrders=0), SmartApiBBSInfo(buySellFlag=1, quantity=0, price=0, numberOfOrders=0), SmartApiBBSInfo(buySellFlag=1, quantity=0, price=0, numberOfOrders=0), SmartApiBBSInfo(buySellFlag=1, quantity=0, price=0, numberOfOrders=0), SmartApiBBSInfo(buySellFlag=1, quantity=0, price=0, numberOfOrders=0)] bestFiveSellData: [SmartApiBBSInfo(buySellFlag=0, quantity=0, price=0, numberOfOrders=0), SmartApiBBSInfo(buySellFlag=0, quantity=0, price=0, numberOfOrders=0), SmartApiBBSInfo(buySellFlag=0, quantity=0, price=0, numberOfOrders=0), SmartApiBBSInfo(buySellFlag=0, quantity=0, price=0, numberOfOrders=0), SmartApiBBSInfo(buySellFlag=0, quantity=0, price=0, numberOfOrders=0)] upperCircuit: 0.00 lowerCircuit: 0.00 yearlyHighPrice: 0.00 yearlyLowPrice: 0.00 exchangeTime: 2024-02-27T15:53:20+05:30[Asia/Kolkata] exchangeToClientLatency: 20924
com.neovisionaries.ws.client.WebSocketException: The status line of the opening handshake response is empty.
at com.neovisionaries.ws.client.HandshakeReader.readStatusLine(HandshakeReader.java:99)
at com.neovisionaries.ws.client.HandshakeReader.readHandshake(HandshakeReader.java:48)
at com.neovisionaries.ws.client.WebSocket.readHandshake(WebSocket.java:3440)
at com.neovisionaries.ws.client.WebSocket.shakeHands(WebSocket.java:3319)
at com.neovisionaries.ws.client.WebSocket.connect(WebSocket.java:2354)
at com.angelbroking.smartapi.smartstream.ticker.SmartStreamTicker.connect(SmartStreamTicker.java:383)
at com.angelbroking.smartapi.smartstream.SmartStreamTickerTest.testSmartStreamTicketLTP(SmartStreamTickerTest.java:52)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:728)
at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131)
at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:156)
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:147)
at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:86)
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(InterceptingExecutableInvoker.java:103)
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.lambda$invoke$0(InterceptingExecutableInvoker.java:93)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45)
at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37)
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:92)
at org.junit.jupiter.engine.execution.InterceptingExecutableInvoker.invoke(InterceptingExecutableInvoker.java:86)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$7(TestMethodTestDescriptor.java:218)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:214)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:139)
at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:69)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:151)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:41)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$6(NodeTestTask.java:155)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:141)
at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$9(NodeTestTask.java:139)
at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:138)
at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:95)
at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:35)
at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57)
at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:54)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:198)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:169)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:93)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:58)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:141)
at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:57)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:103)
at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:85)
at org.junit.platform.launcher.core.DelegatingLauncher.execute(DelegatingLauncher.java:47)
at org.junit.platform.launcher.core.SessionPerRequestLauncher.execute(SessionPerRequestLauncher.java:63)
at com.intellij.junit5.JUnit5IdeaTestRunner.startRunnerWithArgs(JUnit5IdeaTestRunner.java:57)
at com.intellij.rt.junit.IdeaTestRunner$Repeater$1.execute(IdeaTestRunner.java:38)
at com.intellij.rt.execution.junit.TestsRepeater.repeat(TestsRepeater.java:11)
at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:35)
at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:232)
at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:55)
com.neovisionaries.ws.client.WebSocketException: The status line of the opening handshake response is empty.
at com.neovisionaries.ws.client.HandshakeReader.readStatusLine(HandshakeReader.java:99)
at com.neovisionaries.ws.client.HandshakeReader.readHandshake(HandshakeReader.java:48)
at com.neovisionaries.ws.client.WebSocket.readHandshake(WebSocket.java:3440)
at com.neovisionaries.ws.client.WebSocket.shakeHands(WebSocket.java:3319)
at com.neovisionaries.ws.client.WebSocket.connect(WebSocket.java:2354)
at com.angelbroking.smartapi.smartstream.ticker.SmartStreamTicker.connect(SmartStreamTicker.java:383)
at com.angelbroking.smartapi.smartstream.SmartStreamTickerTest.testSmartStreamTicketLTP(SmartStreamTickerTest.java:52)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
I am facing this issue, anyone have solution for this?
Re: Changes in JWT Token Validity
unable to login and get ticker update today, any changes you have done at your side? please do inform to your customers before doing any breaking change
me too getting similar error
Is there any plugin available for Viewing charts and Amibroker?
I want to see all data from my angel login to amibroker.
Do you provider and plugin like global datafeed?
If not i can create for myself and others. Does it have any license issues?
@Ashok in get holdings i am getting ONLY todays data.
i Want entire portfolio
How to retrieve portfolio using API?
I tried Get Holdings api but that is not what i want?
get possition is returning todays data only
I want my current portfolio?
You people answer even without reading. You replied that this is not about smartapi, but this is about smartapi only. Please at least read what people has to say.
Please reply, i am asking for help and you calling it as spamming.
Please i just need to get correct trading balance. Your customer support not able to help.
This is i am asking about SmartAPI only.
I need correct trading balance amount through SmartAPI