What do you want to save?
Add Code snippet
New code examples
-
Other 2021-10-21 23:58:08
convert 1 min data to 3 min
#Get records records = requests.get('https://api.stocknote.com/intraday/candleData', params={'exchange':'NFO','symbolName': token, 'fromDate': frm_date, 'interval' : interval}, headers = headers) #Form dataframe from dict df = pd.DataFrame.fr... Add solution -
VBA 2021-10-20 19:39:04
xl user defined function translate text
'Here is a VBA User Defined Function to translate text in an Excel cell. It 'uitlizes Google Translate and thus requires an Internet connection: Function Translate$(sText$, FromLang$, ToLang$) Dim p1&, p2&, url$, resp$ Const DIV_RESULT$ ... Add solution -
Python 2021-10-20 13:27:06
qtradablestocksus
from quantopian.pipeline.data import Fundamentals from quantopian.pipeline.data import morningstar from quantopian.pipeline.factors import AverageDollarVolume from quantopian.pipeline.factors.morningstar import MarketCap from quantopian.pipeline.classifie... Add solution -
Other 2021-10-20 13:12:09
code ascii clavier
À Alt+ 0192 À À Á Alt+ 0193 Á Á Â Alt+ 0194 Â Â Ã Alt+ 0195 Ã Ã Ä Alt+ 0196 Ä Ä Å Alt+ 0197 Å Å &AEl... Add solution -
Python 2021-10-20 12:24:09
alpaca examples
import alpaca_trade_api as tradeapi # authentication and connection details api_key = 'Insert_your_api_key_here' api_secret = 'Insert_your_api_secret_here' base_url = 'https://paper-api.alpaca.markets' # instantiate REST API api = tradeapi.REST(api_key,... Add solution -
VBA 2021-10-18 19:05:10
vba string array
'In VBA a dynamic string array is declared in the following ways: Dim strArr1() As String Dim strArr2$() 'Neither declaration style is prefered. They are exactly equivalent. 'Both ways above produce a dynamic array, which means that the exact size of '... Add solution -
Javascript 2021-10-18 16:13:04
ribbon banner for react native
import React, {useEffect, useState, useRef} from 'react'; import { Text, View, Dimensions, Image, Animated, StyleSheet, } from 'react-native'; export default function BadgeRibbon(props) { return ( <View> <View sty... Add solution -
Javascript 2021-10-18 02:36:04
iterate through list js
var data = [1, 2, 3, 4, 5, 6]; // traditional for loop for(let i=0; i<=data.length; i++) { console.log(data[i]) // 1 2 3 4 5 6 } // using for...of for(let i of data) { console.log(i) // 1 2 3 4 5 6 } // using for...in for(let i in data) { con... Add solution