Volume Color is reversed in v1.13 dev #3227 XSS in indicatorsFile parameter #3210 Unknown 1 minute resolution in resolutions widget #3207 What does supports_group_request do? #3183 Improved documentation for intraday_multipliers #3176 Please run a spell checker over the Wiki #3172 Disable "This chart layout has more than 1000 drawings" popup #3158 Problem with drawings in `60S` resolution #3147 Pivot Points are same across Hourly and Daily Timeframe #3144 Add useful default for minSize in getMarks #3139 JS API from/to vs. startDate/endDate inconsistency #3136 Minor wiki error: three -> four #3134 Defaults for chart style and interval favorites does not work #3036 Add support to disable modify order #3015 Cannot read property 'contains' of null if chart container is not visible #2999 Spread/Ratio indicators #2875 Initial bars load glitch #2665 Bars are shifted when the exchange time is negative #2652 Question for previous close price line #2643 SymbolInfo ticker is mandatory, despite what docs say #2581 12/31/2017 is missing when TZ time is negative #2571 TERMINAL: notifications log tab in the bottom panel #2538 The problem with translating the timeframes into Russian. #2494 Adaptive top panel #2491 Session and Cookie #2484 Maximum call stack size exceeded #2477 1.12 custom save_load_adapter UI event exceptions #2448 How to change color to the up fractals of the Williams Fractals? #2425 Timescale marks are not displayed correctly in version 1.11 #2423 Display "Delayed" status on the chart #2369 Add default quantity for symbols #2322 Add Market Depth in TradingTerminal #2316 TERMINAL: Change "Don't show order confirmations" from a broker #2261 Scale Ratio #2240 getBars not called after symbol change #2062 side_toolbar_in_fullscreen_mode doesn't work #2036 Adding link in market details widget #2021 Cannot read property 'favorite' of undefined (indicators) #1998 Add Pivot Points #1747 Multiple watchlists #1697 MACD EMA based #1300 Add Themes #1277 Change study default scale #1170 Show dialog when insert Correlation Coefficient #1169 How to get current status of log scale? #1050 Missing onVisibleRangeChange event #813 Synchronous XMLHttpRequest on the main thread is deprecated #773 "Hide All Drawing Tools" button doesn't hide the price of "Horizontal Line" #477
1.7 KiB
UDF Compatible Datafeed
This folder contains UDF datafeed adapter. It implements JS API and makes HTTP requests using UDF protocol.
You can use this datafeed adapter to plug your data if you implement UDF on your server. You can also scrutinize how it works before writing your own adapter.
This datafeed is implemented in TypeScript.
Folders content
-
./srcfolder contains the source code in TypeScript. -
./libfolder contains transpiled in es5 code. So, if you do not know how to use TypeScript - you can modify these files to change the result bundle later. -
./distfolder contains bundled JavaScript files which can be inlined into a page and used in the Widget Constructor.
Build & bundle
Before building or bundling your code you need to run npm install to install dependencies.
package.json contains some handy scripts to build or generate the bundle:
npm run compileto compile TypeScript source code into JavaScript files (output will be in./libfolder)npm run bundle-jsto bundle multiple JavaScript files into one bundle (it also bundle polyfills)npm run buildto compile and bundle (it is a combination of all above commands)
NOTE: if you want to minify the bundle code, you need to set ENV environment variable to a value different from development.
For example:
export ENV=prod
npm run bundle-js # or npm run build
or
ENV=prod npm run bundle-js
or
ENV=prod npm run build