Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
NotificationsYou must be signed in to change notification settings

alperacabey/trader-vue

Repository files navigation

# npmnpm install# or yarnyarn

Running the code

# npmnpm run dev# or yarnyarn dev

3rd party libraries

  • vue-router (router)
  • vue-toastification ( toast )
  • vue/test-utils (unit testing utility library)
  • jest (testing framework)

Styles

Styles were written in accordance withBEM methodology.

Folder structure

├── public                  # Shared files├── src                     # Source files│   ├── asseets             # Style files|   |   ├── **/*.scss│   ├── components          # Reusable components|   |   ├── **/*.vue│   ├── composables         # Encapsulated and reused stateful logics|   |   ├── **/*.ts│   ├── entities            # Constants and types   |   |   ├── **/*.ts│   ├── plugins             # 3rd part library configurations|   |   ├── **/*.ts│   ├── router              # Routes│   ├── services            # Socket and api gateways│   ├── views               # Pages├── tests│   ├── **/*.spec.ts        # Unit tests

Glossary

TermDefinition
ISINThe 12-digit alphanumeric code that uniquely identifies a specific instrument
instrumentA tradable asset, or a negotiable item, such as a security, commodity, derivative, or index, or any item that underlies a derivative.
bidThe highest price a buyer will pay to buy a specified number of shares of an instrument at any given time.
askThe lowest price at which a seller will sell the instrument.

Socket Reference

The WebSocket server is started when you runyarn dev. You can then connect to it at

ws://localhost:8425/

To subcribe to a specific security

{"subscribe":"${ISIN}"}

To unsubscribe to a specific security

{"unsubscribe":"${ISIN}"}

Example Request

{"subscribe":"DE000BASF111"}

Sample Response

{"isin":"DE000BASF111","price":11.316359370403822,"bid":11.306359370403822,"ask":11.326359370403821}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp