NexusFi: Find Your Edge


Home Menu

 





API for futures io


Discussion in Feedback and Announcements

Updated
      Top Posters
    1. looks_one Big Mike with 9 posts (6 thanks)
    2. looks_two trendisyourfriend with 3 posts (6 thanks)
    3. looks_3 bwolf with 1 posts (3 thanks)
    4. looks_4 Silver Dragon with 1 posts (0 thanks)
    1. trending_up 1,098 views
    2. thumb_up 15 thanks given
    3. group 6 followers
    1. forum 13 posts
    2. attach_file 3 attachments




 
Search this Thread

API for futures io

  #1 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,463 since Jun 2009
Thanks Given: 33,239
Thanks Received: 101,662

Hi guys,

I have a new API to announce! More than 11 years ago we launched the original, now deprecated, API here:



There is a lot of great info in that thread, but I wanted to avoid confusion due to us deprecating that API a few years back and us now re-launching a new API for everyone to use.

I'll be posting more shortly...

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:

Can you help answer these questions
from other members on NexusFi?
What broker to use for trading palladium futures
Commodities
About a successful futures trader who didn´t know anyth …
Psychology and Money Management
Trade idea based off three indicators.
Traders Hideout
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
How to apply profiles
Traders Hideout
 
  #2 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,463 since Jun 2009
Thanks Given: 33,239
Thanks Received: 101,662

These are the initial features I've implemented so far:



I know I need to add more before going live -- I am seeking your feedback.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #3 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,463 since Jun 2009
Thanks Given: 33,239
Thanks Received: 101,662


An example:

Request (I am user 1, but I can request any id):
https://nexusfi.com/api/v1/user/1

Result:



This is the info I am making public. What do you think?

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #4 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,463 since Jun 2009
Thanks Given: 33,239
Thanks Received: 101,662

Another example:

https://nexusfi.com/api/v1/forum/24



What do you think?

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #5 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,463 since Jun 2009
Thanks Given: 33,239
Thanks Received: 101,662

I want to hear feedback so I am going to pick on @bwolf and @Silver Dragon, and ask them to speak up. Let me know what you think is missing from this API so that developers can implement it and create some creative new tools.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
  #6 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,463 since Jun 2009
Thanks Given: 33,239
Thanks Received: 101,662

Here is some rudementary documentation (thanks ChatGPT) thus far. I realize authentication is not documented, this is because this is not yet public (although functional).


Quoting 
API Documentation
endpoints
/api/v1/user/{userId}
method: GET

description: Retrieve user profile info

parameters: userId: The ID of the user

/api/v1/thread/{forumId}/{title}
method: POST

description: Create a new thread

parameters: forumId: The ID of the forum, title: The title of the thread

/api/v1/post/{threadId}/{userId}/{pageText}
method: POST

description: Create a new post in a thread

parameters: threadId: The ID of the thread, userId: The ID of the user creating the post, pageText: The text content of the post

/api/v1/forum/{forumId}
method: GET

description: Retrieve list of forums

parameters: forumId: The ID of the forum

/api/v1/threads/{forumId}
method: GET

description: Retrieve the thread titles and threadid from forumid

parameters: forumId: The ID of the forum

general
rateLimit: A maximum of 10 requests are allowed per 10 minutes.

authentication: All requests must include an API key in the X-API-KEY header.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #7 (permalink)
 
bwolf's Avatar
 bwolf 
Los Angeles, CA
 
Experience: None
Platform: NT8, TOS, Tradingview, BH
Broker: Ninjatrader
Trading: ES
Posts: 258 since Aug 2019
Thanks Given: 682
Thanks Received: 564


Big Mike View Post
I want to hear feedback so I am going to pick on @bwolf and @Silver Dragon, and ask them to speak up. Let me know what you think is missing from this API so that developers can implement it and create some creative new tools.

Mike

Hi Mike,

Thanks for asking. This is a bit outside of my area of expertise, but here are some suggestions, following in the mode of your initial ones up top. Let me know if this is what you had in mind.



'updatePost' - Updates a specific post by the authenticated user. This is particularly useful for editing or clarifying information in the post.

'deletePost' - Allows users to delete their own posts. This could be helpful in case of errors or if a user changes their mind about a post.

'searchThreads' - Allows users to search through the threads based on keywords or phrases. This can be beneficial for users to find specific content within the community.

