Jump to content
  • 0

Excel sample how-to logout cleanly


WayneM

Question

I downloaded the excel sample trading app, and have added an auto trading algo referencing the streamed price data, including auto trade placement with relevant stop and limits and it works nicely, however, I'm not sure on how to log out cleanly (rest and streamed).
There is a logout public sub in the igApiRestClient class module which I think I'm calling using the following public sub I added in sheet1 & associated logout button:
 Public Sub Logout_Button()
 Dim ab As IGApiRestClient
 Set ab = New IGApiRestClient
  Call ab.logout
   m_loggedIn = False
  MsgBox "LoggedOut!"
 End Sub
(stepping through the code does jump to and step through the logout class sub, but I'm obviously doing something wrong.)
Any guidance would be really appreciated.

Link to comment

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • General Statistics

    • Total Topics
      21,284
    • Total Posts
      90,915
    • Total Members
      41,401
    • Most Online
      7,522
      10/06/21 10:53

    Newest Member
    LCT1
    Joined 07/02/23 07:34
  • Posts

    • For more up to date news on how markets will open, the latest earnings and economic news, watch IGTV live in the platform at 07:30am UK. Today’s coverage:  Indices: At best holding Monday’s losses. Expecting Europe to be down at the start FX: USD breaks resistance sending EURUSD down to near 1mth lows. AUD climbs vs other G7 currencies after the RBA raised rates and says more to come.  GBP up as BRC sales monitor says retail sales climbed but rate of climb has slowed. Awaiting UK Halifax house prices Equities: Earnings – BP SSE BNP. BBBY up 92% on hopes bankruptcy can be avoided Commods: Gold little moved, base metals little moved, oil up for a second day. Another new record high for NY orange juice      
    • Elliott Wave Analysis TradingLounge Daily Chart, 7 February 23,   Bitcoin / U.S.dollar(BTCUSD) BTCUSD Elliott Wave Technical Analysis Function: Follow trend Mode: Motive Structure: Impulse Position: Wave ((3)) Direction Next higher Degrees: wave I of Motive Details: Wave ((3)) may end and the price throwback in wave ((4)) Wave Cancel invalid level: 18475 Bitcoin / U.S.dollar(BTCUSD)Trading Strategy: Bitcoin in the daily chart is likely to correct after passing the 2.618 wave target ((1)) with a chance to retest the MA200 line and the same level as the wave retracement ((4)) if sustained. It is a good signal to start another upward trend in waves ((5)). Bitcoin / U.S.dollar(BTCUSD) Technical Indicators: The price is above the MA200 indicating an uptrend. The wave oscillators above Zero-Line momentum are bullish. TradingLounge Analyst: Kittiampon Somboonsod     Elliott Wave Analysis TradingLounge 4H Chart, 7 February 23,   Bitcoin / U.S.dollar(BTCUSD) BTCUSD Elliott Wave Technical Analysis Function: Follow trend Mode: Motive Structure: Impulse Position: Wave ((3)) Direction Next higher Degrees: wave I of Motive Details: Wave ((3)) may end and the price throwback in wave ((4))  Wave Cancel invalid level: 18475 Bitcoin / U.S.dollar(BTCUSD)Trading Strategy: Bitcoin in the daily chart is likely to correct after passing the 2.618 wave target ((1)) with a chance to retest the MA200 line and the same level as the wave retracement ((4)) if sustained. It is a good signal to start another upward trend in waves ((5)). Bitcoin / U.S.dollar(BTCUSD)Technical Indicators: The price is above the MA200, indicating an uptrend. The wave oscillators below Zero-Line Bearish momentum.
    • European Stock Market Elliott Wave Investing Strategies Content DAX 40 - FTSE 100 - DXY - GBPUSD - EURUSD Market Summary DAX Wave (v) / FTSE Top. Elliott Wave Analysis DAX 40  Wave (v) of v) of 5. Forex Pairs Tops Trading Strategies. Nil Video Chapters 00:00 DAX 40 (GDAXI)  05:25 UKX / FTSE 100 10:56 Forex GBPUSD / EURUSD / DXY  18:16 TRIAL Buy 1 Month Get 3 Months Analyst Peter Mathers TradingLounge™     
×
×
  • Create New...