
Security News
Security Community Slams MIT-linked Report Claiming AI Powers 80% of Ransomware
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.
trade-republic-api
Advanced tools
This package can be used to interact with Trade Republics API (not officially supported, use at your own risk).
npm i trade-republic-api
This example illustrates a subscription to the ticker topic for the ISIN US90364P1057.
For more please check the examples folder.
const trapi = new TradeRepublicApi({});
trapi.on('connected', async () => {
  const data = await trapi.oneShot<Ticker>('ticker', {
    id: 'US90364P1057.LSX',
  });
  console.log(JSON.stringify(data));
  console.log(`Ask Price: ${data.payload.ask.price}`);
});
trapi.connect();
Authentication is required for all topics related to your personal data. You can authenticate a session by using the login method with your phone number and pin. After the initial login, a 2-Factor-Authentication token (received in your app) has to be provided in the CLI in order to proceed.
const trapi = new TradeRepublicApi({});
trapi.on('connected', async () => {
  await trapi.login('+1234567890123', '1234');
  const data = await trapi.oneShot<TimeLineResponse>('timeline');
  console.log(JSON.stringify(data));
});
trapi.connect();
Other topics might work as well, full list is available in TradeRepublicMessageType however you need find the correct message parameters yourself.
FAQs
Trade Republic Api wrapper
We found that trade-republic-api demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Experts push back on new claims about AI-driven ransomware, warning that hype and sponsored research are distorting how the threat is understood.

Security News
Ruby's creator Matz assumes control of RubyGems and Bundler repositories while former maintainers agree to step back and transfer all rights to end the dispute.

Research
/Security News
Socket researchers found 10 typosquatted npm packages that auto-run on install, show fake CAPTCHAs, fingerprint by IP, and deploy a credential stealer.