'getThread' - Retrieves a specific thread with all its posts and user comments. This would enable applications to present the entire conversation for a specific topic.

'getThreadsByUser' - Retrieve all threads started by a specific user. This would be useful for users who want to follow the content created by particular traders.

'createPoll' / 'voteInPoll' - Functionality to create a poll within a thread and vote in a poll. This could be useful for traders to get community opinion on certain topics.

'getPrivateMessages' / 'sendPrivateMessage' - Retrieve and send private messages from the user. This can facilitate one-on-one conversations between traders.

'getUserActivity' - Retrieves a user's activity like their posts, threads, reactions etc. This is useful to see the contribution of a user in the community.

'getNotifications' - Retrieves the notifications for the authenticated user. This would include information like replies to their threads, likes on their posts, new followers, etc.

'getLatestThreads' / 'getTrendingThreads' - Retrieve the most recent or popular threads. This is a great way for traders to stay updated on what's new or trending in the community.

'followUser' / 'unfollowUser' - These endpoints would allow a user to follow or unfollow another user, thereby adding a social aspect to the API.

'getWebinars' / 'registerForWebinar' - Retrieve information about upcoming webinars and register for them.



Best regards,
Wolf.

You can't outsource confidence in trading decisions
Visit my NexusFi Trade Journal Reply With Quote
Thanked by:
  #8 (permalink)
 
Big Mike's Avatar
 Big Mike 
Manta, Ecuador
Site Administrator
Developer
Swing Trader
 
Experience: Advanced
Platform: Custom solution
Broker: IBKR
Trading: Stocks & Futures
Frequency: Every few days
Duration: Weeks
Posts: 50,463 since Jun 2009
Thanks Given: 33,239
Thanks Received: 101,662


bwolf View Post
Hi Mike,

Thanks for asking. This is a bit outside of my area of expertise, but here are some suggestions, following in the mode of your initial ones up top. Let me know if this is what you had in mind.



'updatePost' - Updates a specific post by the authenticated user. This is particularly useful for editing or clarifying information in the post.

'deletePost' - Allows users to delete their own posts. This could be helpful in case of errors or if a user changes their mind about a post.

'searchThreads' - Allows users to search through the threads based on keywords or phrases. This can be beneficial for users to find specific content within the community.

'getThread' - Retrieves a specific thread with all its posts and user comments. This would enable applications to present the entire conversation for a specific topic.

'getThreadsByUser' - Retrieve all threads started by a specific user. This would be useful for users who want to follow the content created by particular traders.

'createPoll' / 'voteInPoll' - Functionality to create a poll within a thread and vote in a poll. This could be useful for traders to get community opinion on certain topics.

'getPrivateMessages' / 'sendPrivateMessage' - Retrieve and send private messages from the user. This can facilitate one-on-one conversations between traders.

'getUserActivity' - Retrieves a user's activity like their posts, threads, reactions etc. This is useful to see the contribution of a user in the community.

'getNotifications' - Retrieves the notifications for the authenticated user. This would include information like replies to their threads, likes on their posts, new followers, etc.

'getLatestThreads' / 'getTrendingThreads' - Retrieve the most recent or popular threads. This is a great way for traders to stay updated on what's new or trending in the community.

'followUser' / 'unfollowUser' - These endpoints would allow a user to follow or unfollow another user, thereby adding a social aspect to the API.

'getWebinars' / 'registerForWebinar' - Retrieve information about upcoming webinars and register for them.



Best regards,
Wolf.

Thank you Wolf. getThread is implemented, the rest are good ideas that will take some time to implement but appreciate the feedback.

Mike

We're here to help: just ask the community or contact our Help Desk

Quick Links: Change your Username or Register as a Vendor
Searching for trading reviews? Review this list
Lifetime Elite Membership: Sign-up for only $149 USD
Exclusive money saving offers from our Site Sponsors: Browse Offers
Report problems with the site: Using the NexusFi changelog thread
Follow me on Twitter Visit my NexusFi Trade Journal Started this thread Reply With Quote
Thanked by:
  #9 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,527 since Oct 2009
Thanks Given: 4,176
Thanks Received: 6,020

Here are some innovative ideas for your trading forum API, integrating database functionality and code interpretation:

'getMarketData':
Retrieves real-time or historical market data, including stock prices, exchange rates, commodities, indices, and other relevant financial data. Users can specify the instrument, time range, and data granularity.

