Skip to content
This repository has been archived by the owner on Sep 2, 2024. It is now read-only.

JavaScript library to get real-time quotes from Equibles

Notifications You must be signed in to change notification settings

equibles/websockets-javascript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Equibles WebSockets live quotes for JavaScript

Getting Started

Browser

<script type="text/javascript" src="dist/all.min.js"></script>
<script type="text/javascript">
    (async () => {
        let client = new Equibles.Client("MY_API_KEY", ["AAPL", "GOOG", "TSLA"]);

        client.addQuoteListener(q => {
            console.log(q);
        });

        await client.connect();
    })();
</script>

Node JS

import {Client} from '@equibles/websockets';

let client = new Client("MY_API_KEY", ["AAPL", "GOOG", "TSLA"]);

client.addQuoteListener(q => {
    console.log(q);
});

await client.connect();

Author

Equibles
contact@equibles.com

About

JavaScript library to get real-time quotes from Equibles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published