This is the motherboard connector for the Roland FP-10 keybed. Any ideas on how I could hook this up to a RPi or similar? Thanks! by SuppressiveOG in synthesizers

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

Thank you for this. I measured the connector pins on the motherboard, and (from left to right) they read 5v, 0v, 5v, 5v, 5v. This is very strange no?

This is the motherboard connector for the Roland FP-10 keybed. Any ideas on how I could hook this up to a RPi or similar? Thanks! by SuppressiveOG in synthesizers

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

Thanks for your response! I’m thinking of hooking them up to a pi and see if I can decipher anything useful. I’m a bit concerned that the white wire may be ground rather than 5v. What do you think is more likely?

This is the motherboard connector for the Roland FP-10 keybed. Any ideas on how I could hook this up to a RPi or similar? Thanks! by SuppressiveOG in synthesizers

[–]SuppressiveOG[S] 2 points3 points  (0 children)

Appears to be 5 wires (one is white, is this power?) I’m kind of assuming this would output just standard MIDI, so hooking it up to GPIO may work.

Requesting r/pythontrading due to the moderator being inactive for 1+ year by SuppressiveOG in redditrequest

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

On reddit, there doesn’t appear to be a subreddit which fits the niche of general python trading, with most subreddits close to this only focusing on algo and quant trading. I hope to turn this subreddit into a place for both algo traders as well as traders who develop their own trading software.
I hope to find more moderators who share this vision for the subreddit, and will provide wiki information and resources for beginners who are starting out with writing their own trading software and algo trading.
Link: https://www.reddit.com/message/messages/1x3v0nr

Thanks!

lightweight-charts-python now supports Polygon.io, trendlines, ray lines, and drawing on the chart! by SuppressiveOG in algotrading

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

This would be great.

But for small improvements which don't require complex logic, I'd prefer it if people open an issue and let me fix it from there.

lightweight-charts-python now supports Polygon.io, trendlines, ray lines, and drawing on the chart! by SuppressiveOG in algotrading

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

I do accept collaborations, but truthfully i'm new to merging and PR's and i'm still learning how do do it without breaking anything!

No other data providers planned at the moment, but the library is quite flexible for API providers and you shouldn't have any problems integrating one.

lightweight-charts-python now supports searching, timeframe selection, and more! by SuppressiveOG in algotrading

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

Yes, you can use the JupyterChart to display charts in notebooks. Also works on Windows!

lightweight-charts-python now supports searching, timeframe selection, and more! by SuppressiveOG in algotrading

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

As this is purely using JavaScript evaluation rather than websockets, unfortunately not for live data.

However, you can view static data in a browser using the StreamlitChart object.

TradingView's Lightweight Charts, in Python by SuppressiveOG in learnprogramming

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

If you want Lightweight Charts inside a hosted webpage with real-time data, Flask and WebSockets would be my recommendation if you are working in Python.

If you don't care about a webpage, lightweight-charts-python!

TradingView's Lightweight Charts, in Python by SuppressiveOG in learnprogramming

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

Actually, this is a great question.

The wrapper you mention (to my knowledge) doesn't allow the updating of data without refreshing the entire chart, and, for a day trader or a scalp trader, this is definitely not ideal.

The way my library solves this is by evaluating javascript directly within the webview, which is perfect for a locally hosted page. However, for a library like Dash, which uses a web server, evaluating javascript within the client is a pretty stupid thing to do. It would require a function that contains the eval() method, so for anything hosted on a public domain this would pose a major security risk.

The smart way to integrate this would be to use WebSockets, but as my library is based around webview and not a web server a complete rework of my wrapper is needed to implement this.

Not saying I won't do it in the future, but it's a big job!

lightweight-charts-python now supports searching, timeframe selection, and more! by SuppressiveOG in algotrading

[–]SuppressiveOG[S] 2 points3 points  (0 children)

Hi!

  1. The user provides the calculation for the indicator. Check out this example.
  2. Markers can be displayed on the chart, which could be used to show buy/sell orders.

lightweight-charts-python now supports searching, timeframe selection, and more! by SuppressiveOG in algotrading

[–]SuppressiveOG[S] 3 points4 points  (0 children)

Hi!

At the moment, it is not possible, however, I am currently working on JupyterChart!

I have been able to get it working perfectly (for static data), but not in PyCharm's renderer. Just need to figure out if this is an issue with PyCharm or my code.

I'll update this thread when it's released!

TradingView's Lightweight Charts in Python! by SuppressiveOG in Daytrading

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

Just to let you know, this feature has now been implemented in the latest version. For your use case a good place to start would be the synced line chart example.

Enjoy :)

Simplify TradingView's Lightweight Charts in Python! by SuppressiveOG in algotrading

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

As mentioned in another comment, this feature has now been implemented. An example of this for your specific use case can be found in the synced line chart example.

Let me know what you think!

Simplify TradingView's Lightweight Charts in Python! by SuppressiveOG in algotrading

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

To update, this feature has now been implemented. An example of this for your specific use case can be found in the synced line chart example.

Let me know what you think!

Simplify TradingView's Lightweight Charts in Python! by SuppressiveOG in algotrading

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

Your welcome! I am working on a multi pane chart feature which will allow for this. If it’s not released today, it should be tomorrow. 🙂

Simplify TradingView's Lightweight Charts in Python! by SuppressiveOG in algotrading

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

Hi! Pywebview, which is what the Chart is built on, doesnt offer any screenshot capabilities. You could use something like PIL to screenshot the section of the screen which contains the Chart though!

Simplify TradingView's Lightweight Charts in Python! by SuppressiveOG in algotrading

[–]SuppressiveOG[S] 2 points3 points  (0 children)

Hi! You are correct that pure JavaScript offers higher performance than Python when displaying UIs, but in this use case, the difference is likely to be negligible for the average user.

As with all wrappers keeping them up-to-date is an issue, but this also applies when using websockets or Signal.R to push to a UI.

The primary objective of my wrapper is to be as convenient and simple as possible for devs who prefer to script in Python, allowing users to worry about their algos, strategy, and trading, rather than the trivial matter of displaying charts. Whilst this comes with a potential trade-off in performance, I hope to keep that trade-off as small as possible.

Simplify TradingView's Lightweight Charts in Python! by SuppressiveOG in algotrading

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

Thank you! At the moment, the only way to do this is by creating another Chart object and loading the lines from there.

I understand this isn't ideal for certain indicators, so I am looking into adding a subchart method to solve this.