'getTechnicalIndicators':
Provides access to a wide range of technical indicators, such as moving averages, RSI (Relative Strength Index), MACD (Moving Average Convergence Divergence), Bollinger Bands, and more. Users can apply these indicators to market data and generate insights.

'getMarketSentiment':
Retrieves sentiment analysis data or social media trends related to specific stocks, currencies, or other financial instruments. Users can analyze market sentiment and gauge the overall mood of traders.

'backtestStrategy':
Enables users to backtest their trading strategies using historical market data. Users can define their strategy using code and simulate its performance over a specific period, providing insights into potential profitability.

'optimizeStrategy':
Allows users to optimize their trading strategies by running simulations with different parameters. Users can define optimization ranges for specific indicators or variables and find the optimal values that maximize their strategy's performance.

'getTradingSignals':
Provides pre-built trading signals based on various technical indicators or custom algorithms. Users can subscribe to specific signals or receive notifications when trading opportunities arise.

'executeTrade':
Enables users to execute trades programmatically through your API. Users can provide the necessary parameters (e.g., instrument, quantity, order type) to execute buy/sell orders automatically based on their trading strategies.

'generatePortfolioAnalytics':
Calculates portfolio performance metrics, such as returns, risk measures (Sharpe ratio, standard deviation), and asset allocation. Users can analyze the performance and composition of their portfolios.

'getNewsFeed':
Retrieves relevant news articles or headlines related to specific stocks or financial markets. Users can stay informed about the latest developments and news impacting their trading decisions.

'createWatchlist':
Allows users to create and manage personalized watchlists of stocks or financial instruments they want to monitor closely. Users can add/remove instruments, track prices, and receive notifications when significant changes occur.

'simulateMarketScenarios':
Enables users to simulate different market scenarios by modifying parameters such as interest rates, volatility, or macroeconomic factors. Users can assess the potential impact of these scenarios on their trading strategies.

'communityInsights':
Provides access to aggregated insights and patterns generated from the collective trading data and activities of forum users. Users can gain valuable insights from the wisdom of the crowd and identify potential trading opportunities.

By incorporating these features, you can create a powerful and innovative trading forum API that offers valuable tools, data, and analytics for traders to make informed decisions and optimize their trading strategies.

Reply With Quote
Thanked by:
  #10 (permalink)
 
trendisyourfriend's Avatar
 trendisyourfriend 
Quebec Canada
Market Wizard
 
Experience: Intermediate
Platform: NinjaTrader
Broker: AMP/CQG
Trading: ES, NQ, YM
Frequency: Daily
Duration: Minutes
Posts: 4,527 since Oct 2009
Thanks Given: 4,176
Thanks Received: 6,020


Here are some additional commands that could enhance the functionality and usability of your forum API:

'searchThreads':
Allows users to search for threads based on specified keywords or filters, such as forum, user, date range, or tags.

'getThread':
Retrieves detailed information about a specific thread, including the thread title, content, author, creation date, last update date, and associated tags.

'getThreadPosts':
Retrieves a list of posts within a specific thread, including the post content, author, creation date, and any associated metadata.

'updatePost':
Updates the content of an existing post. Users can provide the post ID and new content to modify a specific post.

'deletePost':
Allows users to delete a specific post by providing the post ID. Proper authorization and permissions should be implemented to ensure data integrity.

'getUserThreads':
Retrieves a list of threads created by a specific user, allowing users to easily view their own threads or monitor the activity of other users.

'getUserPosts':
Retrieves a list of posts made by a specific user, enabling users to track their own contributions or explore the posts of other users.

'getPopularThreads':
Returns a list of the most popular or trending threads based on factors such as views, replies, or likes. This can help users discover popular discussions on the forum.

'markThreadAsRead':
Allows users to mark a thread as read, indicating that they have viewed its content. This feature can be useful for tracking unread threads or implementing read/unread indicators.

'getUserNotifications':
Retrieves a list of notifications for a specific user, including mentions, replies, likes, or other relevant activities within the forum.

'subscribeToThread':
Enables users to subscribe to a specific thread and receive notifications when new posts or updates are made. This helps users stay engaged with ongoing discussions.

'reportPost':
Provides a mechanism for users to report inappropriate or spam posts. This command can be used to flag content that violates forum rules or guidelines.

Reply With Quote
Thanked by:




Last Updated on June 24, 2023


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts