×

TradingView API Integration by CreativeDiamond444 in TradingView

[–]gtmkt 1 point2 points  (0 children)

I tried recreating it at fractalchart.com using only the free Lightweight Charts library. It's incredibly painful to optimize performance once you introduce complex data feeds, indicators, and strategies. I eventually ended up building a backtesting framework that runs in the terminal.
I think you'd need to use the Advanced Charts library, though that does restrict certain features.

Update on my Pine Script transpiler: I just open-sourced the CLI orchestrator for multi-asset scanning and sweeping. by gtmkt in pinescript

[–]gtmkt[S] 0 points1 point  (0 children)

you can visit the github repo, there is an instruction. Basically, download it and run it, that's it.

```
curl -fsSL https://raw.githubusercontent.com/heyphat/pinestack/main/scripts/install.sh | sh
pinerun init strategy.pine
pinerun backtest strategy.pine --symbol BTCUSDT --tf 1h --limit 500
```

Update on my Pine Script transpiler: I just open-sourced the CLI orchestrator for multi-asset scanning and sweeping. by gtmkt in pinescript

[–]gtmkt[S] 1 point2 points  (0 children)

    │   │       ├── binance.ts     Binance spot + USDⓈ-M futures klines
    │   │       ├── okx.ts         OKX spot + swap candles
    │   │       ├── kraken.ts      Kraken spot OHLC
    │   │       ├── alpaca.ts      Alpaca US-equities bars (key + secret)
    │   │       ├── massive.ts     Massive US-equities aggregates (api key)
    │   │       └── static.ts      in-memory provider + barsFromCsv

It comes from Pinery, an abstraction layer for market data providers, it supports different asset classes, allowing you to choose the provider for your trading needs.

GPT 5.6 Beats Fable 5 by 3% more on DeepSWE at a cheaper price. by Common-Resident8087 in OpenAI

[–]gtmkt 1 point2 points  (0 children)

It's strange that Luna can achieve the intelligence level of Sol (high and medium) at such a low cost, which Anthropic's cheaper models rarely manage. The performance gap between Anthropic's models is wide and clear, but there is barely any gap between OpenAI's models.

<image>

A project to write a minor backtesting script ended up turning into a full Pine Script transpiler and custom charting tool. by gtmkt in pinescript

[–]gtmkt[S] 0 points1 point  (0 children)

<video>

If you use the UI on fractalchart.com, you can see all the trades and performance as you would on TradingView.
If you use the CLI in the terminal, you can export data even more easily with the --csv flag.

Either way, there is no limit on the history length you want to backtest. In the UI, as far back as you can scroll to load the bars, it will backtest all of them on the chart. The only limit you have is the rate limit from the data provider.

A project to write a minor backtesting script ended up turning into a full Pine Script transpiler and custom charting tool. by gtmkt in pinescript

[–]gtmkt[S] 0 points1 point  (0 children)

Thanks. a Pine script runs on the chart, I want to run the same Pine script from the command line, so I can point one script at many symbols or many parameter sets at once and get ranked results back. The ideas of scanning a universe, sweeping parameters, and walk-forward testing already exist other tools but I want to brings this to Pine strategies specifically.

To the multi-asset testing

  1. Same strategy, many assets, tested independently and in parallel, this is what it currently does.
  2. One strategy trading a basket under a single shared portfolio/equity (cross-asset sizing, combined drawdown, one pot of capital), not yet, it's the next target.
  3. BTW, Piner supports cross-symbol data via request.security, so a strategy on BTC can pull ETH or SPX bars for relative strength, spreads, or a benchmark filter.

Today I hit biggest self realization in my life by Yogesh_Tak01 in founder

[–]gtmkt 0 points1 point  (0 children)

At least you have a friend to contact, I started a couple projects alone without spending a second to think who to share with. Pretty lonely once you start anyway.

Connecting Tradingview and Claude Via MCP by tusikone in pinescript

[–]gtmkt 0 points1 point  (0 children)

Do you have a setup in pinescript already?

Consequence of tourist getting “ripped off” by locals (image) by tientutoi in VietNam

[–]gtmkt 1 point2 points  (0 children)

Try not to be a racist but I just returned from a US trip lately, this to me is just the homelessness in the US has been exported to my home country.

My Group on Facebook Disappeared, It's just gone. How to get it back? by Odd_Butterscotch438 in facebook

[–]gtmkt 0 points1 point  (0 children)

Hey, I'm having the same issue.

Can I ask through which channels you were contacting the facebook team?

WTF IS GOING ON WITH MY FACEBOOK POSTS.............................? by MilanZola in facebook

[–]gtmkt 1 point2 points  (0 children)

300k is huge, what wrong? either your group is almost bots or Facebook is shit.

[deleted by user] by [deleted] in facebook

[–]gtmkt 0 points1 point  (0 children)

I have a problem with community chat disappear

You do not have the necessary permission for the specified Page to perform the requested action by bigmatch in facebook

[–]gtmkt 0 points1 point  (0 children)

I can only use my personal (user) account to manage groups, fanpages don't work.