Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

longbridge

Package Overview
Dependencies
Maintainers
2
Versions
67
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

longbridge - npm Package Compare versions

Comparing version 0.2.43 to 0.2.44

19

index.d.ts

@@ -646,2 +646,21 @@ /* tslint:disable */

}
export class HttpClient {
constructor(httpUrl: string, appKey: string, appSecret: string, accessToken: string)
/**
* Create a new `HttpClient` from the given environment variables
*
* It first gets the environment variables from the `.env` file in the
* current directory.
*
* # Variables
*
* - `LONGBRIDGE_HTTP_URL` - HTTP endpoint url
* - `LONGBRIDGE_APP_KEY` - App key
* - `LONGBRIDGE_APP_SECRET` - App secret
* - `LONGBRIDGE_ACCESS_TOKEN` - Access token
*/
static fromEnv(): HttpClient
/** Performs a HTTP request */
request(method: string, path: string, body?: any | undefined | null): Promise<any>
}
/** Quote context */

@@ -648,0 +667,0 @@ export class QuoteContext {

3

index.js

@@ -239,6 +239,7 @@ const { existsSync, readFileSync } = require('fs')

const { Config, Decimal, QuoteContext, PushQuoteEvent, PushDepthEvent, PushBrokersEvent, PushTradesEvent, PushCandlestickEvent, Subscription, DerivativeType, TradeStatus, TradeSession, SubType, TradeDirection, OptionType, OptionDirection, WarrantType, Period, AdjustType, SecurityBoard, SecurityStaticInfo, PrePostQuote, SecurityQuote, OptionQuote, WarrantQuote, Depth, SecurityDepth, Brokers, SecurityBrokers, ParticipantInfo, Trade, IntradayLine, Candlestick, StrikePriceInfo, IssuerInfo, TradingSessionInfo, MarketTradingSession, RealtimeQuote, PushQuote, PushDepth, PushBrokers, PushTrades, PushCandlestick, MarketTradingDays, CapitalFlowLine, CapitalDistribution, CapitalDistributionResponse, WatchListGroup, WatchListSecurity, NaiveDate, Time, TradeContext, TopicType, Execution, OrderStatus, OrderSide, OrderType, OrderTag, TimeInForceType, TriggerStatus, OutsideRTH, Order, PushOrderChanged, SubmitOrderResponse, CashInfo, AccountBalance, BalanceType, CashFlowDirection, CashFlow, FundPositionsResponse, FundPositionChannel, FundPosition, StockPositionsResponse, StockPositionChannel, StockPosition, MarginRatio, Market, Language } = nativeBinding
const { Config, Decimal, HttpClient, QuoteContext, PushQuoteEvent, PushDepthEvent, PushBrokersEvent, PushTradesEvent, PushCandlestickEvent, Subscription, DerivativeType, TradeStatus, TradeSession, SubType, TradeDirection, OptionType, OptionDirection, WarrantType, Period, AdjustType, SecurityBoard, SecurityStaticInfo, PrePostQuote, SecurityQuote, OptionQuote, WarrantQuote, Depth, SecurityDepth, Brokers, SecurityBrokers, ParticipantInfo, Trade, IntradayLine, Candlestick, StrikePriceInfo, IssuerInfo, TradingSessionInfo, MarketTradingSession, RealtimeQuote, PushQuote, PushDepth, PushBrokers, PushTrades, PushCandlestick, MarketTradingDays, CapitalFlowLine, CapitalDistribution, CapitalDistributionResponse, WatchListGroup, WatchListSecurity, NaiveDate, Time, TradeContext, TopicType, Execution, OrderStatus, OrderSide, OrderType, OrderTag, TimeInForceType, TriggerStatus, OutsideRTH, Order, PushOrderChanged, SubmitOrderResponse, CashInfo, AccountBalance, BalanceType, CashFlowDirection, CashFlow, FundPositionsResponse, FundPositionChannel, FundPosition, StockPositionsResponse, StockPositionChannel, StockPosition, MarginRatio, Market, Language } = nativeBinding
module.exports.Config = Config
module.exports.Decimal = Decimal
module.exports.HttpClient = HttpClient
module.exports.QuoteContext = QuoteContext

@@ -245,0 +246,0 @@ module.exports.PushQuoteEvent = PushQuoteEvent

{
"name": "longbridge",
"version": "0.2.43",
"version": "0.2.44",
"main": "index.js",

@@ -35,7 +35,7 @@ "types": "index.d.ts",

"optionalDependencies": {
"longbridge-win32-x64-msvc": "0.2.43",
"longbridge-darwin-x64": "0.2.43",
"longbridge-linux-x64-gnu": "0.2.43",
"longbridge-darwin-arm64": "0.2.43"
"longbridge-win32-x64-msvc": "0.2.44",
"longbridge-darwin-x64": "0.2.44",
"longbridge-linux-x64-gnu": "0.2.44",
"longbridge-darwin-arm64": "0.2.44"
}
}
SